nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
LwM2M carrier library API.

Functions

void lwm2m_carrier_on_modem_init (int result)
 
void lwm2m_carrier_on_modem_cfun (int mode)
 
void lwm2m_carrier_on_modem_shutdown (void)
 
int lwm2m_carrier_request (int request)
 
int lwm2m_carrier_data_send (const uint16_t *path, uint8_t path_len)
 
int lwm2m_carrier_custom_init (lwm2m_carrier_config_t *config)
 

LwM2M carrier library modem initialization results

Used to pass on the modem update result in lwm2m_carrier_on_modem_init().

#define LWM2M_CARRIER_MODEM_INIT_SUCCESS   0
 
#define LWM2M_CARRIER_MODEM_INIT_UPDATED   1
 
#define LWM2M_CARRIER_MODEM_INIT_UPDATE_FAILED   2
 

LwM2M carrier requests

Used in lwm2m_carrier_request().

#define LWM2M_CARRIER_REQUEST_REBOOT   0
 
#define LWM2M_CARRIER_REQUEST_LINK_UP   1
 
#define LWM2M_CARRIER_REQUEST_LINK_DOWN   2
 
#define LWM2M_CARRIER_REQUEST_REGISTER   3
 
#define LWM2M_CARRIER_REQUEST_DEREGISTER   4
 

Detailed Description

This section describes the needed interaction between the LwM2M carrier library and the user application.