Skip to content

Commit b0c0af6

Browse files
tokangasrlubos
authored andcommitted
samples: cellular: gnss: Disable use of eDRX
The sample used to have both PSM and eDRX enabled. This causes bad behavior in some networks, so it is better to disable eDRX and use only PSM, which suits the use case better. Signed-off-by: Tommi Kangas <[email protected]>
1 parent 617be13 commit b0c0af6

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

samples/cellular/gnss/prj.conf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ CONFIG_GNSS_SAMPLE_ASSISTANCE_NRF_CLOUD=n
2020

2121
# LTE Link Control
2222
CONFIG_LTE_LINK_CONTROL=y
23-
# Request eDRX from the network
24-
CONFIG_LTE_LC_EDRX_MODULE=y
25-
CONFIG_LTE_EDRX_REQ=y
26-
# PSM requested periodic TAU 8 hours
2723
CONFIG_LTE_LC_PSM_MODULE=y
24+
CONFIG_LTE_PSM_REQ=y
25+
# PSM requested periodic TAU 8 hours
2826
CONFIG_LTE_PSM_REQ_RPTAU="00101000"
2927
# PSM requested active time 6 seconds
3028
CONFIG_LTE_PSM_REQ_RAT="00000011"

samples/cellular/gnss/src/main.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,6 @@ static int modem_init(void)
452452
#if defined(CONFIG_GNSS_SAMPLE_LTE_ON_DEMAND)
453453
lte_lc_register_handler(lte_lc_event_handler);
454454
#elif !defined(CONFIG_GNSS_SAMPLE_ASSISTANCE_NONE)
455-
lte_lc_psm_req(true);
456-
457455
LOG_INF("Connecting to LTE network");
458456

459457
if (lte_lc_connect() != 0) {

0 commit comments

Comments
 (0)