Bluetooth: host: Add adv parameters def for connectable ext adv
This is the same as for legacy, but with ext adv flag. Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
This commit is contained in:
parent
e5ffc18507
commit
7eabf1cdf2
1 changed files with 8 additions and 0 deletions
|
@ -709,6 +709,14 @@ struct bt_le_per_adv_param {
|
||||||
BT_GAP_ADV_FAST_INT_MAX_2, \
|
BT_GAP_ADV_FAST_INT_MAX_2, \
|
||||||
NULL)
|
NULL)
|
||||||
|
|
||||||
|
/** Connectable extended advertising with @ref BT_LE_ADV_OPT_USE_NAME */
|
||||||
|
#define BT_LE_EXT_ADV_CONN_NAME BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | \
|
||||||
|
BT_LE_ADV_OPT_CONNECTABLE | \
|
||||||
|
BT_LE_ADV_OPT_USE_NAME, \
|
||||||
|
BT_GAP_ADV_FAST_INT_MIN_2, \
|
||||||
|
BT_GAP_ADV_FAST_INT_MAX_2, \
|
||||||
|
NULL)
|
||||||
|
|
||||||
/** Non-connectable extended advertising with private address */
|
/** Non-connectable extended advertising with private address */
|
||||||
#define BT_LE_EXT_ADV_NCONN BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV, \
|
#define BT_LE_EXT_ADV_NCONN BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV, \
|
||||||
BT_GAP_ADV_FAST_INT_MIN_2, \
|
BT_GAP_ADV_FAST_INT_MIN_2, \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue