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 |
フィルター値 |
|---|---|
0 (測定) |
TBD |
1 (場所) |
Byte[0] = Mode (0 - Disable Moving Average Filter, 1 - Enable Moving Average Filter) |
2 (測定値の選択戦略) |
Byte[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 は、最適な TN 位置計算のために 4 つの象限から AN の最大 4 つの測定値を選択します |
RSSI |
TN は、RSSI が最も高い AN の測定値を最大 4 つ選択します |
ラウンドロビン |
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 |
フィルター値 |
||||
0x40 |
0x01 |
0x00 |
0x54 |
0x0a |
0x03 |
0x01 0x18 0x49 0xB7 0xFA 0xD3 0xE6 0xAF 0x00 |
タイプ 0x40 はステータスコード
タイプ 0x54 (84) はフィルター構成を意味します