nRF Connect SDK API 2.8.99
|
int azure_iot_hub_init | ( | azure_iot_hub_evt_handler_t | event_handler | ) |
#include <include/net/azure_iot_hub.h>
Initialize the module.
[in] | event_handler | Pointer to event handler function. |
0 | If successful. |
-EALREADY | if the library has already been initialized and is in a state where it can not be re-initialized. |
-EINVAL | in invalid argument was provided. |