EasyManua.ls Logo

Multitech MTC-MAT1-B01 - Configuring Device as UDP Client to Connect to UDP Server

Multitech MTC-MAT1-B01
43 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
MultiConnect
®
Cell MTC Cat M1 User Guide 35
SRING: 1
7. Accept incoming connection ID 1
Enter:
AT#SA=1
The device indicates a client successfully established a listener connection.
CONNECT
The device can send and receive data now.
Exit Data Mode and Close Connection
To exit data mode and close the socket:
1. Enter the escape sequence:
+++
2. To close Socket 1, enter:
AT#SH=1
The device responds with OK.
3. To close the data connection, enter:
AT#SGACT=3,1
The device responds with OK.
Configuring Device as UDP Client to Connect to UDP Server
Configure and Connect the Device
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+CEREG?
Should return:
AT+CEREG?: 0,1
OK
3. Configure socket parameters
Enter:
AT#SCFG=1,3,300,240,600,50
4. Activate context one
Enter:
AT#SGACT=3,1
5. Create UDP connection to Server port
Enter:
AT#SD=1,1,####,"###.##.###.##"
where #### is the server port and ###.##.###.## is the IP number.

Table of Contents

Related product manuals