LinkOS Xamarin iOS bluetooth connectivity


I am having trouble connecting to ZQ520 via bluetooth using its MAC address. It is a Xamarin iOS project and the same piece of code works on Xamarin Android. The device I am using for testing is an iPhone XS running iOS 12.2. I keep getting the following error when I try to open a connection. I have updated info.plist according to the LinkOS guide.

Any help will be appreciated, thanks.

Submitted by SSi1 on June 13, 2019 Permalink

You cannot use MAC address to make a connection with iOS. For iOS, you have to use the name of the Bluetooth, which is the friendly_name on Zebra printers, in order to make a connection. The default value of the friendly_name is the Serial Number of the printer. The value can be changed and queried via the following SGD commands.
! U1 getvar "bluetooth"
! U1 setvar "bluetooth" "new_name"