Driving sim 900 gsm module on interrupt.

hi guys...

I really don't know whether it is possible or not, but I want that whenever the GSM module receives a message it should trigger a particular function just like interrupts do. so, is it possible that gsm sim 900 module can receive a message and trigger particular function on its reception.

well you could always use

void serialEvent(){...}

However, it is not an interrupt, it just checks if there was a newly received character AFTER loop()

Although, couldn't you just connect the TX line on the GSM shield onto both the RX pin and an interrupt pin on the arduino? That way whenever something is received you will know about it?

Or...Doesn't your module have an RTS pin (Request To Send)? That is your queue that the GSM wants to send something to you. Plug that into your interrupt.