50#ifndef NIMBLE_STATCONN_H
51#define NIMBLE_STATCONN_H
65#ifndef NIMBLE_STATCONN_ADV_ITVL_MS
66#define NIMBLE_STATCONN_ADV_ITVL_MS (90U)
72#ifndef NIMBLE_STATCONN_CONN_WIN_MS
73#define NIMBLE_STATCONN_CONN_WIN_MS (100U)
79#ifndef NIMBLE_STATCONN_CONN_TIMEOUT_MS
80#define NIMBLE_STATCONN_CONN_TIMEOUT_MS (600U)
90#ifndef NIMBLE_STATCONN_CONN_ITVL_MIN_MS
91#define NIMBLE_STATCONN_CONN_ITVL_MIN_MS (75U)
98#ifndef NIMBLE_STATCONN_CONN_ITVL_MAX_MS
99#define NIMBLE_STATCONN_CONN_ITVL_MAX_MS (75U)
105#ifndef NIMBLE_STATCONN_CONN_LATENCY
106#define NIMBLE_STATCONN_CONN_LATENCY (0)
112#ifndef NIMBLE_STATCONN_CONN_SUPERTO_MS
113#define NIMBLE_STATCONN_CONN_SUPERTO_MS (2500U)
120#ifndef NIMBLE_STATCONN_PHY_MODE
121#define NIMBLE_STATCONN_PHY_MODE NIMBLE_PHY_1M
nimble_phy_t
BLE PHY modes.
void(* nimble_netif_eventcb_t)(int handle, nimble_netif_event_t event, const uint8_t *addr)
Event callback signature used for asynchronous event signaling.
int nimble_statconn_add_master(const uint8_t *addr, const nimble_statconn_cfg_t *cfg)
Connect to peer (master) with a given address as slave.
int nimble_statconn_add_slave(const uint8_t *addr, const nimble_statconn_cfg_t *cfg)
Connect to a peer (slave) with a given address as master.
int nimble_statconn_rm(const uint8_t *addr)
Remove the connection to the given peer.
void nimble_statconn_init(void)
Initialize the statconn module.
void nimble_statconn_eventcb(nimble_netif_eventcb_t cb)
Register a callback that is called on netif events.
GNRC netif implementation for NimBLE.
Statconn connection parameters.
nimble_phy_t phy_mode
BLE PHY mode used for the connection.