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.
Hi, are you using the iBasis SIM card that comes with the DK?
If yes, it unfortunately, does not support SMS so you'll have to purchase a SIM card from a local provider that supports SMS.
If you are using a local provider already, take a look at this thread for more information. It provides a working example as well.
Best regards,
Heidi
Hi, are you using the iBasis SIM card that comes with the DK?
If yes, it unfortunately, does not support SMS so you'll have to purchase a SIM card from a local provider that supports SMS.
If you are using a local provider already, take a look at this thread for more information. It provides a working example as well.
Best regards,
Heidi
Hi, Now I am using my sim card (bouygues operator). But it stucks at ***** Booting Zephyr OS v1.14.99-ncs2 *****. Nothing happens after this. I am attaching the screenshots of prograpm with AT commands which I have used and terminal. Please tell me where I am doing mistake. Also AT+CNUM command shows ERROR.
Hi, I can't see where in your code you're sending the AT+CNUM command, nor can I see this from LTE Link Monitor. Please attach your complete code and the complete logfile from running the code on the DK.
Are you connecting with LTE-M or NB-IoT? Have you confirmed that Bouygues supports and has deployed SMS functionality?
Best regards,
Heidi
Hello,
When I was using Bouygues, it was showing error for AT+CNUM command. Now I am using Free sim card. It's not showing error. But when I run the code, LTE monitor stops at ***** Booting Zephyr OS v1.14.99-ncs2 *****. Nothing happens after this. I have attached the screenshot for code.
Sequence for AT command is:
"AT+CPIN=1234",
"AT+CFUN?",
"AT+CFUN=1",
"AT+CFUN?",
"AT+CNUM"
"AT+CEREG?",
"AT+CNMI=3,2,0,1",
"AT+CMGS=17\r07913396050096F511000B913367398624F30000AA03E8721E\x1A",
Am I using AT commands correctly or there is some mistake?
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.