5.3.1.17.1.2. cli.com.can_com.CANProcess

class cli.com.can_com.CANProcess(name: str, control: ComControl, parameter: CanBusConfig)

Bases: ProcessInterface

Process for handling CAN bus communication. Manages low-level connections, sending, and receiving of CAN messages.

run() → None

Start the CAN process.

  • Connect to the CAN bus

  • Start a thread for sending messages

  • Receive CAN messages in the main thread