Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions samples/cellular/gnss/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions samples/cellular/gnss/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
5 changes: 3 additions & 2 deletions samples/cellular/location/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 0 additions & 2 deletions samples/cellular/location/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(&lte_connected, K_FOREVER);
Expand Down