diff --git a/examples/markdown/SC24.md b/examples/markdown/SC24.md index 3492e3e..7deabf0 100644 --- a/examples/markdown/SC24.md +++ b/examples/markdown/SC24.md @@ -7,57 +7,57 @@ The CAN network of the squadracorse 2024 formula SAE car. --- - [Main CAN Bus](#main-can-bus) - [DIAG_TOOL](#diag_tool) - - [BMS_LV_xcpTX](#bms_lv_xcptx) - - [DASH_xcpTX](#dash_xcptx) - - [DSPACE_xcpTX](#dspace_xcptx) - - [SB_FRONT_xcpTX](#sb_front_xcptx) - - [SB_REAR_xcpTX](#sb_rear_xcptx) - - [TLB_BAT_xcpTX](#tlb_bat_xcptx) - - [SCANNER_xcpTX](#scanner_xcptx) + - [DIAG_TOOL_BMS_LV_xcpTX](#diag_tool_bms_lv_xcptx) + - [DIAG_TOOL_DASH_xcpTX](#diag_tool_dash_xcptx) + - [DIAG_TOOL_DSPACE_xcpTX](#diag_tool_dspace_xcptx) + - [DIAG_TOOL_SB_FRONT_xcpTX](#diag_tool_sb_front_xcptx) + - [DIAG_TOOL_SB_REAR_xcpTX](#diag_tool_sb_rear_xcptx) + - [DIAG_TOOL_TLB_BAT_xcpTX](#diag_tool_tlb_bat_xcptx) + - [DIAG_TOOL_SCANNER_xcpTX](#diag_tool_scanner_xcptx) - [BMS_LV](#bms_lv) - - [BMS_LV_xcpRX](#bms_lv_xcprx) - [BMS_LV_hello](#bms_lv_hello) - [BMS_LV_lvCellVoltage0](#bms_lv_lvcellvoltage0) - [BMS_LV_lvCellVoltage1](#bms_lv_lvcellvoltage1) - [BMS_LV_lvBatGeneral](#bms_lv_lvbatgeneral) - [BMS_LV_status](#bms_lv_status) - - [BMS_LV_lvCellNTCResistance0](#bms_lv_lvcellntcresistance0) - [BMS_LV_lvCellNTCResistance1](#bms_lv_lvcellntcresistance1) + - [BMS_LV_lvCellNTCResistance0](#bms_lv_lvcellntcresistance0) + - [BMS_LV_xcpRX](#bms_lv_xcprx) - [DASH](#dash) - - [DASH_xcpRX](#dash_xcprx) - [DASH_hello](#dash_hello) - [DASH_buttonState](#dash_buttonstate) - - [DASH_lvRelayOverride](#dash_lvrelayoverride) - - [DASH_peripheralsStatus](#dash_peripheralsstatus) - - [DASH_appsRangeLimits](#dash_appsrangelimits) - [DASH_rotarySwitchState](#dash_rotaryswitchstate) + - [DASH_appsRangeLimits](#dash_appsrangelimits) + - [DASH_xcpRX](#dash_xcprx) + - [DASH_peripheralsStatus](#dash_peripheralsstatus) + - [DASH_lvRelayOverride](#dash_lvrelayoverride) - [DSPACE](#dspace) - - [DSPACE_xcpRX](#dspace_xcprx) - [DSPACE_hello](#dspace_hello) - - [DSPACE_status](#dspace_status) - - [DSPACE_datetime](#dspace_datetime) - [DSPACE_peripheralsCTRL](#dspace_peripheralsctrl) - [DSPACE_motorStatus](#dspace_motorstatus) + - [DSPACE_datetime](#dspace_datetime) + - [DSPACE_status](#dspace_status) + - [DSPACE_xcpRX](#dspace_xcprx) - [SB_FRONT](#sb_front) - - [SB_FRONT_analog](#sb_front_analog) - - [SB_FRONT_xcpRX](#sb_front_xcprx) - - [SB_FRONT_potentiometer](#sb_front_potentiometer) - [SB_FRONT_hello](#sb_front_hello) - - [SB_FRONT_sdcStatus](#sb_front_sdcstatus) + - [SB_FRONT_analog](#sb_front_analog) - [SB_FRONT_ntcResistance](#sb_front_ntcresistance) + - [SB_FRONT_sdcStatus](#sb_front_sdcstatus) + - [SB_FRONT_potentiometer](#sb_front_potentiometer) + - [SB_FRONT_xcpRX](#sb_front_xcprx) - [SB_REAR](#sb_rear) - - [SB_REAR_xcpRX](#sb_rear_xcprx) - - [SB_REAR_potentiometer](#sb_rear_potentiometer) - [SB_REAR_hello](#sb_rear_hello) + - [SB_REAR_analog](#sb_rear_analog) + - [SB_REAR_ntcResistance](#sb_rear_ntcresistance) - [SB_REAR_sdcStatus](#sb_rear_sdcstatus) + - [SB_REAR_potentiometer](#sb_rear_potentiometer) - [SB_REAR_dischargeStatus](#sb_rear_dischargestatus) - - [SB_REAR_ntcResistance](#sb_rear_ntcresistance) - - [SB_REAR_analog](#sb_rear_analog) + - [SB_REAR_xcpRX](#sb_rear_xcprx) - [TLB_BAT](#tlb_bat) - - [TLB_BAT_xcpRX](#tlb_bat_xcprx) - - [TLB_BAT_sdcStatus](#tlb_bat_sdcstatus) - - [TLB_BAT_status](#tlb_bat_status) - [TLB_BAT_hello](#tlb_bat_hello) + - [TLB_BAT_status](#tlb_bat_status) + - [TLB_BAT_sdcStatus](#tlb_bat_sdcstatus) + - [TLB_BAT_xcpRX](#tlb_bat_xcprx) - [SCANNER](#scanner) - [SCANNER_xcpRX](#scanner_xcprx) - [EXTRA_NODE](#extra_node) @@ -76,14 +76,14 @@ Baudrate: **1000000** bps The diagnostic tool connected through the CSC. --- -Node ID: **0** +Node ID: **0** (dec), **0x0** (hex) --- -#### BMS_LV_xcpTX +#### DIAG_TOOL_BMS_LV_xcpTX The message used to flash the BMS_LV. --- -CAN-ID (static): **100** (dec), **0x64** (hex) +CAN-ID (static): **1792** (dec), **0x700** (hex) Size: **8** bytes @@ -94,11 +94,11 @@ Cycle Time: - Receivers: [BMS_LV](#bms_lv) --- -#### DASH_xcpTX +#### DIAG_TOOL_DASH_xcpTX The message used to flash the DASH. --- -CAN-ID (static): **101** (dec), **0x65** (hex) +CAN-ID (static): **1793** (dec), **0x701** (hex) Size: **8** bytes @@ -109,11 +109,11 @@ Cycle Time: - Receivers: [DASH](#dash) --- -#### DSPACE_xcpTX +#### DIAG_TOOL_DSPACE_xcpTX The message used to flash the DSPACE. --- -CAN-ID (static): **102** (dec), **0x66** (hex) +CAN-ID (static): **1794** (dec), **0x702** (hex) Size: **8** bytes @@ -124,11 +124,11 @@ Cycle Time: - Receivers: [DSPACE](#dspace) --- -#### SB_FRONT_xcpTX +#### DIAG_TOOL_SB_FRONT_xcpTX The message used to flash the SB_FRONT. --- -CAN-ID (static): **103** (dec), **0x67** (hex) +CAN-ID (static): **1795** (dec), **0x703** (hex) Size: **8** bytes @@ -139,11 +139,11 @@ Cycle Time: - Receivers: [SB_FRONT](#sb_front) --- -#### SB_REAR_xcpTX +#### DIAG_TOOL_SB_REAR_xcpTX The message used to flash the SB_REAR. --- -CAN-ID (static): **104** (dec), **0x68** (hex) +CAN-ID (static): **1796** (dec), **0x704** (hex) Size: **8** bytes @@ -154,11 +154,11 @@ Cycle Time: - Receivers: [SB_REAR](#sb_rear) --- -#### TLB_BAT_xcpTX +#### DIAG_TOOL_TLB_BAT_xcpTX The message used to flash the TLB_BAT. --- -CAN-ID (static): **105** (dec), **0x69** (hex) +CAN-ID (static): **1797** (dec), **0x705** (hex) Size: **8** bytes @@ -169,11 +169,11 @@ Cycle Time: - Receivers: [TLB_BAT](#tlb_bat) --- -#### SCANNER_xcpTX +#### DIAG_TOOL_SCANNER_xcpTX The message used to flash the SCANNER. --- -CAN-ID (static): **106** (dec), **0x6a** (hex) +CAN-ID (static): **1798** (dec), **0x706** (hex) Size: **8** bytes @@ -188,28 +188,13 @@ Receivers: [SCANNER](#scanner) The battery-management-system low-voltage. --- -Node ID: **1** - ---- -#### BMS_LV_xcpRX -The message used to notify the diagnostic tool that the board is flashed. - ---- -CAN-ID (generated): **161** (dec), **0xa1** (hex) - -Message ID: **10** - -Size: **8** bytes - -Byte Order: **little-endian** - -Cycle Time: - - -Receivers: [DIAG_TOOL](#diag_tool) +Node ID: **1** (dec), **0x1** (hex) --- #### BMS_LV_hello -CAN-ID (static): **20** (dec), **0x14** (hex) +CAN-ID (generated): **17** (dec), **0x11** (hex) + +Message ID: **1** (dec), **0x1** (hex) Size: **3** bytes @@ -227,7 +212,9 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) --- #### BMS_LV_lvCellVoltage0 -CAN-ID (static): **256** (dec), **0x100** (hex) +CAN-ID (generated): **449** (dec), **0x1c1** (hex) + +Message ID: **28** (dec), **0x1c** (hex) Size: **8** bytes @@ -246,7 +233,9 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) --- #### BMS_LV_lvCellVoltage1 -CAN-ID (static): **257** (dec), **0x101** (hex) +CAN-ID (generated): **465** (dec), **0x1d1** (hex) + +Message ID: **29** (dec), **0x1d** (hex) Size: **6** bytes @@ -264,7 +253,9 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) --- #### BMS_LV_lvBatGeneral -CAN-ID (static): **258** (dec), **0x102** (hex) +CAN-ID (generated): **481** (dec), **0x1e1** (hex) + +Message ID: **30** (dec), **0x1e** (hex) Size: **6** bytes @@ -282,7 +273,9 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) --- #### BMS_LV_status -CAN-ID (static): **259** (dec), **0x103** (hex) +CAN-ID (generated): **513** (dec), **0x201** (hex) + +Message ID: **32** (dec), **0x20** (hex) Size: **4** bytes @@ -322,30 +315,11 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) | LV_CELL_NTC_10_isOT | 25 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the LV cell temperature sensor #10 (NTC) detects an over temperature. | | LV_CELL_NTC_11_isOT | 26 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the LV cell temperature sensor #11 (NTC) detects an over temperature. | ---- -#### BMS_LV_lvCellNTCResistance0 -CAN-ID (static): **260** (dec), **0x104** (hex) - -Size: **8** bytes - -Byte Order: **little-endian** - -Cycle Time: **2000** ms - -Receivers: [DSPACE](#dspace), [SCANNER](#scanner) - -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|---------------------------|-----------|------|-------------------------------------|-----|----------|------------------------|--------------------------------------------------------------------| -| LV_CELL_NTC_00_resistance | 0 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #0 in the battery pack expressed in Ohm. | -| LV_CELL_NTC_01_resistance | 10 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #1 in the battery pack expressed in Ohm. | -| LV_CELL_NTC_02_resistance | 20 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #2 in the battery pack expressed in Ohm. | -| LV_CELL_NTC_03_resistance | 30 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #3 in the battery pack expressed in Ohm. | -| LV_CELL_NTC_04_resistance | 40 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #4 in the battery pack expressed in Ohm. | -| LV_CELL_NTC_05_resistance | 50 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #5 in the battery pack expressed in Ohm. | - --- #### BMS_LV_lvCellNTCResistance1 -CAN-ID (static): **261** (dec), **0x105** (hex) +CAN-ID (generated): **529** (dec), **0x211** (hex) + +Message ID: **33** (dec), **0x21** (hex) Size: **8** bytes @@ -365,20 +339,36 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) | LV_CELL_NTC_11_resistance | 50 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #11 in the battery pack expressed in Ohm. | --- -### DASH -The dashboard ECU. +#### BMS_LV_lvCellNTCResistance0 +CAN-ID (generated): **545** (dec), **0x221** (hex) ---- -Node ID: **2** +Message ID: **34** (dec), **0x22** (hex) + +Size: **8** bytes + +Byte Order: **little-endian** + +Cycle Time: **2000** ms + +Receivers: [DSPACE](#dspace), [SCANNER](#scanner) +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|---------------------------|-----------|------|-------------------------------------|-----|----------|------------------------|--------------------------------------------------------------------| +| LV_CELL_NTC_00_resistance | 0 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #0 in the battery pack expressed in Ohm. | +| LV_CELL_NTC_01_resistance | 10 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #1 in the battery pack expressed in Ohm. | +| LV_CELL_NTC_02_resistance | 20 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #2 in the battery pack expressed in Ohm. | +| LV_CELL_NTC_03_resistance | 30 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #3 in the battery pack expressed in Ohm. | +| LV_CELL_NTC_04_resistance | 40 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #4 in the battery pack expressed in Ohm. | +| LV_CELL_NTC_05_resistance | 50 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the NTC #5 in the battery pack expressed in Ohm. | + --- -#### DASH_xcpRX +#### BMS_LV_xcpRX The message used to notify the diagnostic tool that the board is flashed. --- -CAN-ID (generated): **162** (dec), **0xa2** (hex) +CAN-ID (generated): **561** (dec), **0x231** (hex) -Message ID: **10** +Message ID: **35** (dec), **0x23** (hex) Size: **8** bytes @@ -388,9 +378,18 @@ Cycle Time: - Receivers: [DIAG_TOOL](#diag_tool) +--- +### DASH +The dashboard ECU. + +--- +Node ID: **2** (dec), **0x2** (hex) + --- #### DASH_hello -CAN-ID (static): **23** (dec), **0x17** (hex) +CAN-ID (generated): **18** (dec), **0x12** (hex) + +Message ID: **1** (dec), **0x1** (hex) Size: **3** bytes @@ -408,7 +407,9 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) --- #### DASH_buttonState -CAN-ID (static): **38** (dec), **0x26** (hex) +CAN-ID (generated): **418** (dec), **0x1a2** (hex) + +Message ID: **26** (dec), **0x1a** (hex) Size: **2** bytes @@ -427,41 +428,29 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) | BTN_3_isPressed | 11 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the button #3 of the dashboard is pressed. | --- -#### DASH_lvRelayOverride -CAN-ID (static): **255** (dec), **0xff** (hex) - -Size: **2** bytes - -Byte Order: **little-endian** - -Cycle Time: - - -Receivers: [BMS_LV](#bms_lv) +#### DASH_rotarySwitchState +CAN-ID (generated): **434** (dec), **0x1b2** (hex) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|----------------------|-----------|------|--------------------------------------|-----|-------|---------------------------|-----------------------------------------------------------| -| BMS_LV_diagPWD | 0 | 15 | [`bms_lv_password_t`](#signal-types) | 0 | 32768 | - | The password to enter diagnostic mode of the BMS_LV. | -| LV_RELAY_forcedState | 15 | 1 | [`flag_t`](#signal-types) | 0 | 1 | [`closed`](#signal-units) | The command to force the LV relay open (0) or closed (1). | - ---- -#### DASH_peripheralsStatus -CAN-ID (static): **519** (dec), **0x207** (hex) +Message ID: **27** (dec), **0x1b** (hex) Size: **1** bytes Byte Order: **little-endian** -Cycle Time: - +Cycle Time: **100** ms Receivers: [DSPACE](#dspace), [SCANNER](#scanner) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|--------------------|-----------|------|------------------------------|-----|-----|----------------------|---------------------------------------------------| -| TSAC_FAN_pwmStatus | 0 | 4 | [`fan_pwm_t`](#signal-types) | 0 | 10 | [`%`](#signal-units) | The percentage of the duty cycle of the TSAC fan. | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|-----------------------|-----------|------|----------------------------------------|-----|-----|------|---------------------------------------------------------------| +| ROT_SWITCH_0_position | 0 | 4 | [`rotary_switch_pos_t`](#signal-types) | 0 | 10 | - | The position (0-10) of the rotary switch #0 of the dashboard. | +| ROT_SWITCH_1_position | 4 | 4 | [`rotary_switch_pos_t`](#signal-types) | 0 | 10 | - | The position (0-10) of the rotary switch #1 of the dashboard. | --- #### DASH_appsRangeLimits -CAN-ID (static): **1300** (dec), **0x514** (hex) +CAN-ID (generated): **594** (dec), **0x252** (hex) + +Message ID: **37** (dec), **0x25** (hex) Size: **8** bytes @@ -479,37 +468,13 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) | APPS_1_voltageRangeMax | 48 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The APPS #1 maximum range expressed in mV. | --- -#### DASH_rotarySwitchState -CAN-ID (static): **1301** (dec), **0x515** (hex) - -Size: **1** bytes - -Byte Order: **little-endian** - -Cycle Time: **100** ms - -Receivers: [DSPACE](#dspace), [SCANNER](#scanner) - -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|-----------------------|-----------|------|----------------------------------------|-----|-----|------|---------------------------------------------------------------| -| ROT_SWITCH_0_position | 0 | 4 | [`rotary_switch_pos_t`](#signal-types) | 0 | 10 | - | The position (0-10) of the rotary switch #0 of the dashboard. | -| ROT_SWITCH_1_position | 4 | 4 | [`rotary_switch_pos_t`](#signal-types) | 0 | 10 | - | The position (0-10) of the rotary switch #1 of the dashboard. | - ---- -### DSPACE -An automotive ECU. - ---- -Node ID: **3** - ---- -#### DSPACE_xcpRX +#### DASH_xcpRX The message used to notify the diagnostic tool that the board is flashed. --- -CAN-ID (generated): **163** (dec), **0xa3** (hex) +CAN-ID (generated): **610** (dec), **0x262** (hex) -Message ID: **10** +Message ID: **38** (dec), **0x26** (hex) Size: **8** bytes @@ -520,63 +485,74 @@ Cycle Time: - Receivers: [DIAG_TOOL](#diag_tool) --- -#### DSPACE_hello -CAN-ID (static): **25** (dec), **0x19** (hex) +#### DASH_peripheralsStatus +CAN-ID (generated): **658** (dec), **0x292** (hex) -Size: **3** bytes +Message ID: **41** (dec), **0x29** (hex) + +Size: **1** bytes Byte Order: **little-endian** -Cycle Time: **10** ms +Cycle Time: - Receivers: [DSPACE](#dspace), [SCANNER](#scanner) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|-----------------|-----------|------|----------------------------|-----|-----|------|-------------------------------------------| -| FW_majorVersion | 0 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware major version of the dSpace. | -| FW_minorVersion | 8 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware minor version of the dSpace. | -| FW_patchVersion | 16 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware patch version of the dSpace. | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|--------------------|-----------|------|------------------------------|-----|-----|----------------------|---------------------------------------------------| +| TSAC_FAN_pwmStatus | 0 | 4 | [`fan_pwm_t`](#signal-types) | 0 | 10 | [`%`](#signal-units) | The percentage of the duty cycle of the TSAC fan. | --- -#### DSPACE_status -CAN-ID (static): **37** (dec), **0x25** (hex) +#### DASH_lvRelayOverride +CAN-ID (generated): **674** (dec), **0x2a2** (hex) -Size: **1** bytes +Message ID: **42** (dec), **0x2a** (hex) + +Size: **2** bytes Byte Order: **little-endian** Cycle Time: - -Receivers: [DASH](#dash), [SCANNER](#scanner) +Receivers: [BMS_LV](#bms_lv) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|------------------|-----------|------|------------------------------|-----|-----|------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| DSPACE_FSM_state | 0 | 8 | [`rtd_fsm_t`](#signal-types) | -1 | 6 | - | The state of the dspace RTD state machine. 0 = Idle (waiting for push); 1 = Precharge (1st push); 2 = TS ON; 3 = RTD requested (2nd push); 4 = RTD\n5 = Turn OFF; -1 = Reboot/discharge | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|----------------------|-----------|------|--------------------------------------|-----|-------|---------------------------|-----------------------------------------------------------| +| BMS_LV_diagPWD | 0 | 15 | [`bms_lv_password_t`](#signal-types) | 0 | 32768 | - | The password to enter diagnostic mode of the BMS_LV. | +| LV_RELAY_forcedState | 15 | 1 | [`flag_t`](#signal-types) | 0 | 1 | [`closed`](#signal-units) | The command to force the LV relay open (0) or closed (1). | --- -#### DSPACE_datetime -CAN-ID (static): **39** (dec), **0x27** (hex) +### DSPACE +An automotive ECU. -Size: **5** bytes +--- +Node ID: **3** (dec), **0x3** (hex) + +--- +#### DSPACE_hello +CAN-ID (generated): **19** (dec), **0x13** (hex) + +Message ID: **1** (dec), **0x1** (hex) + +Size: **3** bytes Byte Order: **little-endian** -Cycle Time: - +Cycle Time: **10** ms -Receivers: [DASH](#dash), [SB_FRONT](#sb_front), [SB_REAR](#sb_rear), [SCANNER](#scanner), [TLB_BAT](#tlb_bat) +Receivers: [DSPACE](#dspace), [SCANNER](#scanner) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|------------------|-----------|------|------------------------------|-----|-----|------------------------|-------------------------------------------------------------| -| DATETIME_year | 0 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The current year expressed as an offset from 1970. | -| DATETIME_month | 8 | 4 | [`month_t`](#signal-types) | 0 | 11 | - | The current month of the year (0 = January, 11 = December). | -| DATETIME_day | 12 | 5 | [`day_t`](#signal-types) | 1 | 31 | - | The current day of the month, from 1 to 31. | -| DATETIME_hours | 17 | 5 | [`hours_t`](#signal-types) | 0 | 23 | [`h`](#signal-units) | The current hours of the day. | -| DATETIME_minutes | 22 | 6 | [`minutes_t`](#signal-types) | 0 | 59 | [`min`](#signal-units) | The current minutes of the hour. | -| DATETIME_seconds | 28 | 6 | [`seconds_t`](#signal-types) | 0 | 59 | [`sec`](#signal-units) | The current seconds of the minute. | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|-----------------|-----------|------|----------------------------|-----|-----|------|-------------------------------------------| +| FW_majorVersion | 0 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware major version of the dSpace. | +| FW_minorVersion | 8 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware minor version of the dSpace. | +| FW_patchVersion | 16 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware patch version of the dSpace. | --- #### DSPACE_peripheralsCTRL -CAN-ID (static): **512** (dec), **0x200** (hex) +CAN-ID (generated): **499** (dec), **0x1f3** (hex) + +Message ID: **31** (dec), **0x1f** (hex) Size: **2** bytes @@ -593,7 +569,9 @@ Receivers: [DASH](#dash), [SB_REAR](#sb_rear), [SCANNER](#scanner) --- #### DSPACE_motorStatus -CAN-ID (static): **1280** (dec), **0x500** (hex) +CAN-ID (generated): **691** (dec), **0x2b3** (hex) + +Message ID: **43** (dec), **0x2b** (hex) Size: **1** bytes @@ -611,39 +589,54 @@ Receivers: [SCANNER](#scanner) | MOTOR_RR_isON | 3 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the rear right motor is ON. | --- -### SB_FRONT -The sensorboard front ECU. +#### DSPACE_datetime +CAN-ID (generated): **707** (dec), **0x2c3** (hex) ---- -Node ID: **4** +Message ID: **44** (dec), **0x2c** (hex) + +Size: **5** bytes + +Byte Order: **little-endian** + +Cycle Time: - +Receivers: [DASH](#dash), [SB_FRONT](#sb_front), [SB_REAR](#sb_rear), [SCANNER](#scanner), [TLB_BAT](#tlb_bat) + +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|------------------|-----------|------|------------------------------|-----|-----|------------------------|-------------------------------------------------------------| +| DATETIME_year | 0 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The current year expressed as an offset from 1970. | +| DATETIME_month | 8 | 4 | [`month_t`](#signal-types) | 0 | 11 | - | The current month of the year (0 = January, 11 = December). | +| DATETIME_day | 12 | 5 | [`day_t`](#signal-types) | 1 | 31 | - | The current day of the month, from 1 to 31. | +| DATETIME_hours | 17 | 5 | [`hours_t`](#signal-types) | 0 | 23 | [`h`](#signal-units) | The current hours of the day. | +| DATETIME_minutes | 22 | 6 | [`minutes_t`](#signal-types) | 0 | 59 | [`min`](#signal-units) | The current minutes of the hour. | +| DATETIME_seconds | 28 | 6 | [`seconds_t`](#signal-types) | 0 | 59 | [`sec`](#signal-units) | The current seconds of the minute. | + --- -#### SB_FRONT_analog -CAN-ID (static): **5** (dec), **0x5** (hex) +#### DSPACE_status +CAN-ID (generated): **739** (dec), **0x2e3** (hex) -Size: **8** bytes +Message ID: **46** (dec), **0x2e** (hex) + +Size: **1** bytes Byte Order: **little-endian** -Cycle Time: **10** ms +Cycle Time: - -Receivers: [DSPACE](#dspace), [SCANNER](#scanner) +Receivers: [DASH](#dash), [SCANNER](#scanner) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|---------------------------|-----------|------|-----------------------------|-----|-------|-----------------------|-----------------------------------------------------------------------------------| -| APPS_0_voltage | 0 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the APPS #0 expressed in mV. | -| APPS_1_voltage | 16 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the APPS #1 expressed in mV. | -| STEERING_RME_voltage | 32 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the steering RME (rotary magnetic encoder) sensor expressed in mV. | -| BRAKE_PRESS_FRONT_voltage | 48 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the front brake pressure sensor expressed in mV. | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|------------------|-----------|------|------------------------------|-----|-----|------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| DSPACE_FSM_state | 0 | 8 | [`rtd_fsm_t`](#signal-types) | -1 | 6 | - | The state of the dspace RTD state machine. 0 = Idle (waiting for push); 1 = Precharge (1st push); 2 = TS ON; 3 = RTD requested (2nd push); 4 = RTD\n5 = Turn OFF; -1 = Reboot/discharge | --- -#### SB_FRONT_xcpRX +#### DSPACE_xcpRX The message used to notify the diagnostic tool that the board is flashed. --- -CAN-ID (generated): **164** (dec), **0xa4** (hex) +CAN-ID (generated): **755** (dec), **0x2f3** (hex) -Message ID: **10** +Message ID: **47** (dec), **0x2f** (hex) Size: **8** bytes @@ -654,25 +647,17 @@ Cycle Time: - Receivers: [DIAG_TOOL](#diag_tool) --- -#### SB_FRONT_potentiometer -CAN-ID (static): **16** (dec), **0x10** (hex) - -Size: **4** bytes - -Byte Order: **little-endian** - -Cycle Time: **10** ms +### SB_FRONT +The sensorboard front ECU. -Receivers: [DSPACE](#dspace), [SCANNER](#scanner) +--- +Node ID: **4** (dec), **0x4** (hex) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|------------------------|-----------|------|-----------------------------|-----|-------|-----------------------|----------------------------------------------------------------------------------------------------| -| LPPS_DAMPER_FL_voltage | 0 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the linear potentiometer position sensor on the front left damper expressed in mV. | -| LPPS_DAMPER_FR_voltage | 16 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the linear potentiometer position sensor on the front right damper expressed in mV. | - --- #### SB_FRONT_hello -CAN-ID (static): **21** (dec), **0x15** (hex) +CAN-ID (generated): **20** (dec), **0x14** (hex) + +Message ID: **1** (dec), **0x1** (hex) Size: **3** bytes @@ -689,10 +674,12 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) | FW_patchVersion | 16 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware patch version of the front sensorboard. | --- -#### SB_FRONT_sdcStatus -CAN-ID (static): **49** (dec), **0x31** (hex) +#### SB_FRONT_analog +CAN-ID (generated): **260** (dec), **0x104** (hex) -Size: **1** bytes +Message ID: **16** (dec), **0x10** (hex) + +Size: **8** bytes Byte Order: **little-endian** @@ -700,15 +687,18 @@ Cycle Time: **10** ms Receivers: [DSPACE](#dspace), [SCANNER](#scanner) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|-------------------------------|-----------|------|---------------------------|-----|-----|------|------------------------------------------------------------| -| SDC_POST_INERTIA_isActive | 0 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post inertia switch is active. | -| SDC_POST_BOTS_isActive | 1 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post BOTS is active. | -| SDC_POST_CP_PUSH_BTN_isActive | 2 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post cockpit push button is active. | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|---------------------------|-----------|------|-----------------------------|-----|-------|-----------------------|-----------------------------------------------------------------------------------| +| APPS_0_voltage | 0 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the APPS #0 expressed in mV. | +| APPS_1_voltage | 16 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the APPS #1 expressed in mV. | +| STEERING_RME_voltage | 32 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the steering RME (rotary magnetic encoder) sensor expressed in mV. | +| BRAKE_PRESS_FRONT_voltage | 48 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the front brake pressure sensor expressed in mV. | --- #### SB_FRONT_ntcResistance -CAN-ID (static): **1024** (dec), **0x400** (hex) +CAN-ID (generated): **372** (dec), **0x174** (hex) + +Message ID: **23** (dec), **0x17** (hex) Size: **8** bytes @@ -728,20 +718,52 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) | SPARE_NTC_1_resistance | 50 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the spare NTC #1 expressed in Ohm. | --- -### SB_REAR -The sensorboard rear ECU. +#### SB_FRONT_sdcStatus +CAN-ID (generated): **388** (dec), **0x184** (hex) + +Message ID: **24** (dec), **0x18** (hex) + +Size: **1** bytes +Byte Order: **little-endian** + +Cycle Time: **10** ms + +Receivers: [DSPACE](#dspace), [SCANNER](#scanner) + +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|-------------------------------|-----------|------|---------------------------|-----|-----|------|------------------------------------------------------------| +| SDC_POST_INERTIA_isActive | 0 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post inertia switch is active. | +| SDC_POST_BOTS_isActive | 1 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post BOTS is active. | +| SDC_POST_CP_PUSH_BTN_isActive | 2 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post cockpit push button is active. | + --- -Node ID: **5** +#### SB_FRONT_potentiometer +CAN-ID (generated): **404** (dec), **0x194** (hex) + +Message ID: **25** (dec), **0x19** (hex) + +Size: **4** bytes + +Byte Order: **little-endian** + +Cycle Time: **10** ms + +Receivers: [DSPACE](#dspace), [SCANNER](#scanner) +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|------------------------|-----------|------|-----------------------------|-----|-------|-----------------------|----------------------------------------------------------------------------------------------------| +| LPPS_DAMPER_FL_voltage | 0 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the linear potentiometer position sensor on the front left damper expressed in mV. | +| LPPS_DAMPER_FR_voltage | 16 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the linear potentiometer position sensor on the front right damper expressed in mV. | + --- -#### SB_REAR_xcpRX +#### SB_FRONT_xcpRX The message used to notify the diagnostic tool that the board is flashed. --- -CAN-ID (generated): **165** (dec), **0xa5** (hex) +CAN-ID (generated): **644** (dec), **0x284** (hex) -Message ID: **10** +Message ID: **40** (dec), **0x28** (hex) Size: **8** bytes @@ -752,25 +774,17 @@ Cycle Time: - Receivers: [DIAG_TOOL](#diag_tool) --- -#### SB_REAR_potentiometer -CAN-ID (static): **17** (dec), **0x11** (hex) - -Size: **4** bytes - -Byte Order: **little-endian** - -Cycle Time: **10** ms +### SB_REAR +The sensorboard rear ECU. -Receivers: [DSPACE](#dspace), [SCANNER](#scanner) +--- +Node ID: **5** (dec), **0x5** (hex) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|------------------------|-----------|------|-----------------------------|-----|-------|-----------------------|--------------------------------------------------------------------------------------------------| -| LPPS_DAMPER_RL_voltage | 0 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the linear potentiometer position sensor on the rear left damper expressed in mV. | -| LPPS_DAMPER_RR_voltage | 16 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the linear potentiometer position sensor on the rear left damper expressed in mV. | - --- #### SB_REAR_hello -CAN-ID (static): **22** (dec), **0x16** (hex) +CAN-ID (generated): **21** (dec), **0x15** (hex) + +Message ID: **1** (dec), **0x1** (hex) Size: **3** bytes @@ -787,44 +801,30 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) | FW_patchVersion | 16 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware patch version of the rear sensorboard. | --- -#### SB_REAR_sdcStatus -CAN-ID (static): **48** (dec), **0x30** (hex) - -Size: **1** bytes - -Byte Order: **little-endian** - -Cycle Time: **10** ms - -Receivers: [DSPACE](#dspace), [SCANNER](#scanner) +#### SB_REAR_analog +CAN-ID (generated): **309** (dec), **0x135** (hex) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|----------------------------|-----------|------|---------------------------|-----|-----|------|----------------------------------------------------------------------| -| SDC_POST_BSPD_isClosed | 0 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post BSPD is closed. | -| SDC_PRE_PUSH_BTNS_isClosed | 1 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC per push buttons (hoop right/left) is closed. | -| SDC_POST_DC_BUS_isClosed | 2 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post DC bus (inverter mono) is closed. | -| SDC_POST_INV_FR_isClosed | 3 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post inverter front right is closed. | -| BSPD_hasError | 4 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the BSPD has an error. | - ---- -#### SB_REAR_dischargeStatus -CAN-ID (static): **50** (dec), **0x32** (hex) +Message ID: **19** (dec), **0x13** (hex) -Size: **1** bytes +Size: **6** bytes Byte Order: **little-endian** -Cycle Time: - +Cycle Time: **10** ms Receivers: [DSPACE](#dspace), [SCANNER](#scanner) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|------------------|-----------|------|---------------------------|-----|-----|------|---------------------------------------| -| DISCHARGE_isOpen | 0 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the discharge is open. | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|--------------------------|-----------|------|-----------------------------|-----|-------|-----------------------|-------------------------------------------------------------------| +| COOL_PRESS_LEFT_voltage | 0 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the left cooling pressure sensor expressed in mV. | +| COOL_PRESS_RIGHT_voltage | 16 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the right cooling pressure sensor expressed in mV. | +| BRAKE_PRESS_REAR_voltage | 32 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the rear brake pressure sensor expressed in mV. | --- #### SB_REAR_ntcResistance -CAN-ID (static): **1025** (dec), **0x401** (hex) +CAN-ID (generated): **325** (dec), **0x145** (hex) + +Message ID: **20** (dec), **0x14** (hex) Size: **8** bytes @@ -844,10 +844,12 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) | RAD_RR_OUT_NTC_resistance | 50 | 10 | [`ntc_resistance_t`](#signal-types) | 0 | 31968.75 | [`Ohm`](#signal-units) | The resistance of the rear right OUT radiator NTC expressed in Ohm. | --- -#### SB_REAR_analog -CAN-ID (static): **1026** (dec), **0x402** (hex) +#### SB_REAR_sdcStatus +CAN-ID (generated): **341** (dec), **0x155** (hex) -Size: **6** bytes +Message ID: **21** (dec), **0x15** (hex) + +Size: **1** bytes Byte Order: **little-endian** @@ -855,27 +857,59 @@ Cycle Time: **10** ms Receivers: [DSPACE](#dspace), [SCANNER](#scanner) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|--------------------------|-----------|------|-----------------------------|-----|-------|-----------------------|-------------------------------------------------------------------| -| COOL_PRESS_LEFT_voltage | 0 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the left cooling pressure sensor expressed in mV. | -| COOL_PRESS_RIGHT_voltage | 16 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the right cooling pressure sensor expressed in mV. | -| BRAKE_PRESS_REAR_voltage | 32 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the rear brake pressure sensor expressed in mV. | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|----------------------------|-----------|------|---------------------------|-----|-----|------|----------------------------------------------------------------------| +| SDC_POST_BSPD_isClosed | 0 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post BSPD is closed. | +| SDC_PRE_PUSH_BTNS_isClosed | 1 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC per push buttons (hoop right/left) is closed. | +| SDC_POST_DC_BUS_isClosed | 2 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post DC bus (inverter mono) is closed. | +| SDC_POST_INV_FR_isClosed | 3 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the SDC post inverter front right is closed. | +| BSPD_hasError | 4 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the BSPD has an error. | --- -### TLB_BAT -The tsal-latch-board battery ECU. +#### SB_REAR_potentiometer +CAN-ID (generated): **357** (dec), **0x165** (hex) + +Message ID: **22** (dec), **0x16** (hex) +Size: **4** bytes + +Byte Order: **little-endian** + +Cycle Time: **10** ms + +Receivers: [DSPACE](#dspace), [SCANNER](#scanner) + +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|------------------------|-----------|------|-----------------------------|-----|-------|-----------------------|--------------------------------------------------------------------------------------------------| +| LPPS_DAMPER_RL_voltage | 0 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the linear potentiometer position sensor on the rear left damper expressed in mV. | +| LPPS_DAMPER_RR_voltage | 16 | 16 | [`uint16_t`](#signal-types) | 0 | 65535 | [`mV`](#signal-units) | The voltage of the linear potentiometer position sensor on the rear left damper expressed in mV. | + --- -Node ID: **6** +#### SB_REAR_dischargeStatus +CAN-ID (generated): **581** (dec), **0x245** (hex) +Message ID: **36** (dec), **0x24** (hex) + +Size: **1** bytes + +Byte Order: **little-endian** + +Cycle Time: - + +Receivers: [DSPACE](#dspace), [SCANNER](#scanner) + +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|------------------|-----------|------|---------------------------|-----|-----|------|---------------------------------------| +| DISCHARGE_isOpen | 0 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether the discharge is open. | + --- -#### TLB_BAT_xcpRX +#### SB_REAR_xcpRX The message used to notify the diagnostic tool that the board is flashed. --- -CAN-ID (generated): **166** (dec), **0xa6** (hex) +CAN-ID (generated): **629** (dec), **0x275** (hex) -Message ID: **10** +Message ID: **39** (dec), **0x27** (hex) Size: **8** bytes @@ -886,8 +920,17 @@ Cycle Time: - Receivers: [DIAG_TOOL](#diag_tool) --- -#### TLB_BAT_sdcStatus -CAN-ID (static): **18** (dec), **0x12** (hex) +### TLB_BAT +The tsal-latch-board battery ECU. + +--- +Node ID: **6** (dec), **0x6** (hex) + +--- +#### TLB_BAT_hello +CAN-ID (generated): **22** (dec), **0x16** (hex) + +Message ID: **1** (dec), **0x1** (hex) Size: **3** bytes @@ -897,16 +940,17 @@ Cycle Time: **10** ms Receivers: [DSPACE](#dspace), [SCANNER](#scanner) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|---------------------------------|-----------|------|---------------------------|-----|-----|------|-------------| -| SDC_TSAC_INIT_IN_isActive | 0 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | - | -| SDC_TSAC_INIT_OUT_isActive | 1 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | - | -| SDC_POST_AMS_IMD_RELAY_isActive | 2 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | - | -| SDC_TSAC_FINAL_IN_isActive | 3 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | - | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|-----------------|-----------|------|----------------------------|-----|-----|------|------------------------------------------------| +| FW_majorVersion | 0 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware major version of the TLB battery. | +| FW_minorVersion | 8 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware minor version of the TLB battery. | +| FW_patchVersion | 16 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware patch version of the TLB battery. | --- #### TLB_BAT_status -CAN-ID (static): **19** (dec), **0x13** (hex) +CAN-ID (generated): **278** (dec), **0x116** (hex) + +Message ID: **17** (dec), **0x11** (hex) Size: **3** bytes @@ -937,8 +981,8 @@ Receivers: [DSPACE](#dspace), [SCANNER](#scanner) | ANY_IMP_isLatched | 16 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | States whether any implausibility is latched. | --- -#### TLB_BAT_hello -CAN-ID (static): **24** (dec), **0x18** (hex) +#### TLB_BAT_sdcStatus +CAN-ID (static): **18** (dec), **0x12** (hex) Size: **3** bytes @@ -948,24 +992,42 @@ Cycle Time: **10** ms Receivers: [DSPACE](#dspace), [SCANNER](#scanner) -| Name | Start Bit | Size | Type | Min | Max | Unit | Description | -|-----------------|-----------|------|----------------------------|-----|-----|------|------------------------------------------------| -| FW_majorVersion | 0 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware major version of the TLB battery. | -| FW_minorVersion | 8 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware minor version of the TLB battery. | -| FW_patchVersion | 16 | 8 | [`uint8_t`](#signal-types) | 0 | 255 | - | The firmware patch version of the TLB battery. | +| Name | Start Bit | Size | Type | Min | Max | Unit | Description | +|---------------------------------|-----------|------|---------------------------|-----|-----|------|-------------| +| SDC_TSAC_INIT_IN_isActive | 0 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | - | +| SDC_TSAC_INIT_OUT_isActive | 1 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | - | +| SDC_POST_AMS_IMD_RELAY_isActive | 2 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | - | +| SDC_TSAC_FINAL_IN_isActive | 3 | 1 | [`flag_t`](#signal-types) | 0 | 1 | - | - | +--- +#### TLB_BAT_xcpRX +The message used to notify the diagnostic tool that the board is flashed. + +--- +CAN-ID (generated): **726** (dec), **0x2d6** (hex) + +Message ID: **45** (dec), **0x2d** (hex) + +Size: **8** bytes + +Byte Order: **little-endian** + +Cycle Time: - + +Receivers: [DIAG_TOOL](#diag_tool) + --- ### SCANNER -Node ID: **7** +Node ID: **7** (dec), **0x7** (hex) --- #### SCANNER_xcpRX The message used to notify the diagnostic tool that the board is flashed. --- -CAN-ID (generated): **167** (dec), **0xa7** (hex) +CAN-ID (generated): **775** (dec), **0x307** (hex) -Message ID: **10** +Message ID: **48** (dec), **0x30** (hex) Size: **8** bytes @@ -977,13 +1039,13 @@ Receivers: [DIAG_TOOL](#diag_tool) --- ### EXTRA_NODE -Node ID: **8** +Node ID: **8** (dec), **0x8** (hex) --- #### unknown_ir CAN-ID (generated): **1800** (dec), **0x708** (hex) -Message ID: **112** +Message ID: **112** (dec), **0x70** (hex) Size: **8** bytes @@ -998,7 +1060,7 @@ Receivers: The tire pressure monitoring system. --- -Node ID: **9** +Node ID: **9** (dec), **0x9** (hex) --- #### TPMS_front @@ -1053,23 +1115,23 @@ The list of all the signal types used in the network. |-----------------------|------|-----------|---------|-----|-----------|-------|--------|--------------------------------------------------------------------------------------------| | flag_t | 1 | `flag` | `false` | 0 | 1 | 1 | 0 | - | | month_t | 4 | `integer` | `false` | 0 | 11 | 1 | 0 | - | -| fan_pwm_t | 4 | `integer` | `false` | 0 | 10 | 1 | 0 | - | | rotary_switch_pos_t | 4 | `integer` | `false` | 0 | 10 | 1 | 0 | - | +| fan_pwm_t | 4 | `integer` | `false` | 0 | 10 | 1 | 0 | - | | day_t | 5 | `integer` | `false` | 1 | 31 | 1 | 0 | - | | hours_t | 5 | `integer` | `false` | 0 | 23 | 1 | 0 | - | -| minutes_t | 6 | `integer` | `false` | 0 | 59 | 1 | 0 | - | | seconds_t | 6 | `integer` | `false` | 0 | 59 | 1 | 0 | - | -| tire_temp_t | 8 | `integer` | `false` | 10 | 170 | 1 | 0 | - | +| minutes_t | 6 | `integer` | `false` | 0 | 59 | 1 | 0 | - | +| uint8_t | 8 | `integer` | `false` | 0 | 255 | 1 | 0 | - | | tire_sens_id_t | 8 | `integer` | `false` | 0 | 255 | 1 | 0 | - | -| tire_sens_status_t | 8 | `integer` | `false` | 0 | 255 | 1 | 0 | Bit #2: 0 if battery voltage > 2.2V, otherwise 1; Bit #3: 0 if wheel spinning, 1 otherwise | | rtd_fsm_t | 8 | `integer` | `true` | -1 | 6 | 1 | 0 | - | -| uint8_t | 8 | `integer` | `false` | 0 | 255 | 1 | 0 | - | +| tire_temp_t | 8 | `integer` | `false` | 10 | 170 | 1 | 0 | - | +| tire_sens_status_t | 8 | `integer` | `false` | 0 | 255 | 1 | 0 | Bit #2: 0 if battery voltage > 2.2V, otherwise 1; Bit #3: 0 if wheel spinning, 1 otherwise | | tire_press_t | 8 | `decimal` | `false` | 1 | 254 | 1 | 0 | - | | ntc_resistance_t | 10 | `decimal` | `false` | 0 | 31968.75 | 31.25 | 1000 | - | | bms_lv_password_t | 15 | `integer` | `false` | 0 | 32768 | 1 | 0 | - | -| uint16_t | 16 | `integer` | `false` | 0 | 65535 | 1 | 0 | - | | lv_bat_voltage_t | 16 | `decimal` | `false` | 0 | 17497.845 | 0.267 | 14000 | - | | lv_cell_voltage_t | 16 | `decimal` | `false` | 0 | 2490.33 | 0.038 | 2000 | - | +| uint16_t | 16 | `integer` | `false` | 0 | 65535 | 1 | 0 | - | | lv_bat_current_sens_t | 16 | `decimal` | `false` | 0 | 4980.66 | 0.076 | 0 | - | ## Signal Units diff --git a/examples/markdown/main.go b/examples/markdown/main.go index 3688626..9069899 100644 --- a/examples/markdown/main.go +++ b/examples/markdown/main.go @@ -4,6 +4,7 @@ import ( "fmt" "log" "os" + "slices" "github.com/squadracorsepolito/acmelib" ) @@ -90,15 +91,10 @@ func main() { // adding tpms tpms(mcb, scannerInt, dspaceInt) - dbcFile, err := os.Create("mcb_parsed.dbc") - checkErr(err) - defer dbcFile.Close() - acmelib.ExportBus(dbcFile, mcb) - // adding xpc tx/rx diagTool := mcb.NodeInterfaces()[0] xcpRXMsgID := acmelib.MessageID(10) - xcpTXCANID := acmelib.CANID(100) + xcpTXCANID := acmelib.CANID(0x700) for _, nodeInt := range mcb.NodeInterfaces() { if nodeInt.Node().ID() == 0 { continue @@ -116,7 +112,7 @@ func main() { tmpRXMsg.AddReceiver(diagTool) tmpRXMsg.SetDesc("The message used to notify the diagnostic tool that the board is flashed.") - msgTXName := fmt.Sprintf("%s_xcpTX", nodeName) + msgTXName := fmt.Sprintf("DIAG_TOOL_%s_xcpTX", nodeName) tmpTXMsg := acmelib.NewMessage(msgTXName, 0, 8) tmpTXMsg.SetStaticCANID(xcpTXCANID) checkErr(diagTool.AddMessage(tmpTXMsg)) @@ -132,6 +128,13 @@ func main() { checkErr(err) log.Print("BUS LOAD: ", busLoad) + parseMessageIDs(mcb) + + dbcFile, err := os.Create("mcb_parsed.dbc") + checkErr(err) + defer dbcFile.Close() + acmelib.ExportBus(dbcFile, mcb) + mdFile, err := os.Create("SC24.md") checkErr(err) defer mdFile.Close() @@ -139,7 +142,6 @@ func main() { if err := acmelib.ExportToMarkdown(sc24, mdFile); err != nil { panic(err) } - } func checkErr(err error) { @@ -284,3 +286,42 @@ func tpms(mcb *acmelib.Bus, scanner, dspace *acmelib.NodeInterface) *acmelib.Nod return tpms } + +func parseMessageIDs(mcb *acmelib.Bus) { + messages := []*acmelib.Message{} + for _, nodeInt := range mcb.NodeInterfaces() { + if nodeInt.Node().ID() == 0 || nodeInt.Node().ID() >= 8 { + continue + } + + for _, tmpMsg := range nodeInt.Messages() { + if tmpMsg.Name() == fmt.Sprintf("%s_hello", nodeInt.Node().Name()) { + checkErr(tmpMsg.UpdateID(1)) + continue + } + + messages = append(messages, tmpMsg) + } + } + + slices.SortFunc(messages, func(a, b *acmelib.Message) int { + cycA := a.CycleTime() + cycB := b.CycleTime() + + if cycA != 0 && cycB == 0 { + return -1 + } + + if cycA == 0 && cycB != 0 { + return 1 + } + + return cycA - cycB + }) + + tmpMsgID := acmelib.MessageID(16) + for _, tmpMsg := range messages { + checkErr(tmpMsg.UpdateID(tmpMsgID)) + tmpMsgID++ + } +} diff --git a/examples/markdown/mcb_parsed.dbc b/examples/markdown/mcb_parsed.dbc index 11bdc05..21ef8fb 100644 --- a/examples/markdown/mcb_parsed.dbc +++ b/examples/markdown/mcb_parsed.dbc @@ -34,28 +34,42 @@ BS_: BU_: DIAG_TOOL BMS_LV DASH DSPACE SB_FRONT SB_REAR TLB_BAT SCANNER EXTRA_NODE TPMS -BO_ 20 BMS_LV_hello : 3 BMS_LV +BO_ 1792 DIAG_TOOL_BMS_LV_xcpTX : 8 DIAG_TOOL + +BO_ 1793 DIAG_TOOL_DASH_xcpTX : 8 DIAG_TOOL + +BO_ 1794 DIAG_TOOL_DSPACE_xcpTX : 8 DIAG_TOOL + +BO_ 1795 DIAG_TOOL_SB_FRONT_xcpTX : 8 DIAG_TOOL + +BO_ 1796 DIAG_TOOL_SB_REAR_xcpTX : 8 DIAG_TOOL + +BO_ 1797 DIAG_TOOL_TLB_BAT_xcpTX : 8 DIAG_TOOL + +BO_ 1798 DIAG_TOOL_SCANNER_xcpTX : 8 DIAG_TOOL + +BO_ 17 BMS_LV_hello : 3 BMS_LV SG_ FW_majorVersion : 0|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_minorVersion : 8|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_patchVersion : 16|8@1+ (1,0) [0|255] "" DSPACE, SCANNER -BO_ 256 BMS_LV_lvCellVoltage0 : 8 BMS_LV +BO_ 449 BMS_LV_lvCellVoltage0 : 8 BMS_LV SG_ LV_CELL_0_voltage : 0|16@1+ (0.038,2000) [0|2490.33] "mV" DSPACE, SCANNER SG_ LV_CELL_1_voltage : 16|16@1+ (0.038,2000) [0|2490.33] "mV" DSPACE, SCANNER SG_ LV_CELL_2_voltage : 32|16@1+ (0.038,2000) [0|2490.33] "mV" DSPACE, SCANNER SG_ LV_CELL_3_voltage : 48|16@1+ (0.038,2000) [0|2490.33] "mV" DSPACE, SCANNER -BO_ 257 BMS_LV_lvCellVoltage1 : 6 BMS_LV +BO_ 465 BMS_LV_lvCellVoltage1 : 6 BMS_LV SG_ LV_CELL_4_voltage : 0|16@1+ (0.038,2000) [0|2490.33] "mV" DSPACE, SCANNER SG_ LV_CELL_5_voltage : 16|16@1+ (0.038,2000) [0|2490.33] "mV" DSPACE, SCANNER SG_ LV_CELL_6_voltage : 32|16@1+ (0.038,2000) [0|2490.33] "mV" DSPACE, SCANNER -BO_ 258 BMS_LV_lvBatGeneral : 6 BMS_LV +BO_ 481 BMS_LV_lvBatGeneral : 6 BMS_LV SG_ LV_BAT_currentSensVoltage : 0|16@1+ (0.076,0) [0|4980.66] "mV" DSPACE, SCANNER SG_ LV_BAT_voltage : 16|16@1+ (0.267,14000) [0|17497.845] "mV" DSPACE, SCANNER SG_ LV_BAT_summedVoltage : 32|16@1+ (0.267,14000) [0|17497.845] "mV" DSPACE, SCANNER -BO_ 259 BMS_LV_status : 4 BMS_LV +BO_ 513 BMS_LV_status : 4 BMS_LV SG_ LV_RELAY_isClosed : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER SG_ LV_CELL_0_isOV : 1|1@1+ (1,0) [0|1] "" DSPACE, SCANNER SG_ LV_CELL_0_isUV : 2|1@1+ (1,0) [0|1] "" DSPACE, SCANNER @@ -84,7 +98,15 @@ BO_ 259 BMS_LV_status : 4 BMS_LV SG_ LV_CELL_NTC_10_isOT : 25|1@1+ (1,0) [0|1] "" DSPACE, SCANNER SG_ LV_CELL_NTC_11_isOT : 26|1@1+ (1,0) [0|1] "" DSPACE, SCANNER -BO_ 260 BMS_LV_lvCellNTCResistance0 : 8 BMS_LV +BO_ 529 BMS_LV_lvCellNTCResistance1 : 8 BMS_LV + SG_ LV_CELL_NTC_06_resistance : 0|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER + SG_ LV_CELL_NTC_07_resistance : 10|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER + SG_ LV_CELL_NTC_08_resistance : 20|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER + SG_ LV_CELL_NTC_09_resistance : 30|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER + SG_ LV_CELL_NTC_10_resistance : 40|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER + SG_ LV_CELL_NTC_11_resistance : 50|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER + +BO_ 545 BMS_LV_lvCellNTCResistance0 : 8 BMS_LV SG_ LV_CELL_NTC_00_resistance : 0|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER SG_ LV_CELL_NTC_01_resistance : 10|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER SG_ LV_CELL_NTC_02_resistance : 20|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER @@ -92,90 +114,79 @@ BO_ 260 BMS_LV_lvCellNTCResistance0 : 8 BMS_LV SG_ LV_CELL_NTC_04_resistance : 40|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER SG_ LV_CELL_NTC_05_resistance : 50|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER -BO_ 261 BMS_LV_lvCellNTCResistance1 : 8 BMS_LV - SG_ LV_CELL_NTC_06_resistance : 0|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER - SG_ LV_CELL_NTC_07_resistance : 10|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER - SG_ LV_CELL_NTC_08_resistance : 20|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER - SG_ LV_CELL_NTC_09_resistance : 30|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER - SG_ LV_CELL_NTC_10_resistance : 40|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER - SG_ LV_CELL_NTC_11_resistance : 50|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER +BO_ 561 BMS_LV_xcpRX : 8 BMS_LV -BO_ 23 DASH_hello : 3 DASH +BO_ 18 DASH_hello : 3 DASH SG_ FW_majorVersion : 0|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_minorVersion : 8|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_patchVersion : 16|8@1+ (1,0) [0|255] "" DSPACE, SCANNER -BO_ 38 DASH_buttonState : 2 DASH +BO_ 418 DASH_buttonState : 2 DASH SG_ RTD_CMD : 0|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ BTN_0_isPressed : 8|1@1+ (1,0) [0|1] "" DSPACE, SCANNER SG_ BTN_1_isPressed : 9|1@1+ (1,0) [0|1] "" DSPACE, SCANNER SG_ BTN_2_isPressed : 10|1@1+ (1,0) [0|1] "" DSPACE, SCANNER SG_ BTN_3_isPressed : 11|1@1+ (1,0) [0|1] "" DSPACE, SCANNER -BO_ 255 DASH_lvRelayOverride : 2 DASH - SG_ BMS_LV_diagPWD : 0|15@1+ (1,0) [0|32768] "" BMS_LV - SG_ LV_RELAY_forcedState : 15|1@1+ (1,0) [0|1] "closed" BMS_LV - -BO_ 519 DASH_peripheralsStatus : 1 DASH - SG_ TSAC_FAN_pwmStatus : 0|4@1+ (1,0) [0|10] "%" DSPACE, SCANNER +BO_ 434 DASH_rotarySwitchState : 1 DASH + SG_ ROT_SWITCH_0_position : 0|4@1+ (1,0) [0|10] "" DSPACE, SCANNER + SG_ ROT_SWITCH_1_position : 4|4@1+ (1,0) [0|10] "" DSPACE, SCANNER -BO_ 1300 DASH_appsRangeLimits : 8 DASH +BO_ 594 DASH_appsRangeLimits : 8 DASH SG_ APPS_0_voltageRangeMin : 0|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER SG_ APPS_0_voltageRangeMax : 16|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER SG_ APPS_1_voltageRangeMin : 32|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER SG_ APPS_1_voltageRangeMax : 48|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER -BO_ 1301 DASH_rotarySwitchState : 1 DASH - SG_ ROT_SWITCH_0_position : 0|4@1+ (1,0) [0|10] "" DSPACE, SCANNER - SG_ ROT_SWITCH_1_position : 4|4@1+ (1,0) [0|10] "" DSPACE, SCANNER +BO_ 610 DASH_xcpRX : 8 DASH + +BO_ 658 DASH_peripheralsStatus : 1 DASH + SG_ TSAC_FAN_pwmStatus : 0|4@1+ (1,0) [0|10] "%" DSPACE, SCANNER -BO_ 25 DSPACE_hello : 3 DSPACE +BO_ 674 DASH_lvRelayOverride : 2 DASH + SG_ BMS_LV_diagPWD : 0|15@1+ (1,0) [0|32768] "" BMS_LV + SG_ LV_RELAY_forcedState : 15|1@1+ (1,0) [0|1] "closed" BMS_LV + +BO_ 19 DSPACE_hello : 3 DSPACE SG_ FW_majorVersion : 0|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_minorVersion : 8|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_patchVersion : 16|8@1+ (1,0) [0|255] "" DSPACE, SCANNER -BO_ 37 DSPACE_status : 1 DSPACE - SG_ DSPACE_FSM_state : 0|8@1- (1,0) [-1|6] "" DASH, SCANNER - -BO_ 39 DSPACE_datetime : 5 DSPACE - SG_ DATETIME_year : 0|8@1+ (1,0) [0|255] "" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT - SG_ DATETIME_month : 8|4@1+ (1,0) [0|11] "" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT - SG_ DATETIME_day : 12|5@1+ (1,0) [1|31] "" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT - SG_ DATETIME_hours : 17|5@1+ (1,0) [0|23] "h" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT - SG_ DATETIME_minutes : 22|6@1+ (1,0) [0|59] "min" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT - SG_ DATETIME_seconds : 28|6@1+ (1,0) [0|59] "sec" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT - -BO_ 512 DSPACE_peripheralsCTRL : 2 DSPACE +BO_ 499 DSPACE_peripheralsCTRL : 2 DSPACE SG_ BRAKE_LIGHT_activeCMD : 0|1@1+ (1,0) [0|1] "" DASH, SB_REAR, SCANNER SG_ RAD_FAN_pwmCtrl : 8|8@1+ (1,0) [0|255] "%" DASH, SB_REAR, SCANNER -BO_ 1280 DSPACE_motorStatus : 1 DSPACE +BO_ 691 DSPACE_motorStatus : 1 DSPACE SG_ MOTOR_FL_isON : 0|1@1+ (1,0) [0|1] "" SCANNER SG_ MOTOR_FR_isON : 1|1@1+ (1,0) [0|1] "" SCANNER SG_ MOTOR_RL_isON : 2|1@1+ (1,0) [0|1] "" SCANNER SG_ MOTOR_RR_isON : 3|1@1+ (1,0) [0|1] "" SCANNER -BO_ 5 SB_FRONT_analog : 8 SB_FRONT - SG_ APPS_0_voltage : 0|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER - SG_ APPS_1_voltage : 16|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER - SG_ STEERING_RME_voltage : 32|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER - SG_ BRAKE_PRESS_FRONT_voltage : 48|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER +BO_ 707 DSPACE_datetime : 5 DSPACE + SG_ DATETIME_year : 0|8@1+ (1,0) [0|255] "" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT + SG_ DATETIME_month : 8|4@1+ (1,0) [0|11] "" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT + SG_ DATETIME_day : 12|5@1+ (1,0) [1|31] "" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT + SG_ DATETIME_hours : 17|5@1+ (1,0) [0|23] "h" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT + SG_ DATETIME_minutes : 22|6@1+ (1,0) [0|59] "min" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT + SG_ DATETIME_seconds : 28|6@1+ (1,0) [0|59] "sec" DASH, SB_FRONT, SB_REAR, SCANNER, TLB_BAT -BO_ 16 SB_FRONT_potentiometer : 4 SB_FRONT - SG_ LPPS_DAMPER_FL_voltage : 0|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER - SG_ LPPS_DAMPER_FR_voltage : 16|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER +BO_ 739 DSPACE_status : 1 DSPACE + SG_ DSPACE_FSM_state : 0|8@1- (1,0) [-1|6] "" DASH, SCANNER -BO_ 21 SB_FRONT_hello : 3 SB_FRONT +BO_ 755 DSPACE_xcpRX : 8 DSPACE + +BO_ 20 SB_FRONT_hello : 3 SB_FRONT SG_ FW_majorVersion : 0|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_minorVersion : 8|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_patchVersion : 16|8@1+ (1,0) [0|255] "" DSPACE, SCANNER -BO_ 49 SB_FRONT_sdcStatus : 1 SB_FRONT - SG_ SDC_POST_INERTIA_isActive : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - SG_ SDC_POST_BOTS_isActive : 1|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - SG_ SDC_POST_CP_PUSH_BTN_isActive : 2|1@1+ (1,0) [0|1] "" DSPACE, SCANNER +BO_ 260 SB_FRONT_analog : 8 SB_FRONT + SG_ APPS_0_voltage : 0|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER + SG_ APPS_1_voltage : 16|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER + SG_ STEERING_RME_voltage : 32|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER + SG_ BRAKE_PRESS_FRONT_voltage : 48|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER -BO_ 1024 SB_FRONT_ntcResistance : 8 SB_FRONT +BO_ 372 SB_FRONT_ntcResistance : 8 SB_FRONT SG_ JACKET_FL_NTC_resistance : 0|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER SG_ JACKET_FR_NTC_resistance : 10|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER SG_ COLDPLATE_L_NTC_resistance : 20|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER @@ -183,26 +194,28 @@ BO_ 1024 SB_FRONT_ntcResistance : 8 SB_FRONT SG_ SPARE_NTC_0_resistance : 40|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER SG_ SPARE_NTC_1_resistance : 50|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER -BO_ 17 SB_REAR_potentiometer : 4 SB_REAR - SG_ LPPS_DAMPER_RL_voltage : 0|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER - SG_ LPPS_DAMPER_RR_voltage : 16|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER +BO_ 388 SB_FRONT_sdcStatus : 1 SB_FRONT + SG_ SDC_POST_INERTIA_isActive : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + SG_ SDC_POST_BOTS_isActive : 1|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + SG_ SDC_POST_CP_PUSH_BTN_isActive : 2|1@1+ (1,0) [0|1] "" DSPACE, SCANNER -BO_ 22 SB_REAR_hello : 3 SB_REAR +BO_ 404 SB_FRONT_potentiometer : 4 SB_FRONT + SG_ LPPS_DAMPER_FL_voltage : 0|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER + SG_ LPPS_DAMPER_FR_voltage : 16|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER + +BO_ 644 SB_FRONT_xcpRX : 8 SB_FRONT + +BO_ 21 SB_REAR_hello : 3 SB_REAR SG_ FW_majorVersion : 0|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_minorVersion : 8|8@1+ (1,0) [0|255] "" DSPACE, SCANNER SG_ FW_patchVersion : 16|8@1+ (1,0) [0|255] "" DSPACE, SCANNER -BO_ 48 SB_REAR_sdcStatus : 1 SB_REAR - SG_ SDC_POST_BSPD_isClosed : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - SG_ SDC_PRE_PUSH_BTNS_isClosed : 1|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - SG_ SDC_POST_DC_BUS_isClosed : 2|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - SG_ SDC_POST_INV_FR_isClosed : 3|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - SG_ BSPD_hasError : 4|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - -BO_ 50 SB_REAR_dischargeStatus : 1 SB_REAR - SG_ DISCHARGE_isOpen : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER +BO_ 309 SB_REAR_analog : 6 SB_REAR + SG_ COOL_PRESS_LEFT_voltage : 0|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER + SG_ COOL_PRESS_RIGHT_voltage : 16|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER + SG_ BRAKE_PRESS_REAR_voltage : 32|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER -BO_ 1025 SB_REAR_ntcResistance : 8 SB_REAR +BO_ 325 SB_REAR_ntcResistance : 8 SB_REAR SG_ JACKET_RL_NTC_resistance : 0|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER SG_ JACKET_RR_NTC_resistance : 10|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER SG_ RAD_RL_IN_NTC_resistance : 20|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER @@ -210,18 +223,28 @@ BO_ 1025 SB_REAR_ntcResistance : 8 SB_REAR SG_ RAD_RR_IN_NTC_resistance : 40|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER SG_ RAD_RR_OUT_NTC_resistance : 50|10@1+ (31.25,1000) [0|31968.75] "Ohm" DSPACE, SCANNER -BO_ 1026 SB_REAR_analog : 6 SB_REAR - SG_ COOL_PRESS_LEFT_voltage : 0|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER - SG_ COOL_PRESS_RIGHT_voltage : 16|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER - SG_ BRAKE_PRESS_REAR_voltage : 32|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER +BO_ 341 SB_REAR_sdcStatus : 1 SB_REAR + SG_ SDC_POST_BSPD_isClosed : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + SG_ SDC_PRE_PUSH_BTNS_isClosed : 1|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + SG_ SDC_POST_DC_BUS_isClosed : 2|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + SG_ SDC_POST_INV_FR_isClosed : 3|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + SG_ BSPD_hasError : 4|1@1+ (1,0) [0|1] "" DSPACE, SCANNER -BO_ 18 TLB_BAT_sdcStatus : 3 TLB_BAT - SG_ SDC_TSAC_INIT_IN_isActive : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - SG_ SDC_TSAC_INIT_OUT_isActive : 1|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - SG_ SDC_POST_AMS_IMD_RELAY_isActive : 2|1@1+ (1,0) [0|1] "" DSPACE, SCANNER - SG_ SDC_TSAC_FINAL_IN_isActive : 3|1@1+ (1,0) [0|1] "" DSPACE, SCANNER +BO_ 357 SB_REAR_potentiometer : 4 SB_REAR + SG_ LPPS_DAMPER_RL_voltage : 0|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER + SG_ LPPS_DAMPER_RR_voltage : 16|16@1+ (1,0) [0|65535] "mV" DSPACE, SCANNER -BO_ 19 TLB_BAT_status : 3 TLB_BAT +BO_ 581 SB_REAR_dischargeStatus : 1 SB_REAR + SG_ DISCHARGE_isOpen : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + +BO_ 629 SB_REAR_xcpRX : 8 SB_REAR + +BO_ 22 TLB_BAT_hello : 3 TLB_BAT + SG_ FW_majorVersion : 0|8@1+ (1,0) [0|255] "" DSPACE, SCANNER + SG_ FW_minorVersion : 8|8@1+ (1,0) [0|255] "" DSPACE, SCANNER + SG_ FW_patchVersion : 16|8@1+ (1,0) [0|255] "" DSPACE, SCANNER + +BO_ 278 TLB_BAT_status : 3 TLB_BAT SG_ TSAL_isGreen : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER SG_ AIR_POS_isClosed : 1|1@1+ (1,0) [0|1] "" DSPACE, SCANNER SG_ AIR_NEG_isClosed : 2|1@1+ (1,0) [0|1] "" DSPACE, SCANNER @@ -240,10 +263,15 @@ BO_ 19 TLB_BAT_status : 3 TLB_BAT SG_ DC_BUS_IMP_isPresent : 15|1@1+ (1,0) [0|1] "" DSPACE, SCANNER SG_ ANY_IMP_isLatched : 16|1@1+ (1,0) [0|1] "" DSPACE, SCANNER -BO_ 24 TLB_BAT_hello : 3 TLB_BAT - SG_ FW_majorVersion : 0|8@1+ (1,0) [0|255] "" DSPACE, SCANNER - SG_ FW_minorVersion : 8|8@1+ (1,0) [0|255] "" DSPACE, SCANNER - SG_ FW_patchVersion : 16|8@1+ (1,0) [0|255] "" DSPACE, SCANNER +BO_ 18 TLB_BAT_sdcStatus : 3 TLB_BAT + SG_ SDC_TSAC_INIT_IN_isActive : 0|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + SG_ SDC_TSAC_INIT_OUT_isActive : 1|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + SG_ SDC_POST_AMS_IMD_RELAY_isActive : 2|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + SG_ SDC_TSAC_FINAL_IN_isActive : 3|1@1+ (1,0) [0|1] "" DSPACE, SCANNER + +BO_ 726 TLB_BAT_xcpRX : 8 TLB_BAT + +BO_ 775 SCANNER_xcpRX : 8 SCANNER BO_ 1800 unknown_ir : 8 EXTRA_NODE @@ -269,148 +297,162 @@ BO_ 1832 TPMS_rear : 8 TPMS CM_ BU_ DIAG_TOOL "The diagnostic tool connected through the CSC."; +CM_ BO_ 1792 "The message used to flash the BMS_LV."; +CM_ BO_ 1793 "The message used to flash the DASH."; +CM_ BO_ 1794 "The message used to flash the DSPACE."; +CM_ BO_ 1795 "The message used to flash the SB_FRONT."; +CM_ BO_ 1796 "The message used to flash the SB_REAR."; +CM_ BO_ 1797 "The message used to flash the TLB_BAT."; +CM_ BO_ 1798 "The message used to flash the SCANNER."; CM_ BU_ BMS_LV "The battery-management-system low-voltage."; -CM_ SG_ 20 FW_majorVersion "The firmware major version of the BMS LV."; -CM_ SG_ 20 FW_minorVersion "The firmware minor version of the BMS LV."; -CM_ SG_ 20 FW_patchVersion "The firmware patch version of the BMS LV."; -CM_ SG_ 256 LV_CELL_0_voltage "The voltage of the LV cell #0 expressed in mV."; -CM_ SG_ 256 LV_CELL_1_voltage "The voltage of the LV cell #1 expressed in mV."; -CM_ SG_ 256 LV_CELL_2_voltage "The voltage of the LV cell #2 expressed in mV."; -CM_ SG_ 256 LV_CELL_3_voltage "The voltage of the LV cell #3 expressed in mV."; -CM_ SG_ 257 LV_CELL_4_voltage "The voltage of the LV cell #4 expressed in mV."; -CM_ SG_ 257 LV_CELL_5_voltage "The voltage of the LV cell #4 expressed in mV."; -CM_ SG_ 257 LV_CELL_6_voltage "The voltage of the LV cell #4 expressed in mV."; -CM_ SG_ 258 LV_BAT_currentSensVoltage "The voltage returned by the current sensor of the LV battery expressed in mV."; -CM_ SG_ 258 LV_BAT_voltage "The total read voltage of the LV battery pack expressed in mV."; -CM_ SG_ 258 LV_BAT_summedVoltage "The total voltage of the LV battery pack calculated by summing each cell voltage expressed in mV."; -CM_ SG_ 259 LV_RELAY_isClosed "States whether the LV relay is closed."; -CM_ SG_ 259 LV_CELL_0_isOV "States whether the LV cell #0 is in overvoltage."; -CM_ SG_ 259 LV_CELL_0_isUV "States whether the LV cell #0 is in undervoltage."; -CM_ SG_ 259 LV_CELL_1_isOV "States whether the LV cell #1 is in overvoltage."; -CM_ SG_ 259 LV_CELL_1_isUV "States whether the LV cell #1 is in undervoltage."; -CM_ SG_ 259 LV_CELL_2_isOV "States whether the LV cell #2 is in overvoltage."; -CM_ SG_ 259 LV_CELL_2_isUV "States whether the LV cell #2 is in undervoltage."; -CM_ SG_ 259 LV_CELL_3_isOV "States whether the LV cell #3 is in overvoltage."; -CM_ SG_ 259 LV_CELL_3_isUV "States whether the LV cell #3 is in undervoltage."; -CM_ SG_ 259 LV_CELL_4_isOV "States whether the LV cell #4 is in overvoltage."; -CM_ SG_ 259 LV_CELL_4_isUV "States whether the LV cell #4 is in undervoltage."; -CM_ SG_ 259 LV_CELL_5_isOV "States whether the LV cell #5 is in overvoltage."; -CM_ SG_ 259 LV_CELL_5_isUV "States whether the LV cell #5 is in undervoltage."; -CM_ SG_ 259 LV_CELL_6_isOV "States whether the LV cell #6 is in overvoltage."; -CM_ SG_ 259 LV_CELL_6_isUV "States whether the LV cell #6 is in undervoltage."; -CM_ SG_ 259 LV_CELL_NTC_00_isOT "States whether the LV cell temperature sensor #0 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_01_isOT "States whether the LV cell temperature sensor #1 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_02_isOT "States whether the LV cell temperature sensor #2 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_03_isOT "States whether the LV cell temperature sensor #3 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_04_isOT "States whether the LV cell temperature sensor #4 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_05_isOT "States whether the LV cell temperature sensor #5 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_06_isOT "States whether the LV cell temperature sensor #6 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_07_isOT "States whether the LV cell temperature sensor #7 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_08_isOT "States whether the LV cell temperature sensor #8 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_09_isOT "States whether the LV cell temperature sensor #9 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_10_isOT "States whether the LV cell temperature sensor #10 (NTC) detects an over temperature."; -CM_ SG_ 259 LV_CELL_NTC_11_isOT "States whether the LV cell temperature sensor #11 (NTC) detects an over temperature."; -CM_ SG_ 260 LV_CELL_NTC_00_resistance "The resistance of the NTC #0 in the battery pack expressed in Ohm."; -CM_ SG_ 260 LV_CELL_NTC_01_resistance "The resistance of the NTC #1 in the battery pack expressed in Ohm."; -CM_ SG_ 260 LV_CELL_NTC_02_resistance "The resistance of the NTC #2 in the battery pack expressed in Ohm."; -CM_ SG_ 260 LV_CELL_NTC_03_resistance "The resistance of the NTC #3 in the battery pack expressed in Ohm."; -CM_ SG_ 260 LV_CELL_NTC_04_resistance "The resistance of the NTC #4 in the battery pack expressed in Ohm."; -CM_ SG_ 260 LV_CELL_NTC_05_resistance "The resistance of the NTC #5 in the battery pack expressed in Ohm."; -CM_ SG_ 261 LV_CELL_NTC_06_resistance "The resistance of the NTC #6 in the battery pack expressed in Ohm."; -CM_ SG_ 261 LV_CELL_NTC_07_resistance "The resistance of the NTC #7 in the battery pack expressed in Ohm."; -CM_ SG_ 261 LV_CELL_NTC_08_resistance "The resistance of the NTC #8 in the battery pack expressed in Ohm."; -CM_ SG_ 261 LV_CELL_NTC_09_resistance "The resistance of the NTC #9 in the battery pack expressed in Ohm."; -CM_ SG_ 261 LV_CELL_NTC_10_resistance "The resistance of the NTC #10 in the battery pack expressed in Ohm."; -CM_ SG_ 261 LV_CELL_NTC_11_resistance "The resistance of the NTC #11 in the battery pack expressed in Ohm."; +CM_ SG_ 17 FW_majorVersion "The firmware major version of the BMS LV."; +CM_ SG_ 17 FW_minorVersion "The firmware minor version of the BMS LV."; +CM_ SG_ 17 FW_patchVersion "The firmware patch version of the BMS LV."; +CM_ SG_ 449 LV_CELL_0_voltage "The voltage of the LV cell #0 expressed in mV."; +CM_ SG_ 449 LV_CELL_1_voltage "The voltage of the LV cell #1 expressed in mV."; +CM_ SG_ 449 LV_CELL_2_voltage "The voltage of the LV cell #2 expressed in mV."; +CM_ SG_ 449 LV_CELL_3_voltage "The voltage of the LV cell #3 expressed in mV."; +CM_ SG_ 465 LV_CELL_4_voltage "The voltage of the LV cell #4 expressed in mV."; +CM_ SG_ 465 LV_CELL_5_voltage "The voltage of the LV cell #4 expressed in mV."; +CM_ SG_ 465 LV_CELL_6_voltage "The voltage of the LV cell #4 expressed in mV."; +CM_ SG_ 481 LV_BAT_currentSensVoltage "The voltage returned by the current sensor of the LV battery expressed in mV."; +CM_ SG_ 481 LV_BAT_voltage "The total read voltage of the LV battery pack expressed in mV."; +CM_ SG_ 481 LV_BAT_summedVoltage "The total voltage of the LV battery pack calculated by summing each cell voltage expressed in mV."; +CM_ SG_ 513 LV_RELAY_isClosed "States whether the LV relay is closed."; +CM_ SG_ 513 LV_CELL_0_isOV "States whether the LV cell #0 is in overvoltage."; +CM_ SG_ 513 LV_CELL_0_isUV "States whether the LV cell #0 is in undervoltage."; +CM_ SG_ 513 LV_CELL_1_isOV "States whether the LV cell #1 is in overvoltage."; +CM_ SG_ 513 LV_CELL_1_isUV "States whether the LV cell #1 is in undervoltage."; +CM_ SG_ 513 LV_CELL_2_isOV "States whether the LV cell #2 is in overvoltage."; +CM_ SG_ 513 LV_CELL_2_isUV "States whether the LV cell #2 is in undervoltage."; +CM_ SG_ 513 LV_CELL_3_isOV "States whether the LV cell #3 is in overvoltage."; +CM_ SG_ 513 LV_CELL_3_isUV "States whether the LV cell #3 is in undervoltage."; +CM_ SG_ 513 LV_CELL_4_isOV "States whether the LV cell #4 is in overvoltage."; +CM_ SG_ 513 LV_CELL_4_isUV "States whether the LV cell #4 is in undervoltage."; +CM_ SG_ 513 LV_CELL_5_isOV "States whether the LV cell #5 is in overvoltage."; +CM_ SG_ 513 LV_CELL_5_isUV "States whether the LV cell #5 is in undervoltage."; +CM_ SG_ 513 LV_CELL_6_isOV "States whether the LV cell #6 is in overvoltage."; +CM_ SG_ 513 LV_CELL_6_isUV "States whether the LV cell #6 is in undervoltage."; +CM_ SG_ 513 LV_CELL_NTC_00_isOT "States whether the LV cell temperature sensor #0 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_01_isOT "States whether the LV cell temperature sensor #1 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_02_isOT "States whether the LV cell temperature sensor #2 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_03_isOT "States whether the LV cell temperature sensor #3 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_04_isOT "States whether the LV cell temperature sensor #4 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_05_isOT "States whether the LV cell temperature sensor #5 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_06_isOT "States whether the LV cell temperature sensor #6 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_07_isOT "States whether the LV cell temperature sensor #7 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_08_isOT "States whether the LV cell temperature sensor #8 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_09_isOT "States whether the LV cell temperature sensor #9 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_10_isOT "States whether the LV cell temperature sensor #10 (NTC) detects an over temperature."; +CM_ SG_ 513 LV_CELL_NTC_11_isOT "States whether the LV cell temperature sensor #11 (NTC) detects an over temperature."; +CM_ SG_ 529 LV_CELL_NTC_06_resistance "The resistance of the NTC #6 in the battery pack expressed in Ohm."; +CM_ SG_ 529 LV_CELL_NTC_07_resistance "The resistance of the NTC #7 in the battery pack expressed in Ohm."; +CM_ SG_ 529 LV_CELL_NTC_08_resistance "The resistance of the NTC #8 in the battery pack expressed in Ohm."; +CM_ SG_ 529 LV_CELL_NTC_09_resistance "The resistance of the NTC #9 in the battery pack expressed in Ohm."; +CM_ SG_ 529 LV_CELL_NTC_10_resistance "The resistance of the NTC #10 in the battery pack expressed in Ohm."; +CM_ SG_ 529 LV_CELL_NTC_11_resistance "The resistance of the NTC #11 in the battery pack expressed in Ohm."; +CM_ SG_ 545 LV_CELL_NTC_00_resistance "The resistance of the NTC #0 in the battery pack expressed in Ohm."; +CM_ SG_ 545 LV_CELL_NTC_01_resistance "The resistance of the NTC #1 in the battery pack expressed in Ohm."; +CM_ SG_ 545 LV_CELL_NTC_02_resistance "The resistance of the NTC #2 in the battery pack expressed in Ohm."; +CM_ SG_ 545 LV_CELL_NTC_03_resistance "The resistance of the NTC #3 in the battery pack expressed in Ohm."; +CM_ SG_ 545 LV_CELL_NTC_04_resistance "The resistance of the NTC #4 in the battery pack expressed in Ohm."; +CM_ SG_ 545 LV_CELL_NTC_05_resistance "The resistance of the NTC #5 in the battery pack expressed in Ohm."; +CM_ BO_ 561 "The message used to notify the diagnostic tool that the board is flashed."; CM_ BU_ DASH "The dashboard ECU."; -CM_ SG_ 23 FW_majorVersion "The firmware major version of the dashboard."; -CM_ SG_ 23 FW_minorVersion "The firmware minor version of the dashboard."; -CM_ SG_ 23 FW_patchVersion "The firmware patch version of the dashboard."; -CM_ SG_ 38 RTD_CMD "The RTD command."; -CM_ SG_ 38 BTN_0_isPressed "States whether the button #0 of the dashboard is pressed."; -CM_ SG_ 38 BTN_1_isPressed "States whether the button #1 of the dashboard is pressed."; -CM_ SG_ 38 BTN_2_isPressed "States whether the button #2 of the dashboard is pressed."; -CM_ SG_ 38 BTN_3_isPressed "States whether the button #3 of the dashboard is pressed."; -CM_ SG_ 255 BMS_LV_diagPWD "The password to enter diagnostic mode of the BMS_LV."; -CM_ SG_ 255 LV_RELAY_forcedState "The command to force the LV relay open (0) or closed (1)."; -CM_ SG_ 519 TSAC_FAN_pwmStatus "The percentage of the duty cycle of the TSAC fan."; -CM_ SG_ 1300 APPS_0_voltageRangeMin "The APPS #0 minimum range expressed in mV."; -CM_ SG_ 1300 APPS_0_voltageRangeMax "The APPS #0 maximum range expressed in mV."; -CM_ SG_ 1300 APPS_1_voltageRangeMin "The APPS #1 minimum range expressed in mV."; -CM_ SG_ 1300 APPS_1_voltageRangeMax "The APPS #1 maximum range expressed in mV."; -CM_ SG_ 1301 ROT_SWITCH_0_position "The position (0-10) of the rotary switch #0 of the dashboard."; -CM_ SG_ 1301 ROT_SWITCH_1_position "The position (0-10) of the rotary switch #1 of the dashboard."; +CM_ SG_ 18 FW_majorVersion "The firmware major version of the dashboard."; +CM_ SG_ 18 FW_minorVersion "The firmware minor version of the dashboard."; +CM_ SG_ 18 FW_patchVersion "The firmware patch version of the dashboard."; +CM_ SG_ 418 RTD_CMD "The RTD command."; +CM_ SG_ 418 BTN_0_isPressed "States whether the button #0 of the dashboard is pressed."; +CM_ SG_ 418 BTN_1_isPressed "States whether the button #1 of the dashboard is pressed."; +CM_ SG_ 418 BTN_2_isPressed "States whether the button #2 of the dashboard is pressed."; +CM_ SG_ 418 BTN_3_isPressed "States whether the button #3 of the dashboard is pressed."; +CM_ SG_ 434 ROT_SWITCH_0_position "The position (0-10) of the rotary switch #0 of the dashboard."; +CM_ SG_ 434 ROT_SWITCH_1_position "The position (0-10) of the rotary switch #1 of the dashboard."; +CM_ SG_ 594 APPS_0_voltageRangeMin "The APPS #0 minimum range expressed in mV."; +CM_ SG_ 594 APPS_0_voltageRangeMax "The APPS #0 maximum range expressed in mV."; +CM_ SG_ 594 APPS_1_voltageRangeMin "The APPS #1 minimum range expressed in mV."; +CM_ SG_ 594 APPS_1_voltageRangeMax "The APPS #1 maximum range expressed in mV."; +CM_ BO_ 610 "The message used to notify the diagnostic tool that the board is flashed."; +CM_ SG_ 658 TSAC_FAN_pwmStatus "The percentage of the duty cycle of the TSAC fan."; +CM_ SG_ 674 BMS_LV_diagPWD "The password to enter diagnostic mode of the BMS_LV."; +CM_ SG_ 674 LV_RELAY_forcedState "The command to force the LV relay open (0) or closed (1)."; CM_ BU_ DSPACE "An automotive ECU."; -CM_ SG_ 25 FW_majorVersion "The firmware major version of the dSpace."; -CM_ SG_ 25 FW_minorVersion "The firmware minor version of the dSpace."; -CM_ SG_ 25 FW_patchVersion "The firmware patch version of the dSpace."; -CM_ SG_ 37 DSPACE_FSM_state "The state of the dspace RTD state machine. 0 = Idle (waiting for push); 1 = Precharge (1st push); 2 = TS ON; 3 = RTD requested (2nd push); 4 = RTD\n5 = Turn OFF; -1 = Reboot/discharge"; -CM_ SG_ 39 DATETIME_year "The current year expressed as an offset from 1970."; -CM_ SG_ 39 DATETIME_month "The current month of the year (0 = January, 11 = December)."; -CM_ SG_ 39 DATETIME_day "The current day of the month, from 1 to 31."; -CM_ SG_ 39 DATETIME_hours "The current hours of the day."; -CM_ SG_ 39 DATETIME_minutes "The current minutes of the hour."; -CM_ SG_ 39 DATETIME_seconds "The current seconds of the minute."; -CM_ SG_ 512 BRAKE_LIGHT_activeCMD "The command to turn on the brake light (1 active)."; -CM_ SG_ 1280 MOTOR_FL_isON "States whether the front left motor is ON."; -CM_ SG_ 1280 MOTOR_FR_isON "States whether the front right motor is ON."; -CM_ SG_ 1280 MOTOR_RL_isON "States whether the rear left motor is ON."; -CM_ SG_ 1280 MOTOR_RR_isON "States whether the rear right motor is ON."; +CM_ SG_ 19 FW_majorVersion "The firmware major version of the dSpace."; +CM_ SG_ 19 FW_minorVersion "The firmware minor version of the dSpace."; +CM_ SG_ 19 FW_patchVersion "The firmware patch version of the dSpace."; +CM_ SG_ 499 BRAKE_LIGHT_activeCMD "The command to turn on the brake light (1 active)."; +CM_ SG_ 691 MOTOR_FL_isON "States whether the front left motor is ON."; +CM_ SG_ 691 MOTOR_FR_isON "States whether the front right motor is ON."; +CM_ SG_ 691 MOTOR_RL_isON "States whether the rear left motor is ON."; +CM_ SG_ 691 MOTOR_RR_isON "States whether the rear right motor is ON."; +CM_ SG_ 707 DATETIME_year "The current year expressed as an offset from 1970."; +CM_ SG_ 707 DATETIME_month "The current month of the year (0 = January, 11 = December)."; +CM_ SG_ 707 DATETIME_day "The current day of the month, from 1 to 31."; +CM_ SG_ 707 DATETIME_hours "The current hours of the day."; +CM_ SG_ 707 DATETIME_minutes "The current minutes of the hour."; +CM_ SG_ 707 DATETIME_seconds "The current seconds of the minute."; +CM_ SG_ 739 DSPACE_FSM_state "The state of the dspace RTD state machine. 0 = Idle (waiting for push); 1 = Precharge (1st push); 2 = TS ON; 3 = RTD requested (2nd push); 4 = RTD\n5 = Turn OFF; -1 = Reboot/discharge"; +CM_ BO_ 755 "The message used to notify the diagnostic tool that the board is flashed."; CM_ BU_ SB_FRONT "The sensorboard front ECU."; -CM_ SG_ 5 APPS_0_voltage "The voltage of the APPS #0 expressed in mV."; -CM_ SG_ 5 APPS_1_voltage "The voltage of the APPS #1 expressed in mV."; -CM_ SG_ 5 STEERING_RME_voltage "The voltage of the steering RME (rotary magnetic encoder) sensor expressed in mV."; -CM_ SG_ 5 BRAKE_PRESS_FRONT_voltage "The voltage of the front brake pressure sensor expressed in mV."; -CM_ SG_ 16 LPPS_DAMPER_FL_voltage "The voltage of the linear potentiometer position sensor on the front left damper expressed in mV."; -CM_ SG_ 16 LPPS_DAMPER_FR_voltage "The voltage of the linear potentiometer position sensor on the front right damper expressed in mV."; -CM_ SG_ 21 FW_majorVersion "The firmware major version of the front sensorboard."; -CM_ SG_ 21 FW_minorVersion "The firmware minor version of the front sensorboard."; -CM_ SG_ 21 FW_patchVersion "The firmware patch version of the front sensorboard."; -CM_ SG_ 49 SDC_POST_INERTIA_isActive "States whether the SDC post inertia switch is active."; -CM_ SG_ 49 SDC_POST_BOTS_isActive "States whether the SDC post BOTS is active."; -CM_ SG_ 49 SDC_POST_CP_PUSH_BTN_isActive "States whether the SDC post cockpit push button is active."; -CM_ SG_ 1024 JACKET_FL_NTC_resistance "The resistance of the front left jacket NTC expressed in Ohm."; -CM_ SG_ 1024 JACKET_FR_NTC_resistance "The resistance of the front right jacket NTC expressed in Ohm."; -CM_ SG_ 1024 COLDPLATE_L_NTC_resistance "The resistance of the left coldplate NTC expressed in Ohm."; -CM_ SG_ 1024 COLDPLATE_R_NTC_resistance "The resistance of the right coldplate NTC expressed in Ohm."; -CM_ SG_ 1024 SPARE_NTC_0_resistance "The resistance of the spare NTC #0 expressed in Ohm."; -CM_ SG_ 1024 SPARE_NTC_1_resistance "The resistance of the spare NTC #1 expressed in Ohm."; +CM_ SG_ 20 FW_majorVersion "The firmware major version of the front sensorboard."; +CM_ SG_ 20 FW_minorVersion "The firmware minor version of the front sensorboard."; +CM_ SG_ 20 FW_patchVersion "The firmware patch version of the front sensorboard."; +CM_ SG_ 260 APPS_0_voltage "The voltage of the APPS #0 expressed in mV."; +CM_ SG_ 260 APPS_1_voltage "The voltage of the APPS #1 expressed in mV."; +CM_ SG_ 260 STEERING_RME_voltage "The voltage of the steering RME (rotary magnetic encoder) sensor expressed in mV."; +CM_ SG_ 260 BRAKE_PRESS_FRONT_voltage "The voltage of the front brake pressure sensor expressed in mV."; +CM_ SG_ 372 JACKET_FL_NTC_resistance "The resistance of the front left jacket NTC expressed in Ohm."; +CM_ SG_ 372 JACKET_FR_NTC_resistance "The resistance of the front right jacket NTC expressed in Ohm."; +CM_ SG_ 372 COLDPLATE_L_NTC_resistance "The resistance of the left coldplate NTC expressed in Ohm."; +CM_ SG_ 372 COLDPLATE_R_NTC_resistance "The resistance of the right coldplate NTC expressed in Ohm."; +CM_ SG_ 372 SPARE_NTC_0_resistance "The resistance of the spare NTC #0 expressed in Ohm."; +CM_ SG_ 372 SPARE_NTC_1_resistance "The resistance of the spare NTC #1 expressed in Ohm."; +CM_ SG_ 388 SDC_POST_INERTIA_isActive "States whether the SDC post inertia switch is active."; +CM_ SG_ 388 SDC_POST_BOTS_isActive "States whether the SDC post BOTS is active."; +CM_ SG_ 388 SDC_POST_CP_PUSH_BTN_isActive "States whether the SDC post cockpit push button is active."; +CM_ SG_ 404 LPPS_DAMPER_FL_voltage "The voltage of the linear potentiometer position sensor on the front left damper expressed in mV."; +CM_ SG_ 404 LPPS_DAMPER_FR_voltage "The voltage of the linear potentiometer position sensor on the front right damper expressed in mV."; +CM_ BO_ 644 "The message used to notify the diagnostic tool that the board is flashed."; CM_ BU_ SB_REAR "The sensorboard rear ECU."; -CM_ SG_ 17 LPPS_DAMPER_RL_voltage "The voltage of the linear potentiometer position sensor on the rear left damper expressed in mV."; -CM_ SG_ 17 LPPS_DAMPER_RR_voltage "The voltage of the linear potentiometer position sensor on the rear left damper expressed in mV."; -CM_ SG_ 22 FW_majorVersion "The firmware major version of the rear sensorboard."; -CM_ SG_ 22 FW_minorVersion "The firmware minor version of the rear sensorboard."; -CM_ SG_ 22 FW_patchVersion "The firmware patch version of the rear sensorboard."; -CM_ SG_ 48 SDC_POST_BSPD_isClosed "States whether the SDC post BSPD is closed."; -CM_ SG_ 48 SDC_PRE_PUSH_BTNS_isClosed "States whether the SDC per push buttons (hoop right/left) is closed."; -CM_ SG_ 48 SDC_POST_DC_BUS_isClosed "States whether the SDC post DC bus (inverter mono) is closed."; -CM_ SG_ 48 SDC_POST_INV_FR_isClosed "States whether the SDC post inverter front right is closed."; -CM_ SG_ 48 BSPD_hasError "States whether the BSPD has an error."; -CM_ SG_ 50 DISCHARGE_isOpen "States whether the discharge is open."; -CM_ SG_ 1025 JACKET_RL_NTC_resistance "The resistance of the rear left jacket NTC expressed in Ohm."; -CM_ SG_ 1025 JACKET_RR_NTC_resistance "The resistance of the rear right jacket NTC expressed in Ohm."; -CM_ SG_ 1025 RAD_RL_IN_NTC_resistance "The resistance of the rear left IN radiator NTC expressed in Ohm."; -CM_ SG_ 1025 RAD_RL_OUT_NTC_resistance "The resistance of the rear left OUT radiator NTC expressed in Ohm."; -CM_ SG_ 1025 RAD_RR_IN_NTC_resistance "The resistance of the rear right IN radiator NTC expressed in Ohm."; -CM_ SG_ 1025 RAD_RR_OUT_NTC_resistance "The resistance of the rear right OUT radiator NTC expressed in Ohm."; -CM_ SG_ 1026 COOL_PRESS_LEFT_voltage "The voltage of the left cooling pressure sensor expressed in mV."; -CM_ SG_ 1026 COOL_PRESS_RIGHT_voltage "The voltage of the right cooling pressure sensor expressed in mV."; -CM_ SG_ 1026 BRAKE_PRESS_REAR_voltage "The voltage of the rear brake pressure sensor expressed in mV."; +CM_ SG_ 21 FW_majorVersion "The firmware major version of the rear sensorboard."; +CM_ SG_ 21 FW_minorVersion "The firmware minor version of the rear sensorboard."; +CM_ SG_ 21 FW_patchVersion "The firmware patch version of the rear sensorboard."; +CM_ SG_ 309 COOL_PRESS_LEFT_voltage "The voltage of the left cooling pressure sensor expressed in mV."; +CM_ SG_ 309 COOL_PRESS_RIGHT_voltage "The voltage of the right cooling pressure sensor expressed in mV."; +CM_ SG_ 309 BRAKE_PRESS_REAR_voltage "The voltage of the rear brake pressure sensor expressed in mV."; +CM_ SG_ 325 JACKET_RL_NTC_resistance "The resistance of the rear left jacket NTC expressed in Ohm."; +CM_ SG_ 325 JACKET_RR_NTC_resistance "The resistance of the rear right jacket NTC expressed in Ohm."; +CM_ SG_ 325 RAD_RL_IN_NTC_resistance "The resistance of the rear left IN radiator NTC expressed in Ohm."; +CM_ SG_ 325 RAD_RL_OUT_NTC_resistance "The resistance of the rear left OUT radiator NTC expressed in Ohm."; +CM_ SG_ 325 RAD_RR_IN_NTC_resistance "The resistance of the rear right IN radiator NTC expressed in Ohm."; +CM_ SG_ 325 RAD_RR_OUT_NTC_resistance "The resistance of the rear right OUT radiator NTC expressed in Ohm."; +CM_ SG_ 341 SDC_POST_BSPD_isClosed "States whether the SDC post BSPD is closed."; +CM_ SG_ 341 SDC_PRE_PUSH_BTNS_isClosed "States whether the SDC per push buttons (hoop right/left) is closed."; +CM_ SG_ 341 SDC_POST_DC_BUS_isClosed "States whether the SDC post DC bus (inverter mono) is closed."; +CM_ SG_ 341 SDC_POST_INV_FR_isClosed "States whether the SDC post inverter front right is closed."; +CM_ SG_ 341 BSPD_hasError "States whether the BSPD has an error."; +CM_ SG_ 357 LPPS_DAMPER_RL_voltage "The voltage of the linear potentiometer position sensor on the rear left damper expressed in mV."; +CM_ SG_ 357 LPPS_DAMPER_RR_voltage "The voltage of the linear potentiometer position sensor on the rear left damper expressed in mV."; +CM_ SG_ 581 DISCHARGE_isOpen "States whether the discharge is open."; +CM_ BO_ 629 "The message used to notify the diagnostic tool that the board is flashed."; CM_ BU_ TLB_BAT "The tsal-latch-board battery ECU."; -CM_ SG_ 19 TSAL_isGreen "States whether the TSAL is green."; -CM_ SG_ 19 AIR_POS_isClosed "States whether the positive AIR is closed."; -CM_ SG_ 19 AIR_NEG_isClosed "States whether the negative AIR is closed."; -CM_ SG_ 19 PRECHARGE_RLY_isClosed "States whether the precharge relay is closed."; -CM_ SG_ 19 DC_BUS_isOver60V "States whether the DC bus volatge is over 60V."; -CM_ SG_ 19 ANY_IMP_isPresent "States whether any implausibility is present."; -CM_ SG_ 19 AIR_POS_IMP_isPresent "States whether an implausibility from the positive AIR is present."; -CM_ SG_ 19 AIR_NEG_IMP_isPresent "States whether an implausibility from the negative AIR is present."; -CM_ SG_ 19 PRECHARGE_RLY_IMP_isPresent "States whether an implausibility from the precharge relay is present."; -CM_ SG_ 19 DC_BUS_IMP_isPresent "States whether an implausibility from the DC bus is present."; -CM_ SG_ 19 ANY_IMP_isLatched "States whether any implausibility is latched."; -CM_ SG_ 24 FW_majorVersion "The firmware major version of the TLB battery."; -CM_ SG_ 24 FW_minorVersion "The firmware minor version of the TLB battery."; -CM_ SG_ 24 FW_patchVersion "The firmware patch version of the TLB battery."; +CM_ SG_ 22 FW_majorVersion "The firmware major version of the TLB battery."; +CM_ SG_ 22 FW_minorVersion "The firmware minor version of the TLB battery."; +CM_ SG_ 22 FW_patchVersion "The firmware patch version of the TLB battery."; +CM_ SG_ 278 TSAL_isGreen "States whether the TSAL is green."; +CM_ SG_ 278 AIR_POS_isClosed "States whether the positive AIR is closed."; +CM_ SG_ 278 AIR_NEG_isClosed "States whether the negative AIR is closed."; +CM_ SG_ 278 PRECHARGE_RLY_isClosed "States whether the precharge relay is closed."; +CM_ SG_ 278 DC_BUS_isOver60V "States whether the DC bus volatge is over 60V."; +CM_ SG_ 278 ANY_IMP_isPresent "States whether any implausibility is present."; +CM_ SG_ 278 AIR_POS_IMP_isPresent "States whether an implausibility from the positive AIR is present."; +CM_ SG_ 278 AIR_NEG_IMP_isPresent "States whether an implausibility from the negative AIR is present."; +CM_ SG_ 278 PRECHARGE_RLY_IMP_isPresent "States whether an implausibility from the precharge relay is present."; +CM_ SG_ 278 DC_BUS_IMP_isPresent "States whether an implausibility from the DC bus is present."; +CM_ SG_ 278 ANY_IMP_isLatched "States whether any implausibility is latched."; +CM_ BO_ 726 "The message used to notify the diagnostic tool that the board is flashed."; +CM_ BO_ 775 "The message used to notify the diagnostic tool that the board is flashed."; CM_ BU_ TPMS "The tire pressure monitoring system."; CM_ SG_ 1816 TIRE_FL_sensID "The sensor id of the front left tire."; CM_ SG_ 1816 TIRE_FL_status "The status the front left tire."; @@ -433,29 +475,29 @@ BA_DEF_ BO_ "GenMsgCycleTime" INT 0 3600000; BA_DEF_DEF_ "GenMsgCycleTime" 0; +BA_ "GenMsgCycleTime" BO_ 17 10; +BA_ "GenMsgCycleTime" BO_ 449 100; +BA_ "GenMsgCycleTime" BO_ 465 100; +BA_ "GenMsgCycleTime" BO_ 481 100; +BA_ "GenMsgCycleTime" BO_ 513 100; +BA_ "GenMsgCycleTime" BO_ 529 2000; +BA_ "GenMsgCycleTime" BO_ 545 2000; +BA_ "GenMsgCycleTime" BO_ 18 10; +BA_ "GenMsgCycleTime" BO_ 418 100; +BA_ "GenMsgCycleTime" BO_ 434 100; +BA_ "GenMsgCycleTime" BO_ 19 10; +BA_ "GenMsgCycleTime" BO_ 499 100; BA_ "GenMsgCycleTime" BO_ 20 10; -BA_ "GenMsgCycleTime" BO_ 256 100; -BA_ "GenMsgCycleTime" BO_ 257 100; -BA_ "GenMsgCycleTime" BO_ 258 100; -BA_ "GenMsgCycleTime" BO_ 259 100; -BA_ "GenMsgCycleTime" BO_ 260 2000; -BA_ "GenMsgCycleTime" BO_ 261 2000; -BA_ "GenMsgCycleTime" BO_ 23 10; -BA_ "GenMsgCycleTime" BO_ 38 100; -BA_ "GenMsgCycleTime" BO_ 1301 100; -BA_ "GenMsgCycleTime" BO_ 25 10; -BA_ "GenMsgCycleTime" BO_ 512 100; -BA_ "GenMsgCycleTime" BO_ 5 10; -BA_ "GenMsgCycleTime" BO_ 16 10; +BA_ "GenMsgCycleTime" BO_ 260 10; +BA_ "GenMsgCycleTime" BO_ 372 10; +BA_ "GenMsgCycleTime" BO_ 388 10; +BA_ "GenMsgCycleTime" BO_ 404 10; BA_ "GenMsgCycleTime" BO_ 21 10; -BA_ "GenMsgCycleTime" BO_ 49 10; -BA_ "GenMsgCycleTime" BO_ 1024 10; -BA_ "GenMsgCycleTime" BO_ 17 10; +BA_ "GenMsgCycleTime" BO_ 309 10; +BA_ "GenMsgCycleTime" BO_ 325 10; +BA_ "GenMsgCycleTime" BO_ 341 10; +BA_ "GenMsgCycleTime" BO_ 357 10; BA_ "GenMsgCycleTime" BO_ 22 10; -BA_ "GenMsgCycleTime" BO_ 48 10; -BA_ "GenMsgCycleTime" BO_ 1025 10; -BA_ "GenMsgCycleTime" BO_ 1026 10; +BA_ "GenMsgCycleTime" BO_ 278 10; BA_ "GenMsgCycleTime" BO_ 18 10; -BA_ "GenMsgCycleTime" BO_ 19 10; -BA_ "GenMsgCycleTime" BO_ 24 10; diff --git a/md_exporter.go b/md_exporter.go index c0ef0cd..f27f4c6 100644 --- a/md_exporter.go +++ b/md_exporter.go @@ -121,7 +121,8 @@ func (e *mdExporter) exportNode(node *NodeInterface) { e.w.HorizontalRule() } - e.w.PlainTextf("Node ID: %s", md.Bold(fmt.Sprintf("%d", node.node.id))).LF() + hexNodeIIDStr := "0x" + strconv.FormatUint(uint64(node.node.id), 16) + e.w.PlainTextf("Node ID: %s (dec), %s (hex)", md.Bold(fmt.Sprintf("%d", node.node.id)), md.Bold(hexNodeIIDStr)).LF() for _, msg := range node.Messages() { e.exportMessage(msg) @@ -150,7 +151,8 @@ func (e *mdExporter) exportMessage(msg *Message) { e.w.PlainTextf("CAN-ID %s: %s (dec), %s (hex)", prefixStr, md.Bold(decCANIDStr), md.Bold(hexCANIIDStr)).LF() if !msg.hasStaticCANID { - e.w.PlainTextf("Message ID: %s", md.Bold(fmt.Sprintf("%d", msg.id))).LF() + hexMsgIIDStr := "0x" + strconv.FormatUint(uint64(msg.id), 16) + e.w.PlainTextf("Message ID: %s (dec), %s (hex)", md.Bold(fmt.Sprintf("%d", msg.id)), md.Bold(hexMsgIIDStr)).LF() } e.w.PlainTextf("Size: %s bytes", md.Bold(fmt.Sprintf("%d", msg.sizeByte))).LF()