monitor: Fix EIR Data Type / AD Type assigned numbers
PATCH 1/1 monitor: Fix EIR Data Type / AD Type assigned numbers
From: João Paulo Rechi Vita <[email protected]>
The values for Public Target Address and Random Target Address were swapped. This information can be verified in the Bluetooth SIG Assigned numbers webpage:
https://www.bluetooth.org/en-us/specification/assigned-numbers/generic-access-profile
--- monitor/packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
monitor/packet.c +2 -2
@@ -2002,8 +2002,8 @@ static void print_fec(uint8_t fec)#define BT_EIR_SERVICE_UUID16 0x14#define BT_EIR_SERVICE_UUID128 0x15#define BT_EIR_SERVICE_DATA 0x16 -#define BT_EIR_RANDOM_ADDRESS 0x17 -#define BT_EIR_PUBLIC_ADDRESS 0x18 +#define BT_EIR_PUBLIC_ADDRESS 0x17 +#define BT_EIR_RANDOM_ADDRESS 0x18#define BT_EIR_GAP_APPEARANCE 0x19#define BT_EIR_MANUFACTURER_DATA 0xff
Signature · 1 line
1.8.3.1
Marcel Holtmann
maintainerHi Joao Paulo,
Quoted 10 lines
From: João Paulo Rechi Vita <[email protected]>
The values for Public Target Address and Random Target Address were swapped. This information can be verified in the Bluetooth SIG Assigned numbers webpage:
https://www.bluetooth.org/en-us/specification/assigned-numbers/generic-access-profile
---monitor/packet.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)
patch has been applied.
Regards
Marcel