Pick up a simple code of serial interfacing through which u can Tx n Rx with interrupt.
sent "+CMTI: "SM",28\r\n "
and wait for receive interrupt flag to be high den read the Rx buffer,
compare that buffer with desired string using "strcmp"
n return whtever u want