virtual hal::IDisplay & getDisplay()=0
Return the generic display implementation selected by this BSP.
virtual hal::IPlatformDiagnostics & getDiagnostics()=0
Return reset, memory, and CPU readings through the platform diagnostics HAL.
static Board * currentOrNull()
Definition board.cpp:22
virtual hal::IInput & getInput()=0
Return the normalized input implementation selected by this BSP.
virtual uint32_t getUptimeMs() const =0
virtual const BoardConfig & getConfig() const =0
virtual hal::IHttpClient & getHttpClient()=0
Return platform HTTP transport for portable sync and provisioning services.
virtual hal::IBattery & getBattery()=0
Return the battery implementation selected by this BSP.
virtual hal::IDnsServer & getDnsServer()=0
Return the board's captive DNS responder adapter.
virtual hal::IConsole & getConsole()=0
Return the platform debug/control console selected by this BSP.
virtual Result< void > init()=0
virtual hal::IBluetooth & getBluetooth()=0
Return the BLE transport selected by this BSP.
virtual const char * getName() const =0
virtual hal::IPowerManagement & getPowerManagement()=0
Return the platform power-management implementation selected by this BSP.
const BoardCapabilities & capabilities() const
Return the capability set declared by this board.
Definition board.h:58
virtual const DeviceInfo & getDeviceInfo() const =0
virtual void delayMs(uint32_t ms)=0
virtual hal::IHttpServer & getHttpServer()=0
Return the board's local HTTP server adapter used by captive apps.
virtual hal::IRtc & getRtc()=0
Return the RTC implementation selected by this BSP.
virtual hal::ICompanionSource & getCompanionSource()=0
Return the companion-data provider selected by this BSP.
virtual hal::INtpTimeSource & getNtpTimeSource()=0
Return the platform NTP synchronization adapter.
virtual hal::IWifiRadio & getWifi()=0
Return the Wi-Fi radio selected by this BSP.
static Board & current()
Definition board.cpp:14
virtual const Pins & getPins() const =0
Definition bluetooth.h:20
Definition companion_source.h:49
Definition http_server.h:28
Definition network_client.h:11
Definition http_server.h:14
Definition network_client.h:33
Definition power_management.h:27
Definition application.h:10
Definition board_config.h:9
Definition board_config.h:42
BoardCapabilities capabilities
Definition board_config.h:46
const char * platform
Definition board.h:30
const char * name
Definition board.h:24
const char * manufacturer
Definition board.h:28
const char * codename
Definition board.h:26