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

◆ lwm2m_init_security()

int lwm2m_init_security ( struct lwm2m_ctx *  ctx,
char *  endpoint,
struct modem_mode_change mmode 
)

#include <include/net/lwm2m_client_utils.h>

Initialize Security object support for nrf91.

This wrapper will install hooks that allows device to do a proper bootstrap and store received server settings to permanent storage using Zephyr settings API. Credential are stored to modem and no keys would enter the flash.

Note
This API calls settings_subsys_init() and should only be called after the settings backend (Flash or FS) is ready.