Specifications
Chapter 10 – Internet Service Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 127
“address“ String value, depending on the service type either a URL in the case of Socket, FTP
and HTTP or an address in the case of SMTP and POP3:
1. Socket
• Socket type TCP client URL
“socktcp://’host’:’remote tcpPort’[;disnagle=’0|1’] “
“disnagle” is optional for disabling the TCP Nagle algorithm.
0: Nagle algorithm is enabled. Default.
1: Nagle algorithm is disabled.
• Socket type TCP server URL
“socktcp://listener:’local tcpPort’ “
• Socket type UDP client URL
“sockudp://’host’:’remote udpPort’[;size=’byte’][;port=’word’]”
Parameter “size” (optional):
0: PDU size is variable. Default.
1...1500: Fixed PDU size in bytes.
Parameter “port” (optional):
0: Port number will assigned from service. Default.
1...2
16
– 1: defines the local port number of the UDP client.
2. FTP
• FTP client URL (get)
“ftp://’user’:’password’@’host’:’tcpPort’/’url-path’ [;type=’a|i|d’]
“
Refer “IETF-RFC 1738”.
• FTP client URL (put)
“ftpput://’user’:’password’@’host’:’tcpPort’/’url-path’/’element name’
[;type=’a|i’][;size=’length’][;mode=’u|a|d’] “
Used parameters:
“host” is mandatory; all other parameters are optional. If “password” is
set, then “user” must be set as well.
If “user” is omitted, the string “anonymous” is selected for “user” and
“password”.
If “password” is omitted, the password request is served by an empty
string.
If “tcpPort” is omitted, the service connects to the FTP default port 21.
If “url-path” contains only the IP address, a directory listing is
requested.
If “url-path” contains only the IP address and has a slash ‘/’
appended, a detailed directory listing is requested.
“type”: [a)scii | i)mage | d)irectory]
“size”: Specifies the total amount of upload data. For each part, the
transmission is triggered by the URC “^SISW: x, 1”, then the
AT^SISW write command can be executed. After the last packet the
URC “^SISW: x, 2” indicates that all data have been transferred and
the FTP connection is shut down. Afterwards, the service can be
closed with AT^SISC.
If “size” is not given the upload procedure is the same, except that the
AT^SISC=0 command must be executed after sending the last
packet, and the URC “^SISW: x, 2” will appear afterwards to indicate
the end of data transfer.
“mode”: [u)nique | a)ppend | d)elete]
“u)nique” selects the FTP Store Unique command to create a file
name unique to the current directory. If the file name is assigned by
the server then the “^SIS” URC will appear, indicating <urcInfoId>
2100 and the file name.
“d)elete” clears given ‘element name’.
If “mode” is omitted “replace mode” is default setting.
3. HTTP
• HTTP client URL
“http://’server’/’path’:’tcpPort’
“
“server”: FQDN or IP-address
“path”: path of file or directory
“tcpPort”: If parameter is omitted, the service connects to HTTP default port
80.
Refer to “IETF-RFC 2616”.