Sending And Receiving Data; Connecting Device To Tcp Server As Tcp Client - Multitech MultiConnect Cell 100 Series User Manual

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

Advertisement

or
AT+CEREG?: 0,5
The device is registered.
If the device returns:
AT+CEREG?: 0,2
The device is in a network searching state.

Sending and Receiving Data

Connecting Device to TCP Server as TCP Client

1.
AT+CGDCONT=1,"IPV4V6","apnname"
where apnname is the APN your cellular provider assigned to your SIM card.
2.
Bring up Data Connection Using Internal IP stack
Enter:
Verizon:
AT#SGACT=3,1
Other Networks:
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
3.
Create Client Connection to TCP Server on Port 500
Enter:
AT#SD=1,0,500,"###.##.###.##"
where ###.##.###.## is the TCP server IP Address.
The device responds with OK. The device can send or receive data now without entering additional
commands.
Closing the Socket and the Connection
To close the socket:
1.
Enter the escape sequence:
+++
2.
To close Socket 1, enter:
AT#SH=1
To close the data connection:
Enter:
Verizon:
AT#SGACT=3,0
Other Networks:
®
MultiConnect
Cell MTC-MNK1 User Guide
CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mtc-mnk1Mtc-mnk1-b01Mtc-mnk1-b03

Table of Contents