leaps_filter_cfg_get

读取其中一个过滤器的配置(例如位置过滤器或测量过滤器)。


输入
  • id: ?8-bit unsigned integer (ID of the filter, 0 - measurement filter, 1 - location filter, 2 - measurement selection strategy, 3 - position coordinate)

输出
  • 状态码

  • filter_id: 8-bits unsigned integer (ID of the filter, 0 - measurement filter, 1 - location filter. 2 - measurement selection strategy, 3 - position coordinate)

  • filter_val: byte array with maximum length 12 ?

筛选值

筛选器ID

过滤器Val

0(测量值)

TBD

1(位置)

Byte[0] = Mode (0 - Disable Moving Average Filter, 1 - Enable Moving Average Filter)

2(测量选择策略)

字节[0]=类型(0-QUAD,1-RSSI,2-循环赛)

3 (position coordinate)

Byte[0] = Type (0 - CARTESIAN, 1 - WSG84)
If Type = 1(WSG84)
Byte[1]..Byte[4] = WSG84 Latitude of the Cartesian origin[0,0,0] * 10^7
Byte[5]..Byte[8] = WSG84 Longitude of the Cartesian origin[0,0,0] * 10^7

度量选择策略

战略

描述

QUAD

TN 最多可从 4 个象限中选择 4 个 AN 的测量值,用于计算最佳 TN 位置

RSSI

TN 选择最多 4 个 RSSI 最高的 AN 的测量值

循环赛

TN 轮流以循环方式从其锚点列表中的所有 AN 中选择最多 4 个测量值。 (例如:锚点列表中有 6 个 AN(1,2,3,4,5,6),每轮 TN 选择 AN 的测量值: (1,2,3,4), (5,6,1,2), (3,4,5,6) 。。。


示例

TLV 请求

类型

长度

价值

筛选器id

0x1B

0x01

0x03

类型0x1B(12月27日)表示命令leaps_filter_cfg_get

TLV 响应

类型

长度

价值

类型

长度

价值

状态代码

筛选器id

过滤器val

0x40

0x01

0x00

0x54

0x0a

0x03

0x01 0x18 0x49 0xB7 0xFA 0xD3 0xE6 0xAF 0x00

类型 0x40 表示状态代码

类型0x54 (84)表示过滤器配置