Veethree D7 SDK
Loading...
Searching...
No Matches
vsdk::sys::board_info Class Reference

Detailed Description

The board_info class.

The board_info class is responsible for returning fixed information about the board.

#include <board_info.h>

Static Public Member Functions

static std::string soc_serial_number ()
 Get the board SoC serial number.

Detailed Description

The board_info class.

The board_info class is responsible for returning fixed information about the board.

Member Function Documentation

◆ soc_serial_number()

std::string vsdk::sys::board_info::soc_serial_number ( )
static

Get the board SoC serial number.

Returns
A std::string representing the board SoC serial number. In case of failure, it returns "n/a".

Sample code:

void fn()
{
vsdk::utils::print("SoC serial number: {}\n", sn);
}
board_info interface
static std::string soc_serial_number()
Get the board SoC serial number.
Include this file to your file so you have access to fmtlib header-only implementation.
void print(fmt::format_string< Args... > fmt, Args &&...args) noexcept
Exception-safe fmt::print wrapper.
Definition fmt_wrapper.h:26

The documentation for this class was generated from the following file: