Instructions

" " ! "
Espressif Systems
ESP8266
AT Instruction Set
34.
AT+CWSTARTDISCOVER – Start the mode that ESP8266 can be found by WeChat
The parameter of this command needs to be obtained from Espressif Cloud. After connecting to an AP
and obtaining an IP address, ESP8266 can be found by WeChat which is on the same LAN. !
WeChat : http://iot.weixin.qq.com !
35.
AT+CWSTOPDISCOVER – Stop the mode that ESP8266 can be found by WeChat
AT+CWSTARTDISCOVER
– Start the mode that ESP8266 can be found by WeChat which is on the same LAN
Example
AT+CWSTARTDISCOVER="gh_9e2cff3dfa51", "122475", 10
Command
AT+CWSTARTDISCOVER=<WeChat number>, <dev_type>, <time>
Response
OK
Parameters
<WeChat number> got from WeChat
<dev_type> got from WeChat
<time> time intervals after which ESP8266 sends packet, range: 0 ~ 24x3600,
unit : second.
0 : ESP8266 will not send packet, waiting for WeChat's detection.
Otherwise, it is the time interval that ESP8266 sends packet, so the WeChat
may find it easily.
Notes
ESP8266 station needs to connect to an AP and obtain an IP address first. This
command should be used after that so WeChat can find this ESP8266 device.
AT+CWSTOPDISCOVER
– Stop the mode that ESP8266 can be found by WeChat which is on the same LAN
Command
AT+CWSTOPDISCOVER
Response
OK
Espressif Systems / Friday, July 15, 201651 73