发表于:2006-02-17 16:22:00
楼主
分享:SIM300与G20互传数据
硬件:MOTOROLA G20, SIMCOM SIM300, PC机(串口调试,超级终端),AT指令
只写精髓了啊:
SIM300 AT:
/////////////////////////////////////////////////
at+cipcsgp=1,"cmnet"
OK
at+clport?
TCP: 2020
UDP: 3030
OK
at+clport="tcp","1234"
OK
at+clport?
TCP: 1234
UDP: 3030
OK
at+cipserver
OK
SERVER OK
at+cifsr
10.31.17.129
REMOTE IP: 10.31.0.56DDDDEFGH
at+cifsr
10.31.17.129
/////////////////////////////////////////////////
G20 AT:
/////////////////////////////////////////////////
at+mipcall=1,"cmnet"
OK
+MIPCALL: 10.31.0.56
at+mipcall?
+MIPCALL: 1,10.31.0.56
OK
at+mipopen=1,1111,"10.31.17.129",1234,0
OK
+MIPOPEN: 1,1
at+mipopen?
+MIPOPEN: 2,3,4
OK
at+mipsets=1,340
+MIPSETS: 0
OK
at+mipsets?
+MIPSETS: 1,340
OK
at+mipsend=1,"4444"
+MIPSEND: 1,1370
OK
at+mippush=1
+MIPPUSH: 0
OK
at+mipsend=1,"444445464748"
+MIPSEND: 1,1366
OK
at+mippush=1
+MIPPUSH: 0
OK
at+mipcall?
+MIPCALL: 1,10.31.0.56
OK
/////////////////////////////////////////////////
不用注释吧,有需要解释的朋友,请提问,我尽力回答。