I am sending data continuously to a remote server using the SIM300 GSM/GPRS modem connected to an Arduino Uno. At the same time I want to check if I have received an SMS on the SIM card.
In the setup function I have configured the modem to GPRS mode and executing the AT+CIPSEND continuously to send data in the main loop program. In my interrupt routine I want to check for the SMS notification using the AT+CNMI command. So is it OK to check for SMS notifications while the modem is operating in GPRS mode or is there a clash of SMS and GPRS mode because the interrupt modem is running asynchronously along with the main program?