nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
lwm2m_settings.h File Reference
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

bool lwm2m_settings_auto_startup_get (void)
 Check if automatic startup is enabled.
 
int lwm2m_settings_auto_startup_set (bool new_auto_startup)
 Enable or disable automatic startup.
 
bool lwm2m_settings_enable_custom_config_get (void)
 Determines whether the LwM2M custom settings are enabled.
 
int lwm2m_settings_enable_custom_config_set (bool new_enable_custom_config)
 Enable or disable the LwM2M custom settings.
 
uint32_t lwm2m_settings_carriers_enabled_get (void)
 Determines which carriers are enabled.
 
int lwm2m_settings_carriers_enabled_set (uint32_t new_carriers_enabled)
 Set enabled carriers.
 
bool lwm2m_settings_bootstrap_from_smartcard_get (void)
 Determines whether bootstrap from Smartcard mode is disabled.
 
int lwm2m_settings_bootstrap_from_smartcard_set (bool new_bootstrap_from_smartcard)
 Enable or disable bootstrap from Smartcard mode.
 
bool lwm2m_settings_is_bootstrap_server_get (void)
 Determines whether server_uri is an LwM2M Bootstrap-Server or an LwM2M Server.
 
int lwm2m_settings_is_bootstrap_server_set (bool new_is_bootstrap_server)
 Indicate if server_uri is an LwM2M Bootstrap-Server or an LwM2M Server.
 
const char * lwm2m_settings_server_uri_get (void)
 Retrieve the server URI from the custom LwM2M settings.
 
int lwm2m_settings_server_uri_set (const char *new_server_uri)
 Set or update the server URI in the custom LwM2M settings.
 
int32_t lwm2m_settings_server_lifetime_get (void)
 Retrieve the server lifetime from the custom LwM2M settings.
 
int lwm2m_settings_server_lifetime_set (const int32_t new_server_lifetime)
 Set or update the server lifetime in the custom LwM2M settings.
 
uint8_t lwm2m_settings_server_binding_get (void)
 Retrieve the server binding from the custom LwM2M settings.
 
int lwm2m_settings_server_binding_set (uint8_t new_server_binding)
 Set or update the server binding in the custom LwM2M settings.
 
int32_t lwm2m_settings_session_idle_timeout_get (void)
 Retrieve DTLS session idle timeout from the custom LwM2M settings.
 
int lwm2m_settings_session_idle_timeout_set (const int32_t new_session_idle_timeout)
 Set or update the DTLS session idle timeout in the custom LwM2M settings.
 
int32_t lwm2m_settings_coap_con_interval_get (void)
 Retrieve CoAP CON interval from the custom LwM2M settings.
 
int lwm2m_settings_coap_con_interval_set (const int32_t new_coap_con_interval)
 Set or update the CoAP CON interval in the custom LwM2M settings.
 
uint32_t lwm2m_settings_server_sec_tag_get (void)
 Retrieve the security tag from the custom LwM2M settings.
 
int lwm2m_settings_server_sec_tag_set (const uint32_t new_server_sec_tag)
 Set or update the security tag in the custom LwM2M settings.
 
const char * lwm2m_settings_apn_get (void)
 Retrieve the APN from the custom LwM2M settings.
 
int lwm2m_settings_apn_set (const char *new_apn)
 Set or update the APN in the custom LwM2M settings.
 
int32_t lwm2m_settings_pdn_type_get (void)
 Retrieve PDN type from the custom LwM2M settings.
 
int lwm2m_settings_pdn_type_set (uint32_t new_pdn_type)
 Set or update the PDN type in the custom LwM2M settings.
 
bool lwm2m_settings_enable_custom_device_config_get (void)
 Determines whether the LwM2M custom device settings are enabled.
 
int lwm2m_settings_enable_custom_device_config_set (bool new_enable_custom_device_config)
 Enable or disable the LwM2M device custom settings.
 
const char * lwm2m_settings_manufacturer_get (void)
 Retrieve the LwM2M device manufacturer name from the custom LwM2M settings.
 
int lwm2m_settings_manufacturer_set (const char *new_manufacturer)
 Set or update the LwM2M device manufacturer name in the custom LwM2M settings.
 
const char * lwm2m_settings_model_number_get (void)
 Retrieve the LwM2M device model number from the custom LwM2M settings.
 
int lwm2m_settings_model_number_set (const char *new_model_number)
 Set or update the LwM2M device model number in the custom LwM2M settings.
 
const char * lwm2m_settings_device_type_get (void)
 Retrieve the LwM2M device type from the custom LwM2M settings.
 
int lwm2m_settings_device_type_set (const char *new_device_type)
 Set or update the LwM2M device type in the custom LwM2M settings.
 
const char * lwm2m_settings_hardware_version_get (void)
 Retrieve the LwM2M device hardware version from the custom LwM2M settings.
 
int lwm2m_settings_hardware_version_set (const char *new_hardware_version)
 Set or update the LwM2M device hardware version in the custom LwM2M settings.
 
const char * lwm2m_settings_software_version_get (void)
 Retrieve the LwM2M device software version from the custom LwM2M settings.
 
int lwm2m_settings_software_version_set (const char *new_software_version)
 Set or update the LwM2M device software version in the custom LwM2M settings.
 
const char * lwm2m_settings_service_code_get (void)
 Retrieve the LG U+ Service Code from the custom LwM2M settings.
 
int lwm2m_settings_service_code_set (const char *new_service_code)
 Set or update the LG U+ Service Code in the custom LwM2M settings.
 
bool lwm2m_settings_device_serial_no_type_get (void)
 Determines the LG U+ Device Serial Number type to be used.
 
int lwm2m_settings_device_serial_no_type_set (bool new_device_serial_no_type)
 Indicate the LG U+ Device Serial Number type to be used.
 
uint16_t lwm2m_settings_firmware_download_timeout_get (void)
 Retrieve the firmware download timeout from the custom LwM2M settings.
 
int lwm2m_settings_firmware_download_timeout_set (const uint16_t new_firmware_download_timeout)
 Set or update the firmware download timeout in the custom LwM2M settings.
 
bool lwm2m_settings_queue_mode_get (void)
 Determines whether queue mode is disabled.
 
int lwm2m_settings_queue_mode_set (bool new_queue_mode)
 Enable or disable queue mode.
 
bool lwm2m_settings_auto_register_get (void)
 Determines whether automatic registration on LTE Attach is disabled.
 
int lwm2m_settings_auto_register_set (bool new_auto_register)
 Enable or disable automatic registration on LTE Attach.