You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2022/09/06 12:26:05 UTC
[mynewt-nimble] branch master updated: nimble/ll: Fix BLE_HCI_OCF_VS_SET_DATA_LEN OCF
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new f85bbda0 nimble/ll: Fix BLE_HCI_OCF_VS_SET_DATA_LEN OCF
f85bbda0 is described below
commit f85bbda005b7507111d728a33950bdc8e445ceb9
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Tue Sep 6 14:04:39 2022 +0200
nimble/ll: Fix BLE_HCI_OCF_VS_SET_DATA_LEN OCF
This was duplicating BLE_HCI_OCF_VS_CSS_ENABLE and caused assert
on register.
---
nimble/include/nimble/hci_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/include/nimble/hci_common.h b/nimble/include/nimble/hci_common.h
index cfcbd822..a3c3dc3f 100644
--- a/nimble/include/nimble/hci_common.h
+++ b/nimble/include/nimble/hci_common.h
@@ -1168,7 +1168,7 @@ struct ble_hci_vs_css_read_conn_slot_rp {
uint16_t conn_handle;
uint16_t slot_idx;
} __attribute__((packed));
-#define BLE_HCI_OCF_VS_SET_DATA_LEN (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0004))
+#define BLE_HCI_OCF_VS_SET_DATA_LEN (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0008))
struct ble_hci_vs_set_data_len_cp {
uint16_t conn_handle;
uint16_t tx_octets;