Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ] monitor: Fix EIR Data Type / AD Type assigned numbers
@ 2013-10-01 23:04 João Paulo Rechi Vita
  2013-10-05 13:10 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: João Paulo Rechi Vita @ 2013-10-01 23:04 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: João Paulo Rechi Vita

From: João Paulo Rechi Vita <jprvita@openbossa.org>

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(-)

diff --git a/monitor/packet.c b/monitor/packet.c
index ddd3742..942d3de 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -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
 
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-05 13:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-01 23:04 [PATCH BlueZ] monitor: Fix EIR Data Type / AD Type assigned numbers João Paulo Rechi Vita
2013-10-05 13:10 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox