I am using the HL7688 4G module. I am sending AT commands via a microcontroller to an HL7688.
at+cmgs=“< number>”
hello
+CMGS: 8
OK
Everything looks like it worked, but I do not see the SMS appear at the destination. I am using a AT&T sim card. I register the APN successfully with attiotdemo.
when I check the registration of SIM, it is registered.
at+creg?
+CREG: 0,1
OK
at+cereg?
+CEREG: 0,1
OK
For +cops, I see it on the AT&T network.
at+cops?
+COPS: 0,2,“310410”,2
OK
also not able to get the SIM number,
at+cnum?
+CME ERROR: 3
So, it looks like SIM is register but not able to send and receive the SMS also not getting the SIM number.
You could check the phone number if it is written to SIM by command
AT+CNUM
Please note that, this command does not have the question mark at the end.
Could you please try to send the following commands and share with me their responses? According to the responses, we will have more information about the issue you faced
Hi varun.sahni,
You are using AT&T SIM card and registered to AT&T network. However, the Service Center Address for SMS service is not correct. That’s why the message cannot be sent successfully
According to AT&T website, the SCA should be “+13123149810”, not “+19703769800” as your showed.
Could you please try to set SCA again?
AT+CSCA=“+13123149810”,145
then reset module. After reset, I think you can send SMS successfully.