leaps_filter_cfg_get
Read configuration of one of the filters (e.g. location filter or measurement filter).
id: ?8-bit unsigned integer ? (ID of the filter, 0 - measurement filter, 1 - location filter, 2 - measurement selection strategy)
filter_id: ? 8-bits unsigned integer ? (ID of the filter, 0 - measurement filter, 1 - location filter. 2 - measurement selection strategy)
filter_val: ? byte array with maximum length 8 ?
Example
TLV Request |
||
---|---|---|
Type |
Length |
Value |
filter id |
||
0x1B |
0x01 |
0x00 |
Type 0x1B (27 dec) means command leaps_filter_cfg_get
TLV response |
||||||
---|---|---|---|---|---|---|
Type |
Length |
Value |
Type |
Length |
Value |
|
status code |
filter id |
filter val |
||||
0x40 |
0x01 |
0x00 |
0x54 |
0x06 |
0x00 |
0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 |
Type 0x40 means status code
Type 0x54 (84) means filter configuration
Filter values
Filter ID |
Filter Val |
---|---|
0 (measurement) |
TBD |
1 (location) |
TBD |
2 (measurement selection strategy) |
Byte[0] = Type (0 - QUAD, 1 - RSSI, 2 - Round robin) |
Measurement selection strategy
Strategy |
Description |
---|---|
QUAD |
TN selects up to 4 measurements of ANs from 4 quadrants for the best TN location calculation |
RSSI |
TN selects up to 4 measurements of ANs with highest RSSI |
Round robin |
TN takes turn to select up to 4 measurements from all ANs in it’s anchor list in the round robin manner. (e.g: anchor list has 6 ANs (1,2,3,4,5,6), each round TN selects measurements of ANs: (1,2,3,4), (5,6,1,2), (3,4,5,6) … |