C
ONFIGURATION
C
OMMAND
S
ET
- F
IRMWARE
R
EVISION
2.4.0_
BETA
-
V
ERSION
1.0.0
3.2.6.1.2
TCP.Client.Send,<
protocols
>,<”
text
”> - Transfers a TCP packet to the
connected server
Command syntax
$PFAL,TCP.Client.Send,<
$PFAL,TCP.Client.Send,
&
”>
Examples
$PFAL,TCP.Client.Send,8,”MAMBOII sends its GSP positions”
Responses
E.g.
$enqueued 105 Bytes to TCP buffer
Command description
Using this command the MAMBOII is able to send a TCP message including GPS
position data (a real-time location) to the connected server. The entered text can
be evaluated and used for further application. The format the device uses to send
out the protocols and entered text is
configuration-dependent.
Parameter Description
<protocols>
It defines the output NMEA messages to be sent to the remote server. Supported
protocols are listed in chapter
<”text”>
It specifies the text message, up to
200
characters, to be sent to the connected
server. It must always be wrapped in quotation marks (“ “), even if there is not
text specified. PFAL commands are not supported inside the text field.
If you want to transmit also any system state (dynamic
entry
) when the
command is executed, the syntax of the
>
can be changed to:
“text&(<entry
1
>)text&(<entry
2
>)text…&(<entry
n
>)“
Each dynamic entry is separated by ampersand “&” without spaces and it is
enclosed in parentheses “( )“.
The command for requesting such system states might look like this:
For example:
$PFAL,TCP.Client.Send,0,"
on
&
(
Date)
at
&
(
Time
)
it is moving at
&
(
Speed)
m/s
"
Dynamic entries are listed in chapter
page
Notes
•
If the TCP connection is currently not available, this data will be written into
the TCP buffer and it will be sent as soon as the TCP connection is re-
established.
3.2.6.1.3
TCP.Client.State – Gets the status of the TCP connection
Command syntax
$PFAL,TCP.Client.State
Examples
$PFAL,TCP.Client.State
Responses
e.g. $current TCP state:disabled
Command description
This message requests the TCP connection state.
Parameter description
None.
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
Page 112 of 271