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?
Xamarin LinkOS Bluetooth connection not closed// Expert user has replied. |
1 Replies
Hi Yi Yang,
Please, download the newer version of the Multiplatform SDK from the link below, and follow the new sample code for Xamarin. The new sample code closes the connection correctly.
Link-OS Multiplatform SDK | Zebra
You will find this into the following folder
C:\Program Files\Zebra Technologies\link_os_sdk\xamarin\v1.1.75\demos\src
Thanks,
MC