WAVESHARE ELECTRONICS
WIFI232 User Manual
Page 27 of 81
4.3.3 AP+STA
WIFI232 module support AP+STA network mode, means module support one AP interface and
one STA interface at the same time, as following figure,
Figure 19
WIFI232 AP+STA Network Structure
When module enables AP+STA function, Module‟s STA interface can connect with router and
connect to TCP server in the network. At the same time, module‟s AP interface is also active and
permit phone/PAD to connect through TCPB, then phone/PAD can control user device and and
setting the module parameters,
The advantage of AP+STA mode is:
Users can easily setting and track user device through Phone/PAD and not change the
orginal network setting.
Users can easily setting
module‟s parameters through WiFi when module works as STA
mode.
AP+STA Mode Setting:
AP+STA mode need serial AT command to enable as follows:
AT+FAPSTA=on, Enable AP+STA mode;
Then, when you configure module works as STA mode, it‟s AP interface still active;
AP+STA Mode Notes:
When user enable
AT+STA function,the STA port need to keep connected with other
router(AP),
or STA port will have to scan the AP frequently ,which will affect AP port function and may cause
some date loss.
So ,if user confirm STA port can't connect with AP at some time,user can disable the STA scan
through the following command:
AT+STTC=on/off,on:Scan AP;off:No Scan AP.
After re-start module,this command not saved;
AT+FSTTC=on/off;
This command is saved after re-staring the module;