Skip to content

Commit

Permalink
fix(nimble): Add support for VSC to clear legacy adv memory
Browse files Browse the repository at this point in the history
 Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
  • Loading branch information
rahult-github committed Dec 14, 2023
1 parent be58e27 commit d31cb0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/bt/porting/nimble/include/nimble/hci_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,7 @@ struct ble_hci_vs_duplicate_exception_list_cp {
uint8_t device_info[6];
} __attribute__((packed));

#define BLE_HCI_OCF_VS_LEGACY_ADV_CLEAR (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x010C))

/* Command Specific Definitions */
/* --- Set controller to host flow control (OGF 0x03, OCF 0x0031) --- */
Expand Down

0 comments on commit d31cb0d

Please sign in to comment.