
D120 DTU Modem Quick Start
E-Lins Technology Co.,Limited
Add:Bld22, Longxi Garden, Nonglin Road, Futian, Shenzhen, 518000, China
……
……
+++ //exit SerialNet mode
AT+iTUP=0 //disable the trigger up function
AT+iPARS //parameters save
Note: our test server: 218.108.22.22: 80 it will send 1 “ok” to client per minute
Socket mode
AT+iSTCP:ip,port //establish a tcp connection to the IP and port
I/(000) //000 is the Right connection handle
I/ERROR(075) //not logon cellular network,please checking Card and Signal quality
I/ERROR(207) //logon cellular network,But can’t connecting to TCP server programme,you should
to check firewall, IP Port and port listen if collide with them
AT+iSSND%:000, n:*******
//send a stream(******) to connect 000, length is (n),
AT+iSRCV: 000 //receive data from connection 000
AT+iSCLS: 000 //close the connection 000
Note: our test server: 218.108.22.22: 80 it will send 1 “ok” to client per minute
UDP Connect
SerialNet Mode
AT+iSTYP=1 //set UDP mode
AT+iHSRV=ip:port //set opposite IP and port
AT+iLPRT=port //set local port for listen
AT+iTUP=2 //always online
AT+iPARS //parameters save
AT+i!SNMD //switch to SerialNET mode (please must input this command after parameter save,
then the DTU modem will be into communication mode for work)
……
……
…… //communication
……
……
+++ //exit SerialNet mode
AT+iTUP=0 //disable always online function
Komentáře k této Příručce