Hello,
I am using WizFi250 modules to exchange udp packets with a server, known by its domain name.
I am using the latest beta 1.0.4.2, which supports the new AT+SDNAME command.
I could get it working by entering commands, but could not save all necessary settings in the profile
to allow correct setup at bootup.
I think the following is missing in the beta 1.0.4.2
- AT+SDNAME is not saved to the profile ?
- AT+WADNS is not saved to the profile ?
Is there a way to save these necessary settings in the profile,
so it can bootup and make the connection automatically ?
So this is what I could do by entering commands :
Setting up the profile : I set up the link with my access point, set up dns, set the target
and make udp client connection service :
I had entered such commands :
AT+MECHO=0
AT+WSET=0,mywifi
AT+WSEC=0,WPA2AE,mypassword
AT+WNET=1
AT+WJOIN
AT+WADNS=192.168.0.1
AT+SDNAME=myserver.mydomain
AT+SCON=SO,UCN,0.0.0.0,8666,8666,0
AT+MPROF=S
This seems to work :
AT+SMGMT=?
[color=#00FF00]Number of Sockets : 1 (SCID/Mode/Remote/Local/DataMode)
0/UCN/192.168.0.156:8666/8666/0
[OK][/color]
I can send data to my server :
AT+SSEND=0,5
random
[color=#00FF00][OK][/color]
and receive data back :
[color=#00FF00]{0,192.168.0.156,8666,8}somedata[/color]
That is good alright,but saving the settings to the profile and rebooting,
it does not resolve the DNS anymore :
AT+SMGMT=?
[color=#00FF00]Number of Sockets : 1 (SCID/Mode/Remote/Local/DataMode)
0/UCN/0.0.0.0:8666/8666/0
[/color]
Could this be included in a new beta ?
Thanks!
Serge