How to read and parse UART HEX data?

Found here