Receiving SMS using GSM and controlling LED using Arduino
your code is good for serial terminal, but not for GSM modem. It always take command in form of AT use AT+CMGR=1 to read the message.... send this command to modem and see the reply....