Xamarin LinkOS Bluetooth connection not closed

// Expert user has replied.
Y Yi Yang Ang 3 years 7 months ago
3 1 0

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?

Please Register or Login to post a reply

1 Replies

M Manuel Caicedo-Rivera

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

CONTACT
Can’t find what you’re looking for?