Receiving sms on SIM module A900, mikroC

Please check the frequently asked questions before posting to the forum.
Post Reply
Author
Message
SyedFahad
Posts: 1
Joined: 12 Jul 2014 12:37

Receiving sms on SIM module A900, mikroC

#1 Post by SyedFahad » 12 Jul 2014 12:56

Hi, I am using sim module A900 with pic 18f452 and mikroC.
I am able to send the sms but didn't know how to receive sms. Please help. This is the part of 'Sending sms' only. Thanks

Code: Select all

void main()
{

 
 
 UART1_Init(9600);
 UART1_Write_Text("ATE0");
 UART1_Write(13);
 UART1_Write(10);
 Delay_ms(1500);
         
  UART1_Write_Text("AT+CMGF=1");
  UART1_Write(13);
  UART1_Write(10);
  Delay_ms(1500);
     
  while(1){
  UART1_Write_Text("AT+CMGS=") ;
  Delay_ms(500);

  UART1_Write_Text("\"+923331234567\"");
  UART1_Write(13);
  UART1_Write(10);
  Delay_ms(1500);
 
  UART1_Write_Text("HIHELLO");
  UART1_Write(26) ;
  Delay_ms(1500);

Post Reply

Return to “mikroPascal FAQ”