When multiple network modes are enabled (LTE-M and NB-IoT), you can set preferences (LTE_MODE_PREFERENCE):
- No preference: Automatically selected by the modem.
- LTE-M: Prioritize LTE-M over PLMN selection.
- NB-IoT: Prioritize NB-IoT over PLMN selection.
- LTE-M, PLMN prioritized: Prefer LTE-M but prioritize staying on home network.
- NB-IoT, PLMN prioritized: Prefer NB-IoT but prioritize staying on home network.
Example configuration in prj.conf:
# Enable both LTE-M and NB-IoT with GPS
CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT_GPS=y
# Prefer LTE-M while prioritizing home network
CONFIG_LTE_MODE_PREFERENCE_LTE_M_PLMN_PRIO=y