This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

at_client and simple_at programs doesn't work to send SMS by using AT+CMGS command

Hello,

I have to send SMS from NORDIC nrf9160dk which is using iBASIS sim card to my mobile phone. For this I tried two programs (at_client and simple_at). But nothing works. I am using AT+CMGS command to send SMS, but it always shows error or it is timed out. Could anybody help me with this? what is the sequence of AT commands to send SMS. AT+CNUM also always shows error. I tried using my sim card (Bouygues operator), still it is not working.

If there is any other program which I can try please tell me. 

Thank you

Parents Reply
  • Hello, I am not able to connect via local SIM as well. I am using Free SIM. 

    Sequence of AT commands which I am using 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 doing any mistake while entering AT commands?

    LTE monitor stops at ***** Booting Zephyr OS v1.14.99-ncs2 *****. Nothing happens after this.

    I have attached screenshot for code.

    Please help me with it

    Thank you

Children
Related