TCP服务端

监听3838端口,需要一个链接池
消息格式:id,type,time,data

47.52.169.192:3838

AT+CSQ
+CSQ: 15,0

AT+CIPSTATUS
STATE: IP INITIAL

AT+CIPSTART="TCP","mikuq.com","3838"
CONNECT OK

AT+CIPSEND=5

12345
SEND OK
CLOSED (20s)
SEND FAIL

AT+CIPSTATUS
STATE: TCP CLOSED

AT+CIPSEND=11

I am a cat!

AT+CSQ
AT+CIPSTART="TCP","mikuq.com","3838"
AT+CIPSEND=42

01,gps,20181108002959,116.270055,40.115044

标签: none

添加新评论