Class responsible for retrieving RMM firmware and register bank version info.
More...
#include <RMMInformations.h>
Class responsible for retrieving RMM firmware and register bank version info.
This class interacts with the RMM registers and logs information regarding firmware and register bank versions.
◆ RMMInfos()
◆ getFirmwareInfo()
| rmmStatus RMMInfos::getFirmwareInfo |
( |
std::unordered_map< std::string, std::string > * | info | ) |
|
Gets the firmware information, including FPGA DNA, git hash, and build time.
- Parameters
-
| [out] | info | Pointer to a std::unordered_map<std::string, std::string> to store the firmware information. The map will contain:
- "vcu118_dna": Hex string of RMM FPGA DNA (96-bit internal serial number).
- "git_hash": Hex string of the first 96 bits of the 'dgro_master' git hash.
- "build_time": Build time of RMM firmware in human-readable format.
|
- Returns
- rmmStatus indicating success or failure.
◆ getRegBankVersion()
Gets the register bank version details for the different register banks.
- Parameters
-
| [out] | banks | Pointer to a RegBankVersion structure where the register bank versions will be populated. |
- Returns
- rmmStatus indicating success or failure.
The documentation for this class was generated from the following files: