The module have a little issue. When an application create an socket it get a random port for future income packets. Per example when GCS connect to a UDP "server" it will send the packet to a IP and a SERVER_PORT and get a its own port for where the server should send the messages. The problem is that the RN171 can't identify this port (it can....) so i write a little application that does a port forward between the CGS and module WiFi(RN171) because it only can list in one fix port and send data to another fix port. Problem resolved
Talked with the guys at Roving Networks (and they are really nice people) and they compile a firmware with the option to get the PORT from the first packet it receive so i don't need to run the little application anymore but now it get another problem. The RN171 save the first PORT and just reset it after reboot or it receive a specific command, so if you disconnect the GCS and connect again it could send data to CC but the data come from CC by RN171 will go to the first PORT reserve by GCS.
It is working but you need to choose if you prefer a little application running or if you prefer reset the board always you want to connect GCS to it.
A video of it working:
PS: If someone want to use this just tell me and I can post the code, commands needed, etc.



Portugal
United States
Germany
Argentina







