Sending And Receiving Data For Mvw1; Connecting Device To Tcp Server As Tcp Client - Multitech MTC-MAT1-B01 User Manual

Table of Contents

Advertisement

AT#FTPOPEN="###.##.###.#","username","password",0
where ###.##.###.# is the IP address and the username and password for the FTP server.
5.
Configure file transfer type.
Enter:
AT#FTPTYPE=#
where # is 0 for binary or 1 for ASCII.
6.
If required, change the working directory to "folder1".
Enter:
AT#FTPCWD="folder1"
7.
Enter the file name.
Enter:
AT#FTPGET="filename.txt"
where filename.txt is the file to download.
The device responds with:
CONNECT
The file is received through the device. The device responds with:
NO CARRIER
The data connection closes automatically when the file sending ends.
Closing the FTP Data Connection
After the file is sent:
1.
Close the FTP connection.
Enter:
AT#FTPCLOSE
2.
Close the PPP data connection.
Enter:
AT#SGACT=1,1
The device responds with OK.

Sending and Receiving Data for MVW1

Connecting Device to TCP Server as TCP Client

1.
Bring up Data Connection Using Internal IP stack
Enter:
AT#SGACT=3,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
2.
Create Client Connection to TCP Server on Port 500
Enter:
AT#SD=1,3,500,"###.##.###.##"
where ###.##.###.## is the TCP server IP Address.
®
MultiConnect
Cell MTC Cat M1 User Guide
CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
33

Advertisement

Table of Contents
loading

Table of Contents