wifi串口模块AT命令说明

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

1、检测模块:AT 返回OK

2、连接wifi

AT+CWJAP="360WiFi-JHD","12345677"

WIFI DISCONNECT

WIFI CONNECTED

WIFI GOT IP

OK

3、建立网络

4、发送数据

接收数据

后面没有任何别的字符

获得本机IP地址

建立TCP连接的情况

透传模式

AT

OK

AT+CIPSTART="TCP","192.168.252.1",9999

CONNECT

OK

AT+CIFSR

+CIFSR:STAIP,"192.168.252.14"

+CIFSR:STAMAC,"60:01:94:00:a3:99"

OK

AT+CIPMODE=1

OK

AT+CIPSEND

OK

> QQ:10865600 QQ:10865600 QQ:10865600 QQ:10865600 QQ:10865600 QQ:10865600

WIFI CONNECTED

WIFI GOT IP

AT+CIPMODE=1

OK

AT+CIPSTATUS

STATUS:2

OK

AT+CIPSTATUS

STATUS:2

OK

AT+CIPSTART="TCP","192.168.252.1",9999

CONNECT

OK

AT+CIPMODE=1

OK

AT+CIPSEND

OK

> QQ:10865600 QQ:10865600 QQ:10865600 QQ:10865600 QQ:10865600 QQ:10865600 QQ:10865600 QQ:10865600 QQ:10865600

相关文档
最新文档