© 2022 ANTZER TECH CO., LTD.
17
7
RIFA-M Series Transmission Protocol
Tracking Data
by ASCII Format
*Single Packet:
For the single packet (we use ASCII data format), each field is delimited by a single
comma
“ , ” for example :
Header
Data1
Trailer
Prefix , Len , Seq_Id ,
Tracking Data
* Checksum <CR><LF>
|
--------Calculated Length ------
|
|
------Included for Checksum calculation--------
|
*Multiple-Packets:
When it comes to the multiple-packets, each
tracking data
is delimited by <CR><LF>
character (0x0D 0x0A). for example, if there are three packets , the data format is as
blow:
Header
Data1
Trailer
Data2
Trailer
Data3
Trailer
Prefix , Len , Seq_Id
Tracking
Data
(Packet
1)
<CR><LF>
Tracking
Data
(Packet
2)
<CR>
<LF>
Tracking
Data
(Packet
3)
* Checksum <CR><LF>
|
---------------- Calculated Length ---------------------------
|
|
----------Included for Checksum calculation---------------------------------
|
Device Message Formats:
Syntax:
<Prefix>,<Len>,<Seq_ID>,<
Tacking Data
>*<Checksum><CRLF>
@@,<Len>,<Seq_ID>,
<UD> ,<EC>,<EP>,<LT>,<LN>,<AL>,<SP>,<HD>,<GD>,<GT>,<PF>,<DS>,<AI1>,<IN>,<OT>…..
*XX<CR><LF>
Field
Descriptions
Unit
Prefix
Default “@@”
Len
Package Length
Seq_ID
Sequence number, cyclic accumulation from
1 to 65535