fix(nimble): Support for concatenation of same type UUID during adv data parsing
This commit is contained in:
@@ -1216,6 +1216,15 @@ menu "Extra Features"
|
||||
help
|
||||
This option is used to enable encrypted advertising data.
|
||||
|
||||
config BT_NIMBLE_ADV_UUID_CONCAT
|
||||
bool "concatenate uuids while parsing advertising data"
|
||||
default n
|
||||
depends on BT_NIMBLE_ENABLED
|
||||
help
|
||||
Enables concatenation of multiple UUIDs of the same type while parsing
|
||||
advertising data on the central device. When disabled, only the last
|
||||
parsed UUID of a given type is retained.
|
||||
|
||||
config BT_NIMBLE_MAX_EADS
|
||||
int "Maximum number of EAD devices to save across reboots"
|
||||
default 10
|
||||
|
||||
@@ -118,6 +118,12 @@
|
||||
#define MYNEWT_VAL_ENC_ADV_DATA (CONFIG_BT_NIMBLE_ENC_ADV_DATA)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_ADV_UUID_CONCAT
|
||||
#define MYNEWT_VAL_BLE_ADV_UUID_CONCAT (0)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_ADV_UUID_CONCAT (CONFIG_BT_NIMBLE_ADV_UUID_CONCAT)
|
||||
#endif
|
||||
|
||||
#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_EXT_ADV)
|
||||
#define BLE_SCAN_RSP_DATA_MAX_LEN_N (1650)
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user