UART communication with NDIR HC SJH-5 (methane gas sensor)

Well. Hummm. Dang! I am unable to reproduce your code that does not work from the description of your issue. Perhaps you could describe what it means by does not work and post your code in code tags?