Bluetooth: controller: added Kconfig for max adv data length
Added a Kconfig for maximum advertising data length. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
dc55e08ce6
commit
a682fe63eb
2 changed files with 9 additions and 3 deletions
|
@ -486,9 +486,16 @@ config BT_CTLR_ADV_SYNC_SET
|
|||
help
|
||||
Maximum supported periodic advertising sets.
|
||||
|
||||
config BT_CTLR_ADV_DATA_LEN_MAX
|
||||
int "Maximum Advertising Data Length"
|
||||
depends on BT_CTLR_ADV_EXT
|
||||
range 31 1650
|
||||
help
|
||||
Maximum Extended Advertising Data Length.
|
||||
|
||||
config BT_CTLR_SCAN_AUX_SET
|
||||
int "Auxiliary Channel Scan Sets"
|
||||
depends on BT_CTLR_ADV_EXT
|
||||
depends on BT_OBSERVER && BT_CTLR_ADV_EXT
|
||||
range 1 64
|
||||
help
|
||||
Maximum supported auxiliary channel scan sets.
|
||||
|
|
|
@ -494,8 +494,7 @@ uint8_t ll_adv_aux_sr_data_set(uint8_t handle, uint8_t op, uint8_t frag_pref, ui
|
|||
|
||||
uint16_t ll_adv_aux_max_data_length_get(void)
|
||||
{
|
||||
/* TODO: return a Kconfig value */
|
||||
return 0;
|
||||
return CONFIG_BT_CTLR_ADV_DATA_LEN_MAX;
|
||||
}
|
||||
#endif /* (CONFIG_BT_CTLR_ADV_AUX_SET > 0) */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue