I'm developing an app which connects one Android device with another device via SPP.
I have a problem on my connection: Lag.
My first communication gets an immediate response.
The next ones take more time because my Android device goes into a "Sniff Mode".
How can i get rid of this?
Edit: This is the 1st communication: 1stComm
This is the second one: 2ndComm
[Solved] I was sending more bytes to the device that I should. (i.e. had a byte array with 2000 bytes, message had 20 bytes, sent 20 bytes + 1980 zeros and the device got mad with those zeros).