User Tools

Site Tools


doc:lps:tdoa3:protocol

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
doc:lps:tdoa3:protocol [2018-05-02 14:31]
kristoffer
doc:lps:tdoa3:protocol [2018-05-02 14:44]
kristoffer
Line 7: Line 7:
  
 </WRAP> </WRAP>
- 
-This page describes the [[doc:lps:tdoa3|TDoA]] anchor protocol V3. 
  
 ===== System architecture ===== ===== System architecture =====
Line 27: Line 25:
  
 <ditaa> <ditaa>
-              +--------+--------------------+ +              +--------+--------------------+----------+ 
-Packet    :   | Header | Remote anchor data | +Packet    :   | Header | Remote anchor data | LPP data | 
-              +--------+--------------------++              +--------+--------------------+----------+
  
                                   7 bytes                                   7 bytes
Line 44: Line 42:
                       8 bits      1 bit      7 bits     32 bits     0 or 16 bits                       8 bits      1 bit      7 bits     32 bits     0 or 16 bits
                      <------> <-----------> <------> <-----------> <------------>                      <------> <-----------> <------> <-----------> <------------>
-                    +--------+--------+-------------+-------------+--------------++                    +--------+-------------+--------+-------------+--------------+
 Remote anchor data: |   id   | hasDistance |  seq   | rxTimeStamp |   distance   | Remote anchor data: |   id   | hasDistance |  seq   | rxTimeStamp |   distance   |
                     +--------+-------------+--------+-------------+--------------+                     +--------+-------------+--------+-------------+--------------+
 +                    
 +                    
 +LPP data: TBD
 +                    
 </ditaa> </ditaa>
  
-* Header  +  * **Header** 
-  * type 0x30 +    * **type:** 0x30 
-  * seq the sequence number of this packet 0 - 127 +    * **seq:** the sequence number of this packet 0 - 127 
-  * txTimeStamp transmission time of this packet +    * **txTimeStamp:** transmission time of this packet 
-  * remoteCount the number of slots (max 8) in the following section that are populated with data +    * **remoteCount:** the number of slots in the Remote Anchor Data section that are populated with data, max 8 
-* Remote anchor data +  * **Remote anchor data** 
-  * id the id of the remote anchor +    * **id:** the id of the remote anchor 
-  * hasDistance 1 = distance data is included in the remote anchor data, total length is 8 bytes, otherwise it is 6 bytes. +    * **hasDistance:** 1 = distance data is included in the remote anchor data, total length is 8 bytes, otherwise it is 6 bytes. 
-  * seq sequence number of latest packet received from the remote anchor 0 - 127 +    * **seq:** sequence number of latest packet received from the remote anchor 0 - 127 
-  * rxTimeStamp receive time stamp of latest packet from the remote anchor +    * **rxTimeStamp:** receive time stamp of latest packet from the remote anchor 
-  * distance time of flight between the current anchor and the remote anchor in radio timer ticks+    * **distance:** time of flight between the current anchor and the remote anchor in radio timer ticks
  
 ===== Tag implementation ===== ===== Tag implementation =====
doc/lps/tdoa3/protocol.txt · Last modified: 2020-05-12 14:08 by kimberly