diff --git a/samples/cellular/gnss/prj.conf b/samples/cellular/gnss/prj.conf index 465b7034b41c..b40140a273ac 100644 --- a/samples/cellular/gnss/prj.conf +++ b/samples/cellular/gnss/prj.conf @@ -20,11 +20,9 @@ CONFIG_GNSS_SAMPLE_ASSISTANCE_NRF_CLOUD=n # LTE Link Control CONFIG_LTE_LINK_CONTROL=y -# Request eDRX from the network -CONFIG_LTE_LC_EDRX_MODULE=y -CONFIG_LTE_EDRX_REQ=y -# PSM requested periodic TAU 8 hours CONFIG_LTE_LC_PSM_MODULE=y +CONFIG_LTE_PSM_REQ=y +# PSM requested periodic TAU 8 hours CONFIG_LTE_PSM_REQ_RPTAU="00101000" # PSM requested active time 6 seconds CONFIG_LTE_PSM_REQ_RAT="00000011" diff --git a/samples/cellular/gnss/src/main.c b/samples/cellular/gnss/src/main.c index 6a1f7ef62d5d..7e05771c4bb3 100644 --- a/samples/cellular/gnss/src/main.c +++ b/samples/cellular/gnss/src/main.c @@ -452,8 +452,6 @@ static int modem_init(void) #if defined(CONFIG_GNSS_SAMPLE_LTE_ON_DEMAND) lte_lc_register_handler(lte_lc_event_handler); #elif !defined(CONFIG_GNSS_SAMPLE_ASSISTANCE_NONE) - lte_lc_psm_req(true); - LOG_INF("Connecting to LTE network"); if (lte_lc_connect() != 0) { diff --git a/samples/cellular/location/prj.conf b/samples/cellular/location/prj.conf index 47b54c030c95..965d4cdd70a0 100644 --- a/samples/cellular/location/prj.conf +++ b/samples/cellular/location/prj.conf @@ -31,9 +31,10 @@ CONFIG_NET_SOCKETS_OFFLOAD=y # LTE link control CONFIG_LTE_LINK_CONTROL=y -CONFIG_LTE_LC_EDRX_MODULE=y -CONFIG_LTE_EDRX_REQ=y CONFIG_LTE_LC_PSM_MODULE=y +CONFIG_LTE_PSM_REQ=y +# Request periodic TAU of 8 hours +CONFIG_LTE_PSM_REQ_RPTAU="00101000" # Request PSM active time of 8 seconds. CONFIG_LTE_PSM_REQ_RAT="00000100" diff --git a/samples/cellular/location/src/main.c b/samples/cellular/location/src/main.c index 1ca33050065a..7a38a9de7fb5 100644 --- a/samples/cellular/location/src/main.c +++ b/samples/cellular/location/src/main.c @@ -258,8 +258,6 @@ int main(void) lte_lc_register_handler(lte_event_handler); - /* Enable PSM. */ - lte_lc_psm_req(true); lte_lc_connect(); k_sem_take(<e_connected, K_FOREVER);