当做为服务端时,测试过程,
AT^SICS=0,conType,GPRS0
OK
AT^SICS=0,apn,cmnet
OK
AT^SISS=1,srvType,socket
OK
AT^SISS=1,conId,0
OK
AT^SISS=1,address,"socktcp:// listener:1000"
OK
AT^SISO=1
OK
at^siso?
^SISO: 0, ""
^SISO: 1, "Socket","3","3","0","0","10.219.100.143:1000","0.0.0.0:0"
^SISO: 2, ""
^SISO: 3, ""
^SISO: 4, ""
^SISO: 5, ""
^SISO: 6, ""
^SISO: 7, ""
^SISO: 8, ""
^SISO: 9, ""
OK
可以看到有分配到GPRS内网IP。
重上电模块
做为客户端时测试过程:
at^sics=0,conType,GPRS0
OK
at^sics=0,apn,cmnet
OK
at^siss=1,srvType,socket
OK
at^siss=1,conId,0
OK
at^siss=1,address,"socktcp:// 116.30.172.39:6000"