Enable NB-IOT and LTE-M at the same time

Dear All,

I am building an application that needs to use NB-IOT and if that is not available then use LTE-M.

I tried sending this AT Command:


But this returns an error.

What I noticed is that if I enable both NB and LTE-M this command returns ERROR.

So I would like to ask if there is any way to achieve the following behaviour:

Check for NB-IOT network and if there is no connection to such network turn to LTE-M

Thank you all.