nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ aws_fota_init()

int aws_fota_init ( aws_fota_callback_t  evt_handler)

#include <include/net/aws_fota.h>

Initialize the AWS Firmware Over the Air library.

Parameters
evt_handlerCallback function for events emitted by the aws_fota library.
Return values
0If successfully initialized.
-EINVALIf the passed in event handler is NULL.
-EPERMIf the library has already been initialized.
Returns
Negative value on error.