nRF Connect SDK API 0.1.0
|
int aws_fota_init | ( | aws_fota_callback_t | evt_handler | ) |
#include <include/net/aws_fota.h>
Initialize the AWS Firmware Over the Air library.
evt_handler | Callback function for events emitted by the aws_fota library. |
0 | If successfully initialized. |
-EINVAL | If the passed in event handler is NULL. |
-EPERM | If the library has already been initialized. |