leaps_filter_cfg_get
Read configuration of one of the filters (e.g. location filter or measurement filter).
Input
id: ?8-bit unsigned integer ? (ID of the filter, 0 - measurement filter, 1 - location filter, 2 - measurement select strategy)
Output
filter_id: ? 8-bits unsigned integer ? (ID of the filter, 0 - measurement filter, 1 - location filter. 2 - measurement select 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