Reading, Writing And Deleting Messages; Reading Text Messages - Multitech MT100UCC-EV3 Developer's Manual

Quickcarrie usb-e
Table of Contents

Advertisement

4.
Set FTP operations timeout to 10 seconds
Enter:
AT#FTPTO=1000
5.
Configure FTP server IP address with username and password.
Enter:
AT#FTPOPEN="###.##.###.#","username","password",0
where ###.##.###.# is the IP address and the username and password for the FTP server.
6.
Configure file transfer type.
Enter:
AT#FTPTYPE=#
where # is 0 for binary or 1 for ASCII.
7.
If required, change the working directory to "folder1".
Enter:
AT#FTPCWD="folder1"
8.
Enter the file name.
Enter:
AT#FTPGET="filename.txt"
where filename.txt is the file you want 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
When you finish sending the file:
1.
Close the FTP connection.
Enter:
AT#FTPCLOSE
2.
Close the PPP data connection.
Enter:
AT#SGACT=1,0
The device responds with OK.

Reading, Writing and Deleting Messages

Reading Text Messages

To read a text message in text mode:
1.
Put the device in text mode.
Enter:
AT+CMGF=1
2.
Read message.
QuickCarrier™ USB-E MT100UCC-EV3 Developer Guide
CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
33

Advertisement

Table of Contents
loading

Table of Contents