nRF Connect SDK API 0.1.0
|
Data Structures | |
struct | lwm2m_carrier_lg_uplus_config_t |
struct | lwm2m_carrier_config_t |
Functions | |
int | lwm2m_carrier_main (const lwm2m_carrier_config_t *config) |
LwM2M enabled carriers | |
To be set in lwm2m_carrier_config_t::carriers_enabled. | |
#define | LWM2M_CARRIER_GENERIC 0x00000001 |
#define | LWM2M_CARRIER_VERIZON 0x00000002 |
#define | LWM2M_CARRIER_LG_UPLUS 0x00000008 |
#define | LWM2M_CARRIER_T_MOBILE 0x00000010 |
#define | LWM2M_CARRIER_SOFTBANK 0x00000020 |
#define | LWM2M_CARRIER_BELL_CA 0x00000040 |
LwM2M Server binding | |
To be set in lwm2m_carrier_config_t::server_binding. | |
#define | LWM2M_CARRIER_SERVER_BINDING_UDP 0x01 |
#define | LWM2M_CARRIER_SERVER_BINDING_NONIP 0x02 |
PDN types | |
To be set in lwm2m_carrier_config_t::pdn_type. | |
#define | LWM2M_CARRIER_PDN_TYPE_IPV4V6 0 |
#define | LWM2M_CARRIER_PDN_TYPE_IPV4 1 |
#define | LWM2M_CARRIER_PDN_TYPE_IPV6 2 |
#define | LWM2M_CARRIER_PDN_TYPE_NONIP 3 |
LG U+ Device Serial Number types | |
To be set in lwm2m_carrier_lg_uplus_config_t::device_serial_no_type. | |
#define | LWM2M_CARRIER_LG_UPLUS_DEVICE_SERIAL_NO_IMEI 0 |
#define | LWM2M_CARRIER_LG_UPLUS_DEVICE_SERIAL_NO_2DID 1 |
You can configure the carrier library startup using the structs and macros defined here.
When calling lwm2m_carrier_main you can either give NULL
as a parameter to use default settings, or give a lwm2m_carrier_config_t to use custom settings. For example to connect to a different server than the factory default, carrier defined servers.