racine_20 wrote:About UDP proto, yes wifly module is totally capable
I discovered after reading your post that the user manual has been updated with the details about this--I must've missed that revision.
I propose to create functions for sending, receiving UDP packet just simply.
From looking at the documentation it seems like the data is just feed into/read from the UART so there might be some issues with being able to detect when packets end etc. I don't anticipate getting the time to work on this functionality in the near future but feel free to work on it yourself.
About method, such as "Get IP", your method is to fetch the result of wifly command "get wlan ip", char by char. And this method is very very slow, try to measure the time taken by your method,
By my timing it takes about half a second. Is this what you mean by slow?
Can you just call ip (or another data) directly in register of wifly module ?
Unfortunately all the interaction with the WiFly module is via the serial interface--there's no direct register communication. If you are running version 2.19 or later of the firmware you might be able to change the code to use the "get ip a" which sends less data. Increasing the serial speed might help too (not yet fully supported). But if half a second is too slow I don't anticipate those approaches being that much faster.