Sending And Receiving Data; Connecting Device To Tcp Server As Tcp Client - Multitech MultiConnect MicroCell MTCM-LAT3 User Manual

Hide thumbs Also See for MultiConnect MicroCell MTCM-LAT3:
Table of Contents

Advertisement

The device is registered.
If the device returns:
+CEREG: 0,2
The device is in a network searching state.
If the device returns:
+CEREG: 0,3
The registration is denied.
If the device returns:
+CEREG: 0,0
The device is not currently attempting to register to a network.

Sending and Receiving Data

Connecting Device to TCP Server as TCP Client

To send data through a connect socket:
1.
Define PDP Content (APN for SIM)
Enter
AT+CGDCONT=1,"IPV4V6","APN_NAME"
where APN_NAME is the APN your cellular provider assigned to your SIM card.
The device responds with OK
2.
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
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:
®
MultiConnect
MicroCell MTCM-LAT3 and -LSP3 User Guide
CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MultiConnect MicroCell MTCM-LAT3 and is the answer not in the manual?

This manual is also suitable for:

Multiconnect microcell mtcm-lsp3

Table of Contents