29#ifndef NIMBLE_AUTOCONN_PERIOD_SCAN_MS
30#define NIMBLE_AUTOCONN_PERIOD_SCAN_MS (2000U)
32#ifndef NIMBLE_AUTOCONN_PERIOD_ADV_MS
33#define NIMBLE_AUTOCONN_PERIOD_ADV_MS (10000U)
35#ifndef NIMBLE_AUTOCONN_PERIOD_JITTER_MS
36#define NIMBLE_AUTOCONN_PERIOD_JITTER_MS (5000U)
39#ifndef NIMBLE_AUTOCONN_ADV_ITVL_MS
40#define NIMBLE_AUTOCONN_ADV_ITVL_MS (100U)
43#ifndef NIMBLE_AUTOCONN_SCAN_ITVL_MS
44#define NIMBLE_AUTOCONN_SCAN_ITVL_MS (1500U)
46#ifndef NIMBLE_AUTOCONN_SCAN_WIN_MS
47#define NIMBLE_AUTOCONN_SCAN_WIN_MS (110U)
50#ifndef NIMBLE_AUTOCONN_CONN_TIMEOUT_MS
51#define NIMBLE_AUTOCONN_CONN_TIMEOUT_MS (3 * NIMBLE_AUTOCONN_SCAN_WIN_MS)
53#ifndef NIMBLE_AUTOCONN_CONN_ITVL_MIN_MS
54#define NIMBLE_AUTOCONN_CONN_ITVL_MIN_MS 75U
56#ifndef NIMBLE_AUTOCONN_CONN_ITVL_MAX_MS
57#define NIMBLE_AUTOCONN_CONN_ITVL_MAX_MS 75U
59#ifndef NIMBLE_AUTOCONN_CONN_LATENCY
60#define NIMBLE_AUTOCONN_CONN_LATENCY (0)
62#ifndef NIMBLE_AUTOCONN_CONN_SVTO_MS
63#define NIMBLE_AUTOCONN_CONN_SVTO_MS (2500U)
69#ifndef NIMBLE_AUTOCONN_PHY_MODE
70#define NIMBLE_AUTOCONN_PHY_MODE NIMBLE_PHY_1M
73#ifndef NIMBLE_AUTOCONN_NODE_ID
74#define NIMBLE_AUTOCONN_NODE_ID "RIOT-autoconn"
77#ifndef NIMBLE_AUTOCONN_PARAMS
78#define NIMBLE_AUTOCONN_PARAMS \
79 { .period_scan_ms = NIMBLE_AUTOCONN_PERIOD_SCAN_MS, \
80 .period_adv_ms = NIMBLE_AUTOCONN_PERIOD_ADV_MS, \
81 .period_jitter_ms = NIMBLE_AUTOCONN_PERIOD_JITTER_MS, \
82 .adv_itvl_ms = NIMBLE_AUTOCONN_ADV_ITVL_MS, \
83 .scan_itvl_ms = NIMBLE_AUTOCONN_SCAN_ITVL_MS, \
84 .scan_win_ms = NIMBLE_AUTOCONN_SCAN_WIN_MS, \
85 .conn_timeout_ms = NIMBLE_AUTOCONN_CONN_TIMEOUT_MS, \
86 .conn_itvl_min_ms = NIMBLE_AUTOCONN_CONN_ITVL_MIN_MS, \
87 .conn_itvl_max_ms = NIMBLE_AUTOCONN_CONN_ITVL_MAX_MS, \
88 .conn_latency = NIMBLE_AUTOCONN_CONN_LATENCY, \
89 .conn_super_to_ms = NIMBLE_AUTOCONN_CONN_SVTO_MS, \
90 .phy_mode = NIMBLE_AUTOCONN_PHY_MODE, \
91 .node_id = NIMBLE_AUTOCONN_NODE_ID, }
99 NIMBLE_AUTOCONN_PARAMS;
static const nimble_autoconn_params_t nimble_autoconn_params
nimble_netif_autoconn configuration
Set of configuration parameters needed to run autoconn.