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

◆ lwm2m_carrier_request()

int lwm2m_carrier_request ( int  request)

#include <lib/bin/lwm2m_carrier/include/lwm2m_carrier.h>

Request the LwM2M carrier library to perform an action.

This function will behave differently depending on the chosen request.

Parameters
[in]requestlwm2m_carrier_request_values to be sent to the LwM2M carrier library.
Return values
0If all requests were scheduled successfully.
-EINVALIf an invalid request was selected.
-EPERMIf the selected request is not supported for the carrier.
-EBADRIf the selected request was not scheduled.
-EALREADYIf a registration was requested when a registration was already scheduled.