I have build a robot which I can control from my laptop.
I use XBEE for the communication and all the communication goes over the Serial.
Every 600ms I send some data back to the laptop with information on the speed, location and sensors.
Everything works just fine however I do notice that whenever I try to send a message just as the Arduino is sending me some message, my message is lost.
Is there something I can do about this?
I could add some control message that the Arduino sends back whenever my laptop sends a command so my application knows that the message has been received. If Ido not get that message, I resend it.
Is there another thing I could do to resolve this problem?