Skip to content

Commit

Permalink
Merge branch 'bugfix/add_legacy_adv_clear_vsc' into 'master'
Browse files Browse the repository at this point in the history
fix(nimble): Add support for VSC to clear legacy adv memory

Closes BLERP-160

See merge request espressif/esp-idf!26561
  • Loading branch information
rahult-github committed Nov 29, 2023
2 parents 60da3e9 + 6b5d569 commit 427f734
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions components/bt/porting/nimble/include/nimble/hci_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 427f734

Please sign in to comment.