Device Helper
Public header:
#include "brookesia/service_helper/device.hpp"
Overview
This page documents the Device helper Doxygen API: types, enums, methods, and macros. The Device helper is the standard application-layer entry point for device control and status-query interfaces backed by HAL capabilities.
API Reference
Header File
Classes
-
class Device : public esp_brookesia::service::helper::Base<Device>
Helper schema definitions for the device control service.
Public Types
-
using Capabilities = hal::Capabilities
Runtime capability snapshot for the device control service.
-
using BoardInfo = hal::BoardInfoIface::Info
Static board information.
-
using StorageFsInfo = hal::StorageFsIface::Info
Storage file system information.
-
using PowerBatteryInfo = hal::PowerBatteryIface::Info
Static battery information.
-
using PowerBatteryState = hal::PowerBatteryIface::State
Runtime battery state snapshot.
-
using PowerBatteryChargeConfig = hal::PowerBatteryIface::ChargeConfig
Battery charge configuration.
-
using Capabilities = hal::Capabilities