连接方式:TCP
手机卡类型:中国电信
AT指令执行步骤:
------------------------------------------------------------------------
AT+MIPPROFILE=1, "CTNET"
OKAT+MIPCALL?
+MIPCALL:0
OK
AT+MIPCALL=1
+MIPCALL:1,100.64.143.252
+MIP:OK
OK
AT+MIPCALL?
+MIPCALL:1,100.64.143.252
OK
AT+MIPOPEN=1,6200,"222.224.180.122",6200,0 //socket, host port, remote ip, remote port, protocol.
+MIPOPEN=1,1
+MIP:OK
OK
AT+MIPOPEN?
+MIPOPEN:2,3,4,5,6,7,8,9,10 //all fd no use except fd 1.
OK
AT+MIPSEND=1,"313233" +MIPSEND:1,1497 //Send data to remote host.
OK
AT+MIPPUSH=1 //Push the data to remote
+MIP:OK
OK
============================================================================
//说明:
AP --> Remote 发送大于1500字节,一次接收
Remote --> AP 发送大于1500字节,分包接收,750,650,750,750 ......
=============================================================================