AirPrime HL7518 and AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 222
AT Commands Interface Guide
Protocol Specific Commands
HL7518 and HL7548
<started> Specifies whether to the FTP connection is started
0 FTP connection is not started yet
1 FTP connection is started
<af> Address family used for the connection.
0 IPV4
1 IPV6
<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
Example
AT+KFTPCFG=1,"ftp.connect.com","username","password",21,0
Reference
Sierra Wireless
Proprietary
Notes
Execution command sets the server name, the login, the password, the port
number and the mode for ftp operations.
This command (with <start> = 0) can be used before setting up +KCNXCFG
configuration. Note however that the latter is required to start the connection
properly.
The connection timeout for TCP socket is about 9 seconds with 3 retransmissions
with 3 seconds delay.
The result of the FTP connection is notified using unsolicited response.
11.12.2. +KFTPCNX Command: Start FTP Connection
HL7518 and HL7548
Test command
Syntax
AT+KFTPCNX=?
Response
+KFTPCNX: (list of possible <session_id>s)
OK
Write command
Syntax
AT+KFTPCNX=
<session_id>
Response
OK
Error case
NO CARRIER
+CME ERROR: <err>
+KFTP_ERROR: <session_id>,<ftp cause>