Specifications
Chapter 10 – Internet Service Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 130
<srvParmValue-alphabet>
Supported string parameter character set selections in <srvParmValue> for <srvParmTag> value “alphabet”.
“0“ Applicable character set is determined by current setting of AT+CSCS. Default.
“1“ International Reference Alphabet (IRA, seven bit ASCII).
<srvParmValue-pCmd>
Supported POP3 user command values in <srvParmValue> for <srvParmTag> value “pCmd”.
“1“ Status command.
This command retrieves the “drop listing” of a POP3 server. A “drop listing” consists of a single
line containing the number of messages in the maildrop list followed by the total size of the
maildrop list in bytes. Each drop listing will be finished by a so-called “dotline”, i.e. a new line with
just a single dot.
“2“ List command.
If <srvParmTag> value “pNumber” is set to a non-zero value, the “List” command returns the
“scan listing” consisting of a single line which contains the message number and the message
size in bytes if the specified message exists in the maildrop list on the POP3 server.
If no such message exists on the server than the POP3 service issues an error response to the
user.
If <srvParmTag> value “pNumber” is zero, the “List” command returns a multi-line “scan listing”.
For each message on the maildrop list of the server the POP3 service returns a line containing
the message number and its size in bytes. A final “dotline” will be printed at the end of the “scan
listing”.
If there are no messages on the maildrop list of the server, the POP3 service returns a positive
response, i.e. it doesn’t issue an error response, but the “scan listing” will be empty.
In either case, each scan listing will be finished by a so-called “dotline”; i.e., a new line with just a
single dot.
“3“ Retrieve command.
If <srvParmTag> value “pNumber” is set to a non-zero value, this command retrieves the related
message from the POP3 server’s maildrop list.
If no such message exists on the server the POP3 service issues an error response to the user.
It depends on the parameter “pDelFlag” if the message will be deleted from the POP3 server
upon successful retrieval.
If <srvParmTag> value “pNumber” is zero, the “Retrieve” command returns all messages
pending in the POP3 server’s maildrop.
If there are no messages on the maildrop list of the server the POP3 service returns with a
positive response, i.e. it doesn’t issue an error response, but the returned list will be empty.
Each email will be finished by a so-called “dotline”; i.e., a new line with just a single dot.
“4“ Delete command.
If <srvParmTag> value “pNumber” is set to a non-zero value, the command deletes the related
message from the POP3 server’s maildrop list. In fact, the message is marked as deleted on the
server and will be deleted permanently if the POP3 service command executes successfully. In
case an error has occurred; e.g., network loss, the message will not be deleted on the server
even though the POP3 service command has been finished.
If <srvParmTag> value “pNumber” is zero, the “Delete” command deletes all message from the
POP3 server’s maildrop list. In fact, the messages are marked as deleted on the server and will
be deleted permanently if the POP3 service command executes successfully. In case an error
has occurred, the messages will not be deleted on the server even though the POP3 service
command has been finished.
<srvParmValue-pDelFlag>
Supported flag values in <srvParmValue> for <srvParmTag> value “pDelFlag”. Only applicable if the profile
contains the POP3 user command Retrieve (“3”).
“0“ Messages will not be deleted on the server. Default.
“1“ Delete messages on the server which have been retrieved successfully.
10.2.1 Example: Configuring Socket Listener
The example assumes that a connection profile has been created as explained in Section 10.1.1 or Section 10.1.2.
Keep in mind that if the host is configured as listener another service profile must be left free to be dynamically
assigned as Server when the listener receives a connection request from a remote client.
Configure the service profile 4 for use as Socket listener:
at^siss=4,srvType,socket Select service type Socket.
OK
at^siss=4,conId,0 Select connection profile 0.
OK
at^siss=4,address,”socktcp://listener:65534” The host specifies its local port 65534 to be used for the Socket listener
service. The local IP address will be dynamically assigned when the service is
opened with AT^SISO.
OK