Have you tried to send the same command using hyperterminal? How was the response?
If you did, then connect your microcontroller to the PC hyperterminal and then run the code. You should get the same commands there. If you don’t get the same commands, then only you have to worry about the code. Otherwise it might be just a connection mistake.
Try and update the result.