User's Manual

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.usriot.com
21
5.1.2.TCP Server Mode
TCP Server function needs to be test through an APN dedicated network card.
1 Set parameters by setup software:
Device works as TCP Server, and need to be filled in the IP and port of itself in"IP & Port".
2 Set by AT command:
1. Set the work mode to net transparent mode
AT+WKMOD=NET
2. Enable socket A
AT+SOCKAEN=ON
3. Set socket A as TCP Server, local port 2317, IP has no reference meaning in Server
AT+SOCKA=TCPS,test.usr.cn,2317
4. Set APN. E.g: APN:CMNET, username: empty, password: empty, authentication method: NONE:
AT+APN=CMNET,,,0
5. Reboot
AT+Z