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
commit dfa9a81233
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit df2b82880e7ff25d7ed93ce1fc89d813d00b6810 Subproject commit 9a355b2b597a66868aed37e1ebccb0c274aaa252

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_ITVL_DEF (0x800) /* 1.28 seconds */
#define BLE_HCI_ADV_CHANMASK_DEF (0x7) /* all channels */ #define BLE_HCI_ADV_CHANMASK_DEF (0x7) /* all channels */
#define BLE_HCI_PERIODIC_ADV_ITVL (1250) /* usecs */
/* Set scan parameters */ /* Set scan parameters */
#define BLE_HCI_SCAN_TYPE_PASSIVE (0) #define BLE_HCI_SCAN_TYPE_PASSIVE (0)
#define BLE_HCI_SCAN_TYPE_ACTIVE (1) #define BLE_HCI_SCAN_TYPE_ACTIVE (1)