Binary to Ascii and back again
Posted
by rross
on Stack Overflow
See other posts from Stack Overflow
or by rross
Published on 2010-05-17T20:07:39Z
Indexed on
2010/05/17
20:10 UTC
Read the original article
Hit count: 1366
I'm trying to interface with a hardware device via the serial port. When I use software like Portmon to see the messages they look like this:
42 21 21 21 21 41 45 21 26 21 29 21 26 59 5F 41 30 21 2B 21 27
42 21 21 21 21 41 47 21 27 21 28 21 27 59 5D 41 32 21 2A 21 28
When I run them thru a hex to ascii converter the commands don't make sense. Are these messages in fact something different than hex? My hope was to see the messages the device is passing and emulate them using c#. What can I do to find out exactly what the messages are?
© Stack Overflow or respective owner