MODSERIAL and 9th bit (wakeup)

14 Apr 2011

Hi Andy, another question about the MODSERIAL lib.

I try to implement a protocol that uses the 9th bit as a wakeup bit (ancient Intel comms feature). The mbed needs to detect messages received with the first byte having the 9th bit set.

If I had to send a message like this I would set the parity to force1, send the data byte and then set the parity back to force0. But I need it for receiving. Do I just check of parity errors?

Cheers Andreas

14 Apr 2011

Like your other post regarding modserial, you'd probably need to build your own library to handle this. There's nothing in modserial to handle a 9th bit.