6 Replies Latest reply on Nov 21, 2016 11:32 AM by Peter Douglas

    Error writing to connection: Broken pipe

    Peter Douglas

      Hi!

      I occasionally run into an issue where my Android is apparently paired (verified by looking in Android settings, and also had just accepted via the dialog on both the TC70 and the QLn320). Also, the Link.OS connection is connected and open (similar to below):

      if (connection != null)
      {
         if (!connection.IsConnected)
             connection.Open ();

       

      But when sending a connection.Write command, I receive an error:

      Message: Error writing to connection: Broken pipe

       

      Part of the stack trace:

      at Zebra.Sdk.Comm.ConnectionA.Write (System.Byte[] p0) [0x0005c] in C:\repos\xamarin-sdk\Binding          Libraries\ZSDK_ANDROIDX\ZSDK_ANDROIDX\obj\Release\generated\src\Zebra.Sdk.Comm.ConnectionA.cs:921

      at LinkOS.Plugin.ConnectionImplementation.Write (System.Byte[] data) [0x00000] in C:\repos\xamarin-sdk\Link_OS_SDK_for_Xamarin_Portable\LinkOS\LinkOS.Plugin.Android\ConnectionImplementation.cs:162

       

      Any suggestions on how to handle this smoothly? Thanks!