Hi NithishChauhan,
This is the Edison forum and your question is related to the Galileo Board. I've checked that you already posted this question here: Intel galileo Serial1.read problem...... and you received a suggestion as well. Please check your original post in Galileo forum.
Regards,
Diego.