Hello,
I want my nrf9160DK to use LTE-M, but when that is not available to switch over to NB-IoT.
I have enabled both in my prj.conf using:
CONFIG_LTE_MODE_PREFERENCE_LTE_M LTE-M is preferred over PLMN selection. The modem will prioritize to use LTE-M and switch over to a PLMN where LTE-M is available whenever possible.
CONFIG_LTE_MODE_PREFERENCE_LTE_M_PLMN_PRIO LTE-M is preferred, but PLMN selection is more important. The modem will prioritize to stay on home network and switch over to NB-IoT if LTE-M is not available.