nRF Connect SDK API 2.8.99
|
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.
CONFIG_LTE_LC_PERIODIC_SEARCH_MODULEto be enabled.
[in] | cfg | Periodic search configuration. |
0 | if the configuration was successfully sent to the modem. |
-EINVAL | if an input parameter was NULL or contained an invalid pattern count. |
-EFAULT | if an AT command could not be sent to the modem. |
-EBADMSG | if the modem responded with an error to an AT command. |