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

◆ lte_lc_periodic_search_set()

int lte_lc_periodic_search_set ( const struct lte_lc_periodic_search_cfg *const cfg)

#include <include/modem/lte_lc.h>

Configure periodic searches.

This configuration affects the periodic searches that the modem performs in limited service state to obtain normal service. See lte_lc_periodic_search_cfg and "nRF91 AT Commands - Command Reference Guide" for more information and in-depth explanations of periodic search configuration.

Note
Requires
CONFIG_LTE_LC_PERIODIC_SEARCH_MODULE 
to be enabled.
Parameters
[in]cfgPeriodic search configuration.
Return values
0if the configuration was successfully sent to the modem.
-EINVALif an input parameter was NULL or contained an invalid pattern count.
-EFAULTif an AT command could not be sent to the modem.
-EBADMSGif the modem responded with an error to an AT command.