autosportlabs / RaceCapture-Pro_firmware

Firmware for RaceCapture-Pro Data Acquisition, control and Telemetry system for motorsports
GNU General Public License v3.0
66 stars 35 forks source link

Broadcast alertmessage on CAN bus #1054

Closed brentpicasso closed 4 years ago

brentpicasso commented 4 years ago

Broadcast alertmessages on CAN bus.

Alertmessages can be up to 16 characters, so broadcast alert messages across two messages.

Alert message priorities are also supported. Base CAN addresses indicate alertmessage type (priority) and offset.

Priority indicator is 0 based

message first half: address = base_address + (2 priority) message 2nd half: address = base_address + (2 priority) + 1