Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very long timeout when trying to print with printer disconnected via Bluetooth #5

Open
ralfebert opened this issue Apr 8, 2020 · 0 comments

Comments

@ralfebert
Copy link

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:

converted

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.

@ralfebert ralfebert changed the title Very long timeout when trying to print with disconnected printer Very long timeout when trying to print with printer disconnected via Bluetooth Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant