C
ONFIGURATION
C
OMMAND
S
ET
- F
IRMWARE
R
EVISION
2.4.0_
BETA
-
V
ERSION
1.0.0
3.2.25.1.1.7 TCP (TCP states and events)
3.2.25.1.1.7.1
TCP.Client (TCP Client states and events)
STATES
-
are checked every second
State notification code
Meaning
TCP.Client.sConnecting
True when the device is trying to connect to the server until it is successfully
connected.
TCP.Client.sConnected
True when the device is successfully connected to the server until it attempts to
disconnect.
TCP.Client.sDisconnecting
True when the device is trying to disconnect from the server until it is disconnected.
TCP.Client.sDisconnected
True when the MAMBOII device is successfully disconnected from the server until it
attempts to connect.
TCP.Client.sIdle
True when the TCP connection is currently inactive until it is connected.
(
TCP.Client.Connect
command can be used to establish the TCP connection). Usually
TCP parameters are configured to automatically connect to the TCP server when
GPRS state is already online. This state can be used to retrieve the connection state
when manual connection to the server is desired.
EVENTS
-
are evaluated just when the event occurs
Event notification code
Meaning
TCP.Client.eConnecting
Occurs when the device initiates a TCP connection to the server, but still not
connected.
TCP.Client.eConnected
(in this moment the device may send initial data to the used server for
acknowledgement). How to use such an event, refer to the chapter
, page
TCP.Client.ePacketSent
Occurs when the device has sent a TCP packet to the connected remote server.
TCP.Client.ePingSent
Occurs when the server receives a ping from the devices.
TCP.Client.eReceived=[
”text”]
Occurs when the device receives a TCP packet (with a specifc text) from the server.
Example:
TCP.Client.eReceived=”test”
[
”text“
]
It is
optional
. It specifies in quotation marks (" ") the text (i.e. “your text”) to be
compared. If it is omitted, the event occurs for each incoming message sent from
remote server. This comparison is case sensitive. The text to be sent from the remote
server must be terminated with <CR><LF>.
TCP.Client.eDisconnecting
Occurs when the device attempts to disconnect from to the server.
TCP.Client.eDisconnected
The TCP connection between the device and the server has been broken.
Table 39:
TCP Client states and events
3.2.25.1.1.7.2
TCP.SMTP (
SMTP states and events
)
STATES
None
EVENTS
-
are evaluated just when the event occurs
Event notification code
Meaning
TCP.SMTP.eSent
Occurs when the device sends out an e-Mail.
TCP.SMTP.eFailed
Occurs when the device is not able to complete a send Email operation to a SMTP server.
The connection to the SMTP server failed, or authentication failed or the operation timed out
etc.
Table 40:
SMTP states and events.
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
Page 231 of 271