hi I have connected to the RXD, TXD signals of 8031 to PC. The 8031 is sending a string AT+cmgrusing printf statement (hyper terminal display AT+cmgr, when i type message successful in hyperterminal (8031 is receiving this message and storing the same in the 8031 external memory) Now i have connected the TXD and RXD signals of 8031 to GSM modem and sending a command AT+cmgs = 9845055406 0x0d using printf command "send sms" 0x1A using printf statement, TheGSM modem is sending sms. When i try to read the message from gsm modem (using function gets) it is not working any help to solve this problem thanks aswathnarayana