1 Reply Latest reply on Jan 17, 2017 3:04 PM by Manuel Caicedo-Rivera

    Xamarin LinkOS Bluetooth connection not closed

    Yi Yang Ang

      Hi, I am using LinkOS SDK on Xamarin by following this tutorial:

      Basic Xamarin Print Example

      The printing is working, but the bluetooth connection is not closed after printing. As a result, another phone cannot connect to the printer until I manually turn off bluetooth on Android or iOS.

       

      I did call the connection.close() method:

      finally
      {
           if (connection.IsConnected)
                connection.Close();
      }

       

      How should I close it?