2.1.3.1. cli.cmd_bms.bms_impl

Implementation of the functionalities behind the ‘bms’ command

Functions

get_boot_timestamp(send_q)

Creates message to get Boot Timestamp

get_build_configuration(send_q)

Creates message to get build configuration

get_commit_hash(send_q)

Creates message to get commit hash

get_mcu_id(send_q)

Creates message to get MCU ID

get_mcu_lot_number(send_q)

creates message to get MCU lot number

get_mcu_wafer_info(send_q)

Creates message to get MCU Wafer information

get_rtc_time(send_q)

Creates message to get rtc time

get_software_version(send_q)

Creates message to get BMS software version

get_uptime(send_q)

Creates message to get uptime

initialization(rec_q, send_q, bus_cfg, ...)

Initializes the process.

read_can_message(rec_q, network_ok, msg_id, ...)

Reads the CAN message and prints it if needed.

receive_send_can_message(rec_q, send_q, ...)

Receives and sends the CAN messages from and to the bus.

reinitialize_fram(send_q)

Creates message to reinitialize FRAM

reset_software(send_q)

Creates message to reset the software

set_debug_message(msg_data)

Sets the FRAM initialization trigger message

set_rtc_time(send_q)

Creates message to set the rtc to the current time

shutdown(p_recv, p_read, network_ok)

Shuts the process down.

Exceptions

StopShell

Stop the shell