How to achieve NB-IoT/LTE-M fallback in NRF9160 ?

I'm Using sim card which support both LTE and NB-IoT. In some areas i can't use LTE-M and in that case i need to switch it to NB-IoT. I referred and there is fallback method which can do this. I want to know how to do that in code. Can somebody help me to figure it out please. I'm new to this game. 

Related