I’ve been able to talk to the GSM862 from the pic. I was able to change the service address and I verified this by putting the SIM card to my phone. However, I’m having some issues in sending text messages. The following is the commands that I have to do so:
at+cmgf=1
WriteUART(0x0A)
WriteUART(0x0D) //this is carriage return
at+csca = +13123149810
WriteUART(0x0A)
WriteUART(0x0D) //this is carriage return
at#smsmode=0
WriteUART(0x0A)
WriteUART(0x0D) //this is carriage return
at+csmp=“17,167,0,0”
WriteUART(0x0A)
WriteUART(0x0D) //this is carriage return
at+cmgs=“xxxxxxxxxx” //USA phone number
WriteUART(0x0A)
WriteUART(0x0D) //this is carriage return
delay some time for the “>”
Write text message here
WriteUART(0x1A) //CTRL-Z
is there anything that I am missing? I do not need to receive SMS, I’m just sending them.
Thanks