leaps_uwb_profile_get
Reads information about UWB profile that is currently active. Returns “not permitted” if not possible to read the information because of no UWB connection.
(none)
sf_period_us: ?32-bit unsigned integer ? (superframe period in microseconds)
slot_period_us: ?16 bit unsigned integer ? (slot period in microseconds)
sf_num_max: ?16 bit unsigned integer ? (superframe number maximum value)
anchor_upd_rate: ?16 bit unsigned integer ? (update rate of the anchor in multiply of superframe period)
active_profile_id: ‘1’|’2’|’3’|’4’|’5’|’6’ (current profile ID/number, value 0 means automatic profile)
Example
TLV Request |
|
---|---|
Type |
Length |
0x1F |
0x00 |
Type 0x1F(31 dec) means command leaps_uwb_profile_get
TLV response |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Type |
Length |
Value |
Type |
Length |
Value |
|||||
(byte 0-3)
superframe period
in microseconds
|
(byte 4-5)
slot period in
microseconds
|
(byte 6-7)
superframe
number maximum
|
(byte 8-9)
anchor update
rate
|
(byte 10)
active
profile ID
|
(byte 11) reserved |
|||||
0x40 |
0x01 |
0x00 |
0x5B |
0x0C |
0xA0 0x86 0x01 0x00 |
0xF4 0x01 |
0xa0 0x05 |
0x1E 0x00 |
0x02 |
0x00 |
Type 0x5B(91 dec) means UWB profile info