leaps_anchor_list_get
Read list of surrounding anchors. Works for anchors only. Anchors in the list can be from the same network or from neighbor network as well.
(none)
Status Code, timestamp, flags, count, [anchor_0, anchor_1, …]
timestamp: 32-bit unsigned integer (* up-time in microseconds*)
count: 1 byte (element count, 15 is maximum number of elements in the list)
anchor_0, anchor_1, …, anchor_N: (list of anchors)
anchor_N: node_id, position, rssi, seat, neighbor_network (anchor list element where N can be from 0 to 14)
node_id: 2 bytes (anchor ID)
position: 12 bytes
rssi: 1 byte signed (signal strength indicator)
seat: 5 bits (seat number occupied by the anchor)
neighbor_network: 1 bit (status flags that indicates if anchor is from current network or if it is from neighbor network)
Example
TLV Request |
|
---|---|
Type |
Length |
0x0B |
0x00 |
Type 0x0B means command leaps_anchor_list_get
TLV response |
||
---|---|---|
Type |
Length |
Value |
0x40 |
0x01 |
0x00 |
TLV response (residue of the frame from previous table) |
|||||||||
---|---|---|---|---|---|---|---|---|---|
Type |
Length |
Value |
|||||||
0x56 |
0xE1 |
uint32 - timestamp (little endian) |
uint8 - flags |
uint8 - number of elements encoded in the list |
anchor nr. 1 |
anchors nr. 2 … nr. 15 |
|||
uint16 - UWB address in little endian |
3 x int32 - position coordinates x,y,z in little endian |
int8 - RSSI |
uint8 - flags
(bits 0-4) seat number
(bit 5) neighbor_network
(bits 6-7) reserved
|
… |
|||||
0xe8 0x03 0x00 0x00 |
0x00 |
0x0f |
0xab 0xbc … |
… |
Type 0x40 means status code
Type 0x56 means anchor list