projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09da6ff
)
monitor: Fix adv_handle size in the set info transfer packet
author
Jakub Tyszkowski
<jakub.tyszkowski@codecoup.pl>
Fri, 21 Jul 2023 12:03:17 +0000
(14:03 +0200)
committer
Ayush Garg
<ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000
(19:04 +0530)
As per Bluetooth Core 5.4 Vol 4. Part E, 7.8.90,
adv_handle is 1 octet size and not 2.
monitor/bt.h
patch
|
blob
|
history
diff --git
a/monitor/bt.h
b/monitor/bt.h
index 4596df4929f7d37d04738fb8de1ad901a1cf9ab1..fc45f9aa8f9f19edd72f3c44de4384943d3d8c4f 100755
(executable)
--- a/
monitor/bt.h
+++ b/
monitor/bt.h
@@
-2608,7
+2608,7
@@
struct bt_hci_cmd_periodic_sync_trans {
struct bt_hci_cmd_pa_set_info_trans {
uint16_t handle;
uint16_t service_data;
- uint
16
_t adv_handle;
+ uint
8
_t adv_handle;
} __attribute__ ((packed));
#define BT_HCI_CMD_PA_SYNC_TRANS_PARAMS 0x205c