Checking Network Registration; Sending And Receiving Data; Connecting Device To Tcp Server As Tcp Client; Configuring Device As Udp Listener To Accept Udp Client Connections - Multitech MultiConnect Cell 100 Series MTC-EV3 User Manual

Table of Contents

Advertisement

Checking Network Registration

Before establishing a packet data connection, verify the is device registered on the network. To do this enter the
network registration report read command:
AT+CREG?
If the device returns:
+CREG: 0,1
The device is registered.
If the device returns:
+CREG: 0,2
The device is in a network searching state.

Sending and Receiving Data

Connecting Device to TCP Server as TCP Client

1.
Bring up Data Connection Using Internal IP stack
Enter:
AT#SGACT=1,1
The device responds with the IP Address the cellular provider assigned to the device on connection,
followed by OK. For example:
#SGACT: 25.194.185.116
OK
Closing the Socket and the Connection
To close the socket:
Enter the escape sequence:+++
To close Socket 1, enter: AT#SH=1
The device responds with OK.
To close the data connection:
Enter: AT#SGACT=1,0
The device responds with OK.

Configuring Device as UDP Listener to Accept UDP Client Connections

To configure the device as a UDP client:
1.
Check signal strength.
Enter:
AT+CSQ
2.
Verify device is registered on the cellular network.
®
MultiConnect
Cell 100 Series MTC-EV3 User Guide
CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
19

Advertisement

Table of Contents
loading

Table of Contents