This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

lte_lc_system_mode_set(); not sticking

I want to change between LTE-M and NB-IOT, however lte_lc_system_mode_set(); is not actually changing the mode.

I am doing something like this

//lte_lc_system_mode_set(LTE_LC_SYSTEM_MODE_LTEM);
lte_lc_init();
//lte_lc_system_mode_set(LTE_LC_SYSTEM_MODE_LTEM);
lte_lc_connect();
	if (err)
	{
        //lte_lc_system_mode_set(LTE_LC_SYSTEM_MODE_LTEM);
	}
lte_lc_offline();

I can't rely on PSM/eDRX hence I am switching the modem on/off when I have to send something.

The Kconfig is set to NB-IOT with fallback disabled.

When lte_lc_connect() is called it ignores the mode setting and uses NB-IOT.

What do I have to do?

Parents Reply Children
Related