diff --git a/components/bt/host/nimble/nimble b/components/bt/host/nimble/nimble index 986b306392..7b29fd8040 160000 --- a/components/bt/host/nimble/nimble +++ b/components/bt/host/nimble/nimble @@ -1 +1 @@ -Subproject commit 986b306392b0085f2fe9eed9ee7ad788387c0c0e +Subproject commit 7b29fd8040b7c21b4aebccb19daaabd8b6713b5b diff --git a/components/bt/porting/nimble/include/nimble/hci_common.h b/components/bt/porting/nimble/include/nimble/hci_common.h index 76c8d49a5f..617434f4d4 100644 --- a/components/bt/porting/nimble/include/nimble/hci_common.h +++ b/components/bt/porting/nimble/include/nimble/hci_common.h @@ -1149,8 +1149,10 @@ struct ble_hci_vs_duplicate_exception_list_cp { uint8_t device_info[6]; } __attribute__((packed)); -#if SOC_BLE_POWER_CONTROL_SUPPORTED && MYNEWT_VAL(BLE_HCI_VS) -#define BLE_HCI_OCF_VS_PCL_SET_RSSI (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0111)) +#define BLE_HCI_OCF_VS_LEGACY_ADV_CLEAR (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x010C)) + +#if SOC_BLE_POWER_CONTROL_SUPPORTED +#define BLE_HCI_OCF_VS_PCL_SET_RSSI (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0111)) #endif /* Command Specific Definitions */