I am encountering a problem while working a custom UART communication between an Arduino and a revolution board. I am modifying the firmware pios/com layer to enable exchanging arbitrary bytes over UART on the main_port of revolution. I added a new "use case" on top of the existing GPS/Telemetry/DEBUGCONSOLE etc. and use PIOS_COM_SendBuffer to communicate. it seems to work well, as the Arduino successful receives the "Hello world" sent from Revolution.
However whenever I use PIOS_COM_SendBuffer to send a sequence of binary bytes, any byte of value 0x11 or 0x13 simply disappears over the wire. It is making the protobuf decoding to fail on the Arduino side.
Does anyone know why it is so?