1.1.3.6.1. cli.cmd_bootloader.bootloader_can_messages.extract_enum_from_dbc_file

cli.cmd_bootloader.bootloader_can_messages.extract_enum_from_dbc_file(enum_name: str, dbc_file: Path = WindowsPath('D:/_github/foxbms-2/tools/dbc/foxbms-bootloader.dbc')) Enum | None

Extract enum from the dbc file.

Parameters:
  • dbc_file – .dbc file where the definition of CAN messages are saved.

  • enum_name – the name of the enum.

Returns:

enum with the name of the enum.