Chapter 7. Socket Commands
7.5
AT#OTCP
On-demand TCP socket connection.
ALLOWED: exec-state-info
AT#OTCP=(mode)
–
mode
•
0: TCP connection OFF
•
1: TCP connection ON
exec :
AT#OTCP=0
OK
Note: In the current implementation, “OK” means command is accepted. It does not mean that the device
is connected to the server. “CONNECT” should appear on the appropriate terminal (UART or USB) if
connection is successful.
state :
AT#OTCP?
#OTCP: 0
OK
info :
AT#OTCP=?
#OTCP: (0,1)
OK
7.6
AT#OUDP
On-demand UDP socket connection.
ALLOWED: exec-state-info
AT#OUDP=(mode)
–
mode
•
0: UDP connection OFF
•
1: UDP connection ON
exec :
AT#OUDP=0
OK
state :
M110 Series Cellular Modem mPACK Command Reference
32