Hi,
I bought the WiFi unit of Makeblock, and started using it and found out that it is working on UDP. What I also found out is that this protocol is very lossy. Therefore I wrote a small protocol to get the dat over in a secure way. What it does, my Python script sends a counter value with a command, this is received or not by the module. When it received the command it will send the same counter value and a character. The Python scripts try’s to receive it and times out if it did not receive the ack, and when timed out it will send the same command again.
But I got about 50 not ack packets of the 100 commands I try to send. so this is pretty low. Now my question is how should I use it? And is there an example on how to use it properly? Or can i change the UDP into TCP?
I hope someone can help me.
Thanx