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