LinkOS-iOS-Samples
LinkOS-iOS-Samples copied to clipboard
Very long timeout when trying to print with printer disconnected via Bluetooth
When I have a Zebra ZQ320 printer connected via Bluetooth on iOS 13.4, printing via the link-os SDK works fine. Now, when I am connected, and then turn off the printer, and then try to print, I'd expect it to recognize that the printer is gone after a few seconds. I even see the notification via the system EAAccessoryManager after a few seconds that the printer is gone. But instead, I see the ZebraPrinterFactory getting stuck/waiting for 2 minutes before it runs in a time out:
I saw that there are properties to configure the timeout on the connection (setMaxTimeoutForRead/setTimeToWaitForMoreData) but these seem to have no effect in this case.