Simple automated connection manager for NimBLE netif. More...
Simple automated connection manager for NimBLE netif.
Definition in file nimble_autoconn.h.
Include dependency graph for nimble_autoconn.h:Go to the source code of this file.
Data Structures | |
| struct | nimble_autoconn_params_t |
| Set of configuration parameters needed to run autoconn. More... | |
Enumerations | |
| enum | { NIMBLE_AUTOCONN_OK = 0 , NIMBLE_AUTOCONN_PARAMERR = -1 , NIMBLE_AUTOCONN_ADERR = -2 } |
| Return codes used by the autoconn module. More... | |
Functions | |
| int | nimble_autoconn_init (const nimble_autoconn_params_t *params, const uint8_t *ad, size_t adlen) |
| Initialize and enable the autoconn module. More... | |
| void | nimble_autoconn_eventcb (nimble_netif_eventcb_t cb) |
| Register a callback that is called on netif events. More... | |
| int | nimble_autoconn_update (const nimble_autoconn_params_t *params, const uint8_t *ad, size_t adlen) |
| Update the used parameters (timing and node ID) More... | |
| void | nimble_autoconn_enable (void) |
| Enable automated creation of new BLE connections. | |
| void | nimble_autoconn_disable (void) |
| Disable the automated connection management. More... | |