Parcourir la source

Merge branch 'feat/add_set_data_related_addr_change_cmd' into 'master'

feat(nimble): Add support for LE Data Set Related Address Change command

Closes BLECRT-27

See merge request espressif/esp-idf!25418
Rahul Tank il y a 2 ans
Parent
commit
6072487ad8

+ 1 - 1
components/bt/host/nimble/nimble

@@ -1 +1 @@
-Subproject commit 1ff34ecf402167471163e44a318d8aa9bf93330d
+Subproject commit 37877f9b643c03e0ce9e39db4b9301f3a711a1b5

+ 7 - 1
components/bt/porting/nimble/include/nimble/hci_common.h

@@ -1,5 +1,5 @@
 /*
- * SPDX-FileCopyrightText: 2015-2022 The Apache Software Foundation (ASF)
+ * SPDX-FileCopyrightText: 2015-2023 The Apache Software Foundation (ASF)
  *
  * SPDX-License-Identifier: Apache-2.0
  *
@@ -1110,6 +1110,12 @@ struct ble_hci_le_set_transmit_power_report_enable_cp {
     uint8_t remote_enable;
 } __attribute__((packed));
 
+#define BLE_HCI_OCF_LE_SET_DATA_ADDR_CHANGE	         (0x007C)
+struct ble_hci_le_set_data_addr_change_cp {
+    uint8_t adv_handle;
+    uint8_t change_reason;
+} __attribute__((packed));
+
 #define BLE_HCI_OCF_LE_SET_DEFAULT_SUBRATE               (0x007D)
 struct ble_hci_le_set_default_subrate_cp {
     uint16_t subrate_min;