If my OpenAt application is running and I try to send an SMS message using AT+CMGS I always get “+CME ERROR: 515”. If I stop the OpenAT application (AT+WOPEN=0) then the AT+CMGS works and the message is sent.
I thought this was because my application was calling adl_smsSubscribe(), but after changing it so that it only calls adl_smsSubscribe() when needed I still get the same result (when my application wants to send an SMS message it calls adl_smsSubscribe(), sends the message and then calls adl_smsUnsubscribe()). I’m using OpenAT 3.01.
I’ve just noticed that AT+CGMR doesn’t work while my application is running either.
I know what the “+CME ERROR: 515” is supposed to mean, but it doesn’t make sense, because my application has no problem sending an SMS message and neither does AT+CMGS if I stop the application.