I am trying to interface
PIC18F2520. I need to send SMS to a particular cell number. According to AT commands,
AT+CMGS="number" is used to send SMS. After sending this command, we have to write our message and then press Ctrl+Z to terminate it. SIM 900 will then send the SMS.
I am doing the same thing as above but not able to send SMS. Following is the code:
putrsUSART("AT+CMGS=\"96********\"\r); //command with number putrsUSART("Hello"); //message content putrsUSART("0x1A"); /to terminate it
but after sending these commands I am not receiving any SMS. I am confused with how to send
0x1A to SIM900. How to actually send hex numbers via UART?
I am able to send sms but the sms is empty. I have attached a image of the response: