robiz
February 10, 2016, 10:13am
1
Hi guys.
Network correctly joined, opening socket with command:
at+scon=SO,USN,,,8888,1
[CONNECT 0]
[OK]
…ok, works, I receive UDP packet from remote:
{0,192.168.37.55,56950,68}myRemoteUdpData;
…but I am still in Command Mode.
Performing command AT+SDATA returns error: [ERROR: Mode Status].
What’s wrong?!
Thanks.
hi
which firmware version did you use?
UDP data mode was operated normally when I tried the F/W 1.0.3.3 official version.
but upper version firmware didn’t operate a data mode in UDP.
Thank you for found the bug.
This bug will be fixed.
robiz
February 15, 2016, 7:51am
3
v1.0.3.3 is bugged
If I set it with webserver works fine, after reset UDP connection is automatically connected.
If I do it manually, does not work:
AT+SCON=SO,USN,8888,1
AT+MPROF=S
…reset…
join WiFi but still it command mode, without socket connected automatically:
AT+SCON=?
SO,USN,0.0.0.0,0,8888,1
[OK]
Socket is present but not connected; AT+SDATA does not work.
The only way is to redo all:
…reset…
AT+SMGMT=ALL <<–necessary
AT+SCON=SO,USN,8888,1
…now socket is connected and in data mode.
In brief, an UDP profile stored as SO,USN do not restarts automatically after reset.
robiz
February 15, 2016, 9:46am
4
The same problem if WiFi connection is lost and restored: the socket is not reconnected automatically.
Again, if I configure it with module’s webserver, works fine restoring connection automatically.