Bluetooth: Add define for Extended Scannable Advertising parameters
Add a helper define for Extended Scannable Advertising
Parameters.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
diff --git a/include/bluetooth/bluetooth.h b/include/bluetooth/bluetooth.h
index 9ebdb14..e4dbed4 100644
--- a/include/bluetooth/bluetooth.h
+++ b/include/bluetooth/bluetooth.h
@@ -704,6 +704,14 @@
BT_GAP_ADV_FAST_INT_MAX_2, \
NULL)
+/** Scannable extended advertising with @ref BT_LE_ADV_OPT_USE_NAME */
+#define BT_LE_EXT_ADV_SCAN_NAME BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | \
+ BT_LE_ADV_OPT_SCANNABLE | \
+ 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 */
#define BT_LE_EXT_ADV_NCONN BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV, \
BT_GAP_ADV_FAST_INT_MIN_2, \