Configuring Device As Udp Listener To Accept Udp Client Connections - Multitech MultiConnect Cell 100 Series User Manual

Hide thumbs Also See for MultiConnect Cell 100 Series:
Table of Contents

Advertisement

CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
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:
Should return:
+CEREG: 0,1 or +CEREG: 0,5
OK
3.
Configure socket parameters
Enter:
AT#SCFG=1,3,300,240,600,50
4.
Activate context one
Enter:
Verizon:
AT#SGACT=3,1
Other Networks:
AT#SGACT=1,1
5.
Set firewall rule to accept connections:
AT#FRWL=1,"###.##.###.#","###.##.###.#"
where ###.##.###.# represents the IP range. For example:
AT#FRWL=1,"204.26.122.1","204.26.122.255"
6.
Set connection ID 1 for UDP listening mode on port 7000.
Enter:
AT#SLUDP=1,1,7000
The device responds with and unsolicited indication that a host is trying to connect to connection ID 1 on
port 7000.
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:
20
®
MultiConnect
Cell MTC-MNK1 User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mtc-mnk1Mtc-mnk1-b01Mtc-mnk1-b03

Table of Contents