EasyManua.ls Logo

Multitech MultiConnect Cell MTC-H5 - 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 MTC-H5
35 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
Enter:
AT+CSQ
2. Verify device is registered on the cellular network.
Enter:
AT!STATUS
3. Configure socket parameters
Enter:
AT#SCFG=1,1,300,240,600,50
4. Activate context one
Enter:
AT#SGACT=1,1
5. Create UDP connection to Server port
Enter:
AT#SD=1,1,####,"###.##.###.##" where #### is the server port and ###.##.###.## is the IP number.
The device responds with OK, which indicates a successful connection. You can send and receive data through the
socket connection.
Exit Data Mode and Close Connection
To exit data mode and 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
Enter:
AT#SCFG=1,1,300,240,600,50
4. Activate context one
Enter:
AT#SGACT=1,1
5. Set firewall rule to accept connections:
MultiConnect
®
Cell 100 Series MTC-H5 User Guide 25

Table of Contents

Related product manuals