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.
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.