ZQ520 Android Bluetooth pairing using predefined PIN

// Expert user has replied.
A Adil Akram 3 years 6 months ago
42 3 0

We're using RW420 printer to print receipt from an Android app.
We've configured a predefined Bluetooth PIN in printer and same we're passing from our Android app to pair and print automatically.
 
Now with ZQ520 printer every time it need to pair user need to press Accept button on printer to print.
 
How can I make ZQ520 printer to pair automatically through our Android app.

Please Register or Login to post a reply

3 Replies

G Gregory Pawlik

Hi Adil,

Does your app use the Link-OS™ Multiplatform SDK | Zebra ?

It has BluetoothConnectionInsecure class that establishes an insecure Bluetooth connection to the printer.
Insecure Bluetooth connections do not require the devices to be paired, thus you can print to the ZQ520 without having to press the accept button on the printer.

Greg

Y Yanis Dalabiras

Hello Adil, Which Android device are you developing for? If it is a Zebra Android device, you may be able to make use of the EMDK for Android's  Scan And Pair API.   Here is a tutorial to walk through the process, it doesn't exactly match your use case, but it should provide enough info to get you started.

A Adil Akram

Hi Bill,
I'm printing using Samsung Galaxy Note 3 device running Android version 5.x (Lollipop)

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