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

◆ modem_mode_cb_t

typedef int(* modem_mode_cb_t) (enum lte_lc_func_mode new_mode, void *user_data)

#include <include/net/lwm2m_client_utils.h>

Callback to request a modem state change, being it powering off, flight mode etc.

Returns
0 if mode was set successfully
positive value to indicate seconds before retry
negative error code in case of a failure