BGS2T AT Command Set
BGS2T_ATC_V01.301
Page 240 of 554
1/31/12
c
occurs the "
" URC is delivered instead.
In polling mode, you can enter the
or
command straight after
though you may
need to do so several times until the service confirms that data can be sent or received.
•
The first parameter of the
commands is always the
, the second
parameter is the number of bytes which the host either wants to send to or is able to receive from the module.
The way the module handles the data transfer follows the rules of the ordinary socket interface and is aware
that a host may be limited by its input buffer size. The maximum data size supported by BGS2T is 1500 bytes
in both directions (read or write). To send or receive more than 1500 bytes, the read or write action shall be
repeated until the data transfer has completed. Each read or write action requires that the command response
(of
or
) confirms that the service is ready to send or receive data.
To end an upload data stream set the
command.
•
For the Transparent TCP client and Transparent UDP client the AT command
provides a specific
mode for data exchange and accepts
only. In that mode the service is connected to the
interface in a transparent manner and exchanging data is not related to the
and
cycles.
To resume AT command mode enter the
escape sequence or toggle the DTR line.
•
command shall be used to monitor the progress of the session. The command reports the ser-
vice state of the used service profile and indicates the number of bytes received, the number of bytes sent
and, in the case of sending, the number of bytes acknowledged or unacknowledged at TCP layer.
•
If an error occurs during a session you can enter the
command and the
to iden-
tify the reason. This is especially important in polling mode.
•
command can be used any time to query the current status of one or all connection profile(s).
•
Finally, to end a session, enter the
write command and the
.
Maximum number of profiles defined / used:
•
Up to 6 connection profiles can be created (with
).
•
Up to 10 service profiles can be created (with
), but the number of parallel profiles of the same ser-
vice type is limited as listed below. If the maximum number of a service profile type is already defined, any
attempt to set up another profile for the same type will be denied with "+CME ERROR: operation of service
temporary not allowed".
-
Maximum 3 HTTP profiles
-
Maximum 6 socket profiles: The socket service can accept an incoming connection only when at least one
service profile is still free (not yet created with
), otherwise the incoming connection will be
rejected from the listener.
-
2 Transparent TCP profiles
-
2 Transparent UDP profiles
-
1 FTP profile
-
1 POP3 profile
-
1 SMTP profile
•
The TCP/IP stack of BGS2T supports one service profile at a time. Trying to run more than one service profile
may result in a blocking of one of these service profiles.
Using Internet Service AT commands on several interfaces (ASC0 or Multiplex mode on ASC0):
•
A connection profile can be created on one interface and then viewed or changed on all other interfaces.
•
A service profile can be used only on one interface at a time:
-
Service profiles can only be opened on the interface where they have been defined with
.
-
Accordingly, on each interface the read commands
? and
? deliver full status informa-
tion for the service profiles configured / opened on this interface, while service profiles related to other
interfaces are only listed by
and service type name (=
value "srv-
Type") without any status parameters.
-
Changes to a service profile are allowed only on the same interface where it was created, trying to change
it on another interface is denied with "+CME ERROR: invalid index". If queried with the read command
? the entire profile is returned on the interface where the service profile was created, while on all
other interfaces only the service type of the profile is stated.
Confidential / Released