From 1623ad0a25f3d1c59a550eeaff4c7b2474bcb253 Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Tue, 13 Dec 2022 11:27:15 +0530 Subject: [PATCH] Nimble: Add helper macros to set interval min / max for periodic adv --- components/bt/host/nimble/nimble | 2 +- components/bt/porting/nimble/include/nimble/hci_common.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/bt/host/nimble/nimble b/components/bt/host/nimble/nimble index df2b82880e..9a355b2b59 160000 --- a/components/bt/host/nimble/nimble +++ b/components/bt/host/nimble/nimble @@ -1 +1 @@ -Subproject commit df2b82880e7ff25d7ed93ce1fc89d813d00b6810 +Subproject commit 9a355b2b597a66868aed37e1ebccb0c274aaa252 diff --git a/components/bt/porting/nimble/include/nimble/hci_common.h b/components/bt/porting/nimble/include/nimble/hci_common.h index eeb940c6c7..8872a749ab 100644 --- a/components/bt/porting/nimble/include/nimble/hci_common.h +++ b/components/bt/porting/nimble/include/nimble/hci_common.h @@ -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)