-
Notifications
You must be signed in to change notification settings - Fork 95
Error sending message [D440010000] (0,5) => [] #9
Copy link
Copy link
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels