5.3.1.2.1. cli.cmd_bms.bms_impl

Implementation of the functionalities behind the ‘bms’ command

Functions

get_boot_timestamp(send_q, message)

Create message to get Boot Timestamp

get_build_configuration(send_q, message)

Create message to get build configuration

get_commit_hash(send_q, message)

Create message to get commit hash

get_mcu_id(send_q, message)

Create the message to get MCU ID.

get_mcu_lot_number(send_q, message)

Create the message to get MCU lot number.

get_mcu_wafer_info(send_q, message)

Create message to get MCU Wafer information.

get_rtc_time(send_q, message)

Create message to get RTC time

get_software_version(send_q, message)

Create message to get BMS software version.

get_uptime(send_q, message)

Create message to get uptime

initialization(app_dbc, prompt, rec_q, ...)

Initialize the process.

initialize_logger()

Create a SizedRotatingLogger object.

log_can_message(app_dbc, msg, msg_arr, ...)

Print the message if needed.

read_can_message(app_dbc, prompt, rec_q, ...)

Read the CAN message and print it if needed.

receive_send_can_message(rec_q, send_q, ...)

Receive and send the CAN messages from and to the bus.

reinitialize_fram(send_q, message)

Create message to reinitialize FRAM

reset_software(send_q, message)

Create message to reset the software

set_debug_message(msg_data, message)

Set the debug message

set_rtc_time(send_q, message)

Create message to set the RTC to the current time

shutdown(p_recv, p_read, network_ok)

Shuts the process down.

Exceptions

StopShellError

Stop the shell