bolar_1 date 2026-7-1 d:/proc
This commit is contained in:
17
main/system_info.h
Normal file
17
main/system_info.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
|
||||
class SystemInfo {
|
||||
public:
|
||||
static std::string GetMacAddress();
|
||||
static std::string BleMacToBaseMac(const std::string& ble_mac);
|
||||
static std::string GetChipModelName();
|
||||
static std::string GetAppVersion();
|
||||
static std::string GetUserAgent();
|
||||
static uint32_t GetFreeHeapSize();
|
||||
static uint32_t GetMinimumFreeHeapSize();
|
||||
static uint32_t GetFlashSize();
|
||||
static void PrintHeapStats();
|
||||
};
|
||||
Reference in New Issue
Block a user