When using Objective-C Link-OS for iOS, I have no problem to decrease the connection timeout to 2 seconds for my ZQ620.
Using Java for Android, the timeout is defaulting to 15 seconds, which is much longer than we need. I tried to use the API with the timeout features like so:
connection = new TcpConnection(printerIP, port, 1000, 500);
But when connection.open() is called, it still attempts for 15 seconds before I get a message saying connection failed.
How can I decrease the time? Thanks.
2 Replies
In Link-OS SDK for iOS, we can set the max timeout for open with setMaxTimeoutForOpen. In the Link-OS SDK for Android, unfortunately the max timeout for open is set to 15000ms and the user cannot change the timeout value for open. We will raise the issue to the engineering team.
We have the same problem on Link-OS SDK for C#. Is there any chance to get a quick fix? It is quite important for our use case!