Error sending message [D440010000] (0,5) => []
heydre opened this issue · comments
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
Thanks for the info. There was a similar issue with Android 2.3.x.
Do you have ICS or GB?
Thanks for response. I'm using a Samsung Galaxy Nexus with ICS 4.0.4.