I used this program using codevision AVR. It tests AT and AT+CMGF=1 command..
I have uploaded the program in text file since I had trouble coding it and replying.. I was getting error message "Method not implemented".
As you can see the program tests AT and AT+CMGF=1
An LED connected to PORTA.0
a) Blinks if AT works and AT+CMGF=1 doesn't
b) Becomes ON if both AT and AT+CMGF=1 work
c) Remains OFF if both AT and AT+CMGF=1 work.
When I tested this program on ATmega32 with 16Mhz oscillator, the LED remained OFF. Connections are fine and GSM modem supports both commands when tested on PC & works on 9600 Baud rate.
Can someone figure out what might have gone wrong ?? Sorry for starting new thread, I had problems replying in old one.. Please reply.. Thanks..