5 Replies Latest reply on Mar 14, 2019 7:44 AM by Miguel Melo

    ZQ610 won't hold BT connection to Android

    Miguel Melo

      I have been trying to get the cordova plugin at cordova-plugin-zebra-printer 2.0.1 on npm - Libraries.io  to work with a ZQ610. I believe for this (and just about all cordova plugins that I could find for Zebra printers) your phone has to connect to the printer by Bluetooth (and not just on the same WLAN), right?

       

      The problem is, if I pair the printer to my Android, after successful doing so the printer just seems to disappear from the phone connections after maybe a second (the bluetooth icon flashes on the LCD and then goes out). Interestingly enough, the Printer Setup app DOES connect to the printer (reportedly via Bluetooth)!

       

      I have flashed the latest firmware (V85.20.15Z) and have tried explicitly switching off wifi as explained here - Zebra Printer does not maintain a Bluetooth connection but to no change. Printer Setup is OK, Android system BT connection disappears.

       

      Have I got something completely wrong in my thought process? Thanks in advance for any help.

        • Re: ZQ610 won't hold BT connection to Android
          Dmitry Prokhorov

          Hello Miguel,

           

          I suppose your BT connection is ok as far as your Printer Setup app is able to communicate with your printer.

           

          The fact your printer is not listed anymore in a list of available BT devices may mean it is already paired with your device and not available for pairing until you unpair current pairing. Bluetooth icon flashes may mean BT activity events and not BT connection/pairing status.

           

          Dmitry Prokhorov

          Software Engineer, Kutir Mobility

          Posted on behalf of Zebra Technologies

            • Re: ZQ610 won't hold BT connection to Android
              Miguel Melo

              Hi Dmitry,

               

              Thank you for your answer. I see what you're saying but

              1. Should the printer NOT stick around the connected devices like the Bose headphones do? (see below - interestingly enough, the N8 Rob phone also disappears after a while like the printer)
                Screenshot_20190304-163433.png
              2. The ZQ610 manual says (page 40) that the icon "Indicates Bluetooth® connection status. The icon will blink to show that the printer is receiving label data via Bluetooth, and is solid blue when link is established". With me it blinks while pairing, and then goes out permanently.

               

              So, in a nutshell, either (a) the printer does not connect sustainably or (b) it can connect (but very differently from headphones) and then the problem is the enumeration of the printer using cordova (it just doesn't show up).....

            • Re: ZQ610 won't hold BT connection to Android
              Steven Si

              The problem is, if I pair the printer to my Android, after successful doing so the printer just seems to disappear from the phone connections after maybe a second (the Bluetooth icon flashes on the LCD and then goes out).

              There is a difference between "paired" and "connected" in Bluetooth. The paired simply means that the phone and the printer have exchanged the pairing info of the Bluetooth. The paired doesn't mean the Bluetooth is connected. That's the reason the Bluetooth icon on the printer flashes for a few seconds and then disappears after the pairing. The pairing is handled by the Android. A printer can pair with multiple Android phones.

               

              For the connection, it's done through the application's by making a Bluetooth connection to the printer. A printer can only be connected to one Android phone. Depending on how application behaves, the Bluetooth icon on the printer may stay permanently or briefly. On Android, when the application is idle long enough or being sent to background, the Bluetooth connection might be relinguished. Therefore, we would see the Bluetooth icon on the printer disappears. On iOS, due to the reconnect feature, we would see the Bluetooth icon on the printer stay permanently.

               

              For the headphone case, it's a different story. The headphone uses A2DP Bluetooth profile. For A2DP, the Bluetooth is always connected. Hope this helps.

              1 of 1 people found this helpful
                • Re: ZQ610 won't hold BT connection to Android
                  Miguel Melo

                  Makes perfect sense, thanks!

                   

                  As a followup, I was able to send to the printer using the aforementioned cordova plugin by hardwiring the BT MAC address in the call to window.cordova.plugins.zbtprinter.print(). Somehow the call to window.cordova.plugins.zbtprinter.find() isn't enumerating the printers and that's why the printing didn't go any further... :-)