![]() |
Midnight Sun Firmware
|
CAN Settings. More...
#include <fota_can.h>
Public Attributes | |
uint16_t | device_id |
FotaCanBitrate | bitrate |
bool | loopback |
bool | silent |
CAN Settings.
TX Pin will transmit data. RX pin will receive data. The bitrate is the number of bits sent per second. The device ID is the CAN ID of the STM32 node. Loopback will internally connect the transmit and receive CAN lines for testing. Silent mode is used for only listening to the bus.
FotaCanBitrate bitrate |
Bits per second
uint16_t device_id |
Device CAN ID
bool loopback |
Enables self-listening for message debugging
bool silent |
Device can listen but not transmit messages