Slow bluetooth connection on ConnectionBuilder.Build

// Expert user has replied.
J Jung Choong Young 3 years 5 months ago
10 1 0

Hi, I am using Xamarin to create mobile app to print something on a Zebra Mobile Printer ZQ320. In my source code, I did use "ConnectionBuilder.Current.Build ("MAC Address")" to establish the connection among my mobile and the printer. However, I noticed that the single line of code took almost 10 seconds to be completed. Is that a normal time taken to connect the printer? Is there any method to make it faster? Thank you.

Please Register or Login to post a reply

1 Replies

S Steven Si

Are  you using latest Link-OS SDK for Xamarin? Make sure to get the latest version from the Nuget.
The ConnectionBuilder.Current.Build() should return fairly quickly. It's job is to open a connection, nothing else. Make sure the printer's Bluetooth has already paired with the Android device.

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