DOIT.AM
®
User Manual for TTL-WiFi DT-06
Shenzhen Doctors of Intelligence & Technology Co., LTD (www.doit.am) Copyright@2014-2017 Page
18
Table 4. 2built-in AT command set
Data direction
Command(ASCII string)
meaning
STA status check
MCU->WiFi module
AT+STASTATUS
Check the STA status
WiFi module->MCU
STA:OK
WiFi modle replies STA
successful connection
WiFi module->MCU
STA:DOWN
WiFi module replies STA
connection is closed
Get IP and MAC at STA mode
MCU-> WiFi module
AT+STAINFO
Get IP and MAC from WiFi
module
WiFi module->MCU
Mac|IP, for example
5CCF7F116380|192.168.1.
125
Get the MAC and IP at STA mode
Check the connection status at TCP Client mode
MCU-> WiFi module
AT+TCPCLIENT
Check the connection status at
TCP Client mode, and no meaning
at other modes.
WiFi module->MCU
TCP: OK
TCP client is already connected
WiFi module->MCU
TCP: OFF
TCP client is off the connection
Restart module
MCU->WiFi module
AT+RST
Restart WiFi module
WiFi module->MCU
RST: OK
Immediately reply when received
the command
Restore the factory setting
MCU->WiFi module
AT+RESTORE
Immediately reset after WiFi
restores
WiFi module->MCU
RESTORE: OK
Immediately reply when received
the command
Take a example
Step 1:
use a USB-TTL module to connect TTL-WiFi module, and then open the corresponding
serial port, and press the RST button to restart the board.
Step2:
send “AT+STASTATUS” to check the connection of STA.