AnsweredAssumed Answered

Command Mode for Server Socket

Question asked by Mr_E on Oct 14, 2016
Latest reply on Oct 16, 2016 by Gerardo Gallucci
I have a server socket that automatically goes into data mode when a client connects.

I would like to be able to go back to command mode by using the escape sequence "at+s.", but it doesn't work, even if I set a custom escape sequence.

#  nv_manuf = ST
#  nv_model = SPWF01SA1
#  version = 160129-c5bf5ce-SPWF01S

Specifically: the client sends me new WIFI config info. SSID, etc.  I'd like to read each item, have the main processor set that option on the WiFi module, then echo back the reply to the client.  I know I can read data on a socket while in command mode.  The question is will a server socket allow command mode?