sending 2 SMS back to back using SIM300 through 8051
Hi all,
I am trying to send 2 SMS back to back using SIM300 through 8051 microcontroller but i observe that the 2nd SMS is not getting delivered. However transmission of 1st SMS is successful.
Surely there is a problem in my code which i am not able to identify. Can anyone guide me and find the mistake which i am doing?? Please find the GSM FUNCTION attached below.
1) first debugg whether in your controller is sending command , number and massage body correcly i.e check your uart tx reg in debug or at serial window.
2) check at receive pin what youe getting from GSM
3) if everything is fine increase some delay i.e delay_ms(3000); to delay_ms(5000); & delay_ms(1000); to delay_ms(3000);