Datalink Systems i50 Dokumentacja Strona 46

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 45
i50 Manual (5.10)
Page 46
© 2015 Datalink Systems, Inc.
www.datalinksystemsinc.com
11.0 Status/Messaging Protocol
The i50 uses a basic protocol to allow text messages and emails to be sent and received over its
network connection(s), and to query/set internal status.
This protocol can be accessed over the dial-up/Wi-Fi connection using the email UDP port, or
through a COM port configured for “Messages”. When using the COM port, the port speed is set to
the same value as the dial-up port speed.
Data is formatted as a series of ANSI fields separated by <CTRL-Z> characters (0x1A), with each
packet ending with an <ETX> character (0x03). An exception to this format is the file transfer
command/response packets, which include binary data and use a length value to determine packet
size (see section 11.3 for details).
When using UDP, each command or response is contained in a separate UDP datagram.
The first field in each packet identifies the command or response type. Subsequent fields are referred
to as parameters. Unused parameters can be empty.
11.1 Commands sent to i50
The following commands can be sent to the i50:
Command
Description
Parameters
Responses
“N”
Query status
“n”
“G”
Query GPS
“g”
I
Query I/O lines
“i”
“T”
Send message
<MsgID><UserID><Subject><Address><Message>
“t”, “x”, “s”,
“e”, “?”
‘C’
Clear message
<MsgID><UserID>
“x”,”?”
“F”
File transfer
<FileData>
“f”, “?”
“A
Set alert state
<AlertState>
“n”
Response
Description
Parameters
“n”
Status
<Net><AlertState><AlertResp><RX><TX><Packets>
“g”
GPS data
<Valid><FixTime><Fix><Lat><Lon><Heading><Speed><
Alt><Sats><HDOP><Short><SpdValid><Motion>
“i”
I/O data
<IGN><In1><In2><In3><In4><In5><In6><Out1><Out2><
Out3><Out4><VOUT><Temp><ADC1><ADC2><Battery>
“t”
Queued
<MsgID><UserID>
“x”
Rejected/Cleared
<MsgID><UserID>
“s”
Sent
<MsgID><UserID>
“e”
ID exists
<MsgID><UserID>
“f”
File transfer response
<FileData>
“?”
Error
<Error>
Przeglądanie stron 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 64 65

Komentarze do niniejszej Instrukcji

Brak uwag