Code to Send "SMS" from GSM SIM900 module using PIC18F4520

Code to Send "SMS" from GSM SIM900 module using PIC18F4520

 ♦️AT

AT Command returns "OK" which implies that Communication between Device and Application has been verified

♦️AT+CMGF
Syntax:AT+CMGF=<mode>
0:For PDU mode
1:For Text mode
This command is used to Set SMS mode
Either Text or PDU mode can be selected by assigning 1 or 0 in the command

♦️AT+CMGS="recipient mobile number"
This AT command is used to Send SMS to a particular Mobile number
The messages can be send in Text mode or PDU mode

Below is the C code:


Thanks to Abhishek Mane for contributing this to our blog. He can be reached at below LinkedIn profile.

Post a Comment

0 Comments