Hi there,
It looks like you are using the wrong AT application for what you are trying to do.
The simple_at application is designed to demonstrate hardcoded at commands one at a time and then shutdown. This application does not offer the ability to accept UART messages and run them, it is simply a demo program that runs and then sits idle until a reset.
The at_client application found in the ncs repository is an AT application that you can manually enter AT commands via the USB-UART bridge using the LTE Link Monitor for nRF Connect. If you flash that application to your device, you can enter all the commands you have tried to send in the image above.
Hi,
I tried at_client application also. All AT commands are running. Except CMGS. It shows error. I have to send sms using Nordic nrf9160dk. How can I do that. Please help me with it.
A screenshot of part of your code doesn't help me much. Please attach the .c file so I can reproduce your error.
Jagruti said:Am I using AT commands correctly or there is some mistake?
It looks like you're using the correct AT commands.
Thank you. From the +CNUM documentation:
An ERROR response is returned if MSISDN is not available on SIM card or if SIM card is not initialized.
So the MSISDN is probably not available on the Boyugues SIM card.
Again, have you confirmed that the network you are on supports SMS?
Have you made sure the prj.conf file enables the correct configs with regard to what network you're on?
Are you on NB-IoT or LTE-M?
Please attach your full working directory including the prj.conf file and CMakeLists.txt file.
Hello,
I changed the prj.conf file and used Orange Sim Card as Free sim was not working. Now I am able to send the sms.
Thank you for the help.
Hi,
Now I want to send gps coordinates via sms. I am working on gps program. How can I do that? Is there any program available?
Thanks
Hi,
Now I want to send gps coordinates via sms. I am working on gps program. How can I do that? Is there any program available?
Thanks
Hi, I see you've already made a new ticket with this new issue. Please wait for a response there. Since you solved the issue related to this ticket, I will close this case.