Hi,
When I send 0xff over serial, I only recv 0x7f. My write/read type is unsigned char, so I can't see why I'm not recv'ing the MSB. Any ideas?
Thank you.
Printable View
Hi,
When I send 0xff over serial, I only recv 0x7f. My write/read type is unsigned char, so I can't see why I'm not recv'ing the MSB. Any ideas?
Thank you.
Solved: As I suspected, it was a serial port config issue. I had the strip
parity bit option set (i.e. options.c_iflag |= (INPCK | ISTRIP)).