Merge branch 'feature/add_periodic_helper_macros' into 'master'

Nimble: Add helper macros to set interval min / max for periodic adv

See merge request espressif/esp-idf!21575
This commit is contained in:
Rahul Tank 2022-12-14 22:07:00 +08:00
commit f3012849e8
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_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)