We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I am using 8051 to control teh GSM module. Both are working fine with the terminal commands. But when I send the same command from the controlle rto modem, modem is not responding. i iwant the information from teh modem. so first I send the command and then I activated the serial interrupt to recive the data from the modem. Some where I am missing it out. Can somebody help me in thsi regard.thank you
Search the forum for "GSM" or "GSM Modem" - it's all been said before!
...first I send the command and then I activated the serial interrupt to recive the data from the modem.
You should not wait until you have sent a command to the modem until you set up and enable your serial interrupt routine. You do that first of all, so it is ready to capture all data - including any possible echo from sending the command.
If using interrupts to receive data, it is often smart to use interrupts for sending data too. This leaves your application ready to process other I/O while the command is sent out.