GNRC netif implementation for NimBLE. More...
GNRC netif implementation for NimBLE.
Definition in file nimble_netif.h.
Include dependency graph for nimble_netif.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | NIMBLE_NETIF_MAX_CONN (MYNEWT_VAL_BLE_MAX_CONNECTIONS) |
| The maximum number of BLE connections that can be open concurrently. More... | |
| #define | NIMBLE_NETIF_CID (BLE_L2CAP_CID_IPSP) |
| Default L2CAP channel ID to use. | |
| #define | NIMBLE_NETIF_MTU (1280U) |
| Default MTU size supported by the NimBLE netif wrapper. | |
Typedefs | |
| typedef void(* | nimble_netif_eventcb_t) (int handle, nimble_netif_event_t event, const uint8_t *addr) |
| Event callback signature used for asynchronous event signaling. More... | |
Functions | |
| void | nimble_netif_init (void) |
| Initialize the netif implementation, spawns the netif thread. More... | |
| void | nimble_netif_eventcb (nimble_netif_eventcb_t cb) |
| Register a global event callback, servicing all NimBLE connections. More... | |
| int | nimble_netif_connect (const ble_addr_t *addr, const struct ble_gap_conn_params *conn_params, uint32_t timeout) |
| Open a BLE connection as BLE master. More... | |
| int | nimble_netif_close (int handle) |
| Close the connection with the given handle. More... | |
| int | nimble_netif_accept (const uint8_t *ad, size_t ad_len, const struct ble_gap_adv_params *adv_params) |
| Accept incoming connections by starting to advertise this node. More... | |
| int | nimble_netif_accept_stop (void) |
| Stop accepting incoming connections (stop advertising) *. More... | |
| int | nimble_netif_update (int handle, const struct ble_gap_upd_params *conn_params) |
| Update the connection parameters for the given connection. More... | |