64 #ifndef NIMBLE_STATCONN_ADV_ITVL_MS
65 #define NIMBLE_STATCONN_ADV_ITVL_MS (90U)
71 #ifndef NIMBLE_STATCONN_CONN_WIN_MS
72 #define NIMBLE_STATCONN_CONN_WIN_MS (100U)
78 #ifndef NIMBLE_STATCONN_CONN_TIMEOUT_MS
79 #define NIMBLE_STATCONN_CONN_TIMEOUT_MS (600U)
89 #ifndef NIMBLE_STATCONN_CONN_ITVL_MIN_MS
90 #define NIMBLE_STATCONN_CONN_ITVL_MIN_MS (75U)
97 #ifndef NIMBLE_STATCONN_CONN_ITVL_MAX_MS
98 #define NIMBLE_STATCONN_CONN_ITVL_MAX_MS (75U)
104 #ifndef NIMBLE_STATCONN_CONN_LATENCY
105 #define NIMBLE_STATCONN_CONN_LATENCY (0)
111 #ifndef NIMBLE_STATCONN_CONN_SUPERTO_MS
112 #define NIMBLE_STATCONN_CONN_SUPERTO_MS (2500U)
119 #ifndef NIMBLE_STATCONN_PHY_MODE
120 #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.