AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 223
AT Commands Interface Guide
Protocol Specific Commands
HL7518 and HL7548
Parameters
<session_id> FTP session index
<ftp_cause> Integer type. Indicates the cause of the FTP connection failure.
0 the sending or the retrieving was impossible due to request timeout
1 it is impossible to connect to the server due to DNS resolution failure
2 it is impossible to download a file due to connection troubles
3 the download was impossible due to connection timeout
4 no network available
5 flash access trouble
6 flash memory full
7 network error
XXX three digits, reply codes from FTP server. See section 16.2.5 FTP Reply Codes
Reference
Sierra Wireless
Proprietary
Notes
This command is used to start the FTP connection created by +KFTPCFG with
<start>=0.
+KFTPRCV, +KFTPSND, +KFTPDEL automatically starts the connection if it has
not been started using AT+KFTPCNX.
The result of the FTP connection is notified using unsolicited response.
11.12.3. +KFTPRCV Command: Receive FTP Files
HL7518 and HL7548
Test command
Syntax
AT+KFTPRCV=?
Response
+KFTPRCV: (list of possible <session_id>s),<local_uri>,<server_path>,<file_name>,
(list of possible <type_of_file>s),(list of possible <offset>s)
OK
Write command
Syntax
AT+KFTPRCV=
<session_id>,
[<local_uri>,]
[<server_path>,]
<file_name>
[,<type_of_file>
[,<offset>]]
Response
CONNECT
<EOF_pattern>
OK
Error case
+CME ERROR<err>
NO CARRIER
+KFTP_ERROR: <session_id>,<ftp cause>
Parameters
<session_id> FTP session index
<local_uri> This argument must be empty. It is reserved for compatibility of command
syntax.
<server_path> String type. Indicates the path of the file to be downloaded. An empty
string or no string indicates the downloading is done from the path given by the FTP server