What have you tried so far?

You're using the custom serial device to output hex?