You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after establishing a connection between smartphone and acr-reader i regularly get this error message after some seconds: Error sending message D440010000 => []
I don't know what this causes, but i got a much more stable connection by putting a sleep in the onConnection method in LlcpOverNfcip while waiting for new messages to be send. In other words, instead of permanently sending empty messages i just wait for some milliseconds if there is no job to do.
Pseudo code:
onConnection(NFCIPConnection connection) throws IOException {
...
while (!Thread.interrupted()) {
if CurrentlyNoMessageToSend then
SleepFor500ms
...
}
Best regards,
Björn
The text was updated successfully, but these errors were encountered:
Dear Adrian,
after establishing a connection between smartphone and acr-reader i regularly get this error message after some seconds: Error sending message D440010000 => []
I don't know what this causes, but i got a much more stable connection by putting a sleep in the onConnection method in LlcpOverNfcip while waiting for new messages to be send. In other words, instead of permanently sending empty messages i just wait for some milliseconds if there is no job to do.
Pseudo code:
onConnection(NFCIPConnection connection) throws IOException {
...
while (!Thread.interrupted()) {
if CurrentlyNoMessageToSend then
SleepFor500ms
...
}
Best regards,
Björn
The text was updated successfully, but these errors were encountered: