The MESG_SERIAL_ERROR_ID is a response to a poorly formed serial message (no sync byte/invalid size/checksum mismatch) on an USB2 device (nRF24AP2-USB or ANTUSB2). The messages you are sending seem formatted correctly, so it would seem that serial communication is not working correctly.
The data portion of this message can be used to debug what was wrong with the USB packet, and could be useful while you are developing your Linux drivers.
The first byte of the data payload is the error number
0 - the first byte of the USB data packet was not the ANT serial message Tx synce byte (0xA4)
2 - the checksum of the ANT message was incorrect
3 - the size of the ANT message was too big
Unfortunately, we are not very familiar with Linux development and are unable to support this development. However, some of our users have been successful working with ANT on Linux. The following posts from our forum might be helpful:
www.thisisant.com/component/option,com_f...iew/catid,25/id,799/