Loading...
Searching...
No Matches
nimble_autoconn_params.h File Reference

Default configuration for the nimble_autoconn module. More...

Detailed Description

Default configuration for the nimble_autoconn module.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file nimble_autoconn_params.h.

Go to the source code of this file.

Variables

static const nimble_autoconn_params_t nimble_autoconn_params
 nimble_netif_autoconn configuration
 

Default parameters used for the nimble_netif_autoconn module

#define NIMBLE_AUTOCONN_PERIOD_SCAN_MS   (2000U) /* 2s */
 
#define NIMBLE_AUTOCONN_PERIOD_ADV_MS   (10000U) /* 10s */
 
#define NIMBLE_AUTOCONN_PERIOD_JITTER_MS   (5000U) /* 0-5s */
 
#define NIMBLE_AUTOCONN_ADV_ITVL_MS   (100U) /* 100ms */
 
#define NIMBLE_AUTOCONN_SCAN_ITVL_MS   (1500U) /* 1.5s */
 
#define NIMBLE_AUTOCONN_SCAN_WIN_MS   (110U) /* 110ms */
 
#define NIMBLE_AUTOCONN_CONN_TIMEOUT_MS   (3 * NIMBLE_AUTOCONN_SCAN_WIN_MS)
 
#define NIMBLE_AUTOCONN_CONN_ITVL_MIN_MS   75U /* 75ms */
 
#define NIMBLE_AUTOCONN_CONN_ITVL_MAX_MS   75U /* 75ms */
 
#define NIMBLE_AUTOCONN_CONN_LATENCY   (0)
 
#define NIMBLE_AUTOCONN_CONN_SVTO_MS   (2500U) /* 2.5s */
 
#define NIMBLE_AUTOCONN_PHY_MODE   NIMBLE_PHY_1M
 Default BLE PHY mode used by autoconn.
 
#define NIMBLE_AUTOCONN_NODE_ID   "RIOT-autoconn"
 
#define NIMBLE_AUTOCONN_PARAMS
 

Macro Definition Documentation

◆ NIMBLE_AUTOCONN_ADV_ITVL_MS

#define NIMBLE_AUTOCONN_ADV_ITVL_MS   (100U) /* 100ms */

Definition at line 41 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_CONN_ITVL_MAX_MS

#define NIMBLE_AUTOCONN_CONN_ITVL_MAX_MS   75U /* 75ms */

Definition at line 58 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_CONN_ITVL_MIN_MS

#define NIMBLE_AUTOCONN_CONN_ITVL_MIN_MS   75U /* 75ms */

Definition at line 55 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_CONN_LATENCY

#define NIMBLE_AUTOCONN_CONN_LATENCY   (0)

Definition at line 61 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_CONN_SVTO_MS

#define NIMBLE_AUTOCONN_CONN_SVTO_MS   (2500U) /* 2.5s */

Definition at line 64 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_CONN_TIMEOUT_MS

#define NIMBLE_AUTOCONN_CONN_TIMEOUT_MS   (3 * NIMBLE_AUTOCONN_SCAN_WIN_MS)

Definition at line 52 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_NODE_ID

#define NIMBLE_AUTOCONN_NODE_ID   "RIOT-autoconn"

Definition at line 75 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_PARAMS

#define NIMBLE_AUTOCONN_PARAMS
Value:
{ .period_scan_ms = NIMBLE_AUTOCONN_PERIOD_SCAN_MS, \
.period_adv_ms = NIMBLE_AUTOCONN_PERIOD_ADV_MS, \
.period_jitter_ms = NIMBLE_AUTOCONN_PERIOD_JITTER_MS, \
.adv_itvl_ms = NIMBLE_AUTOCONN_ADV_ITVL_MS, \
.scan_itvl_ms = NIMBLE_AUTOCONN_SCAN_ITVL_MS, \
.scan_win_ms = NIMBLE_AUTOCONN_SCAN_WIN_MS, \
.conn_timeout_ms = NIMBLE_AUTOCONN_CONN_TIMEOUT_MS, \
.conn_itvl_min_ms = NIMBLE_AUTOCONN_CONN_ITVL_MIN_MS, \
.conn_itvl_max_ms = NIMBLE_AUTOCONN_CONN_ITVL_MAX_MS, \
.conn_latency = NIMBLE_AUTOCONN_CONN_LATENCY, \
.conn_super_to_ms = NIMBLE_AUTOCONN_CONN_SVTO_MS, \
.phy_mode = NIMBLE_AUTOCONN_PHY_MODE, \
.node_id = NIMBLE_AUTOCONN_NODE_ID, }
#define NIMBLE_AUTOCONN_PHY_MODE
Default BLE PHY mode used by autoconn.

Definition at line 79 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_PERIOD_ADV_MS

#define NIMBLE_AUTOCONN_PERIOD_ADV_MS   (10000U) /* 10s */

Definition at line 34 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_PERIOD_JITTER_MS

#define NIMBLE_AUTOCONN_PERIOD_JITTER_MS   (5000U) /* 0-5s */

Definition at line 37 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_PERIOD_SCAN_MS

#define NIMBLE_AUTOCONN_PERIOD_SCAN_MS   (2000U) /* 2s */

Definition at line 31 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_PHY_MODE

#define NIMBLE_AUTOCONN_PHY_MODE   NIMBLE_PHY_1M

Default BLE PHY mode used by autoconn.

Definition at line 71 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_SCAN_ITVL_MS

#define NIMBLE_AUTOCONN_SCAN_ITVL_MS   (1500U) /* 1.5s */

Definition at line 45 of file nimble_autoconn_params.h.

◆ NIMBLE_AUTOCONN_SCAN_WIN_MS

#define NIMBLE_AUTOCONN_SCAN_WIN_MS   (110U) /* 110ms */

Definition at line 48 of file nimble_autoconn_params.h.

Variable Documentation

◆ nimble_autoconn_params

const nimble_autoconn_params_t nimble_autoconn_params
static
Initial value:
=
NIMBLE_AUTOCONN_PARAMS

nimble_netif_autoconn configuration

Definition at line 99 of file nimble_autoconn_params.h.