Skip to main content

Socketcan

socketcan.down#

Bring down CAN interface.

OPTIONAL ARGUMENTS

  • interface (str): CAN interface. Default is can0.

socketcan.help#

Shows this help information.


socketcan.show#

Show current information for CAN interface.

OPTIONAL ARGUMENTS

  • interface (str): CAN interface. Default is can0.
  • details (bool): Include details. Default is False.
  • stats (bool): Include statistics. Default is False.

socketcan.up#

Bring up CAN interface.

OPTIONAL ARGUMENTS

  • interface (str): CAN interface. Default is can0.
  • bitrate (int): Default is 500000.
  • dbitrate (int): CAN-FD data bitrate.