Merge branch 'feature/add_periodic_helper_macros_v5.0' into 'release/v5.0'

Nimble: Add helper macros to set interval min / max for periodic adv (v5.0)

See merge request espressif/esp-idf!21620
This commit is contained in:
Jiang Jiang Jian
2022-12-19 19:33:27 +08:00
2 changed files with 3 additions and 1 deletions

View File

@ -1214,6 +1214,8 @@ struct ble_hci_vs_rd_static_addr_rp {
#define BLE_HCI_ADV_ITVL_DEF (0x800) /* 1.28 seconds */
#define BLE_HCI_ADV_CHANMASK_DEF (0x7) /* all channels */
#define BLE_HCI_PERIODIC_ADV_ITVL (1250) /* usecs */
/* Set scan parameters */
#define BLE_HCI_SCAN_TYPE_PASSIVE (0)
#define BLE_HCI_SCAN_TYPE_ACTIVE (1)