Checking Network Registration For Ev2 And C2; 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 User Manual

Hide thumbs Also See for MultiConnect Cell:
Table of Contents

Advertisement

Checking Network Registration for EV2 and C2

To verify that a device is registered on the network, enter:
AT!STATUS
The device returns several lines of modem status information. The second to last line indicates either:
Modem has registered.
or
Modem has NOT registered.

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.
Enter:
AT!STATUS
3.
Configure socket parameters
®
MultiConnect
Cell User Guide
CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents