Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Classes | Enumerations | Functions | Variables
ersa::services Namespace Reference

Classes

struct  AppNotification
 
class  BluetoothManager
 
class  DisplayManager
 
class  DummyBle
 
struct  LoggerAutoInit
 
class  LoggingService
 
class  MemorySettingsService
 
class  MemoryStorageService
 
class  NetworkHandle
 
class  NetworkManager
 
class  OtaService
 
class  PowerManager
 
struct  RecentCall
 
class  SessionStats
 
struct  SettingsAutoInit
 
class  SettingsService
 
class  StandardLoggingService
 
struct  StorageAutoInit
 
class  StorageService
 
class  TimeService
 
class  WakeLock
 

Enumerations

enum class  CallState : uint8_t { Idle = 0 , Incoming , Active , Ended }
 
enum class  LogLevel : uint8_t {
  Trace = 0 , Debug , Info , Warn ,
  Error , Fatal
}
 
enum class  PowerState : uint8_t { Active = 0 , Idle , LightSleep , DeepSleep }
 
enum class  BatteryPowerLevel : uint8_t { Normal = 0 , Low , Critical }
 

Functions

static const char * levelName (LogLevel lvl)
 

Variables

static BluetoothManager * s_instance = nullptr
 
static DisplayManager * s_displayManagerInstance = nullptr
 
static LoggingService * s_loggingInstance = nullptr
 
static StandardLoggingService s_defaultLogger
 
struct ersa::services::LoggerAutoInit s_loggerInit
 
static NetworkManager * s_networkManagerInstance = nullptr
 
static PowerManager * s_powerManagerInstance = nullptr
 
static SettingsService * s_settingsInstance = nullptr
 
static MemorySettingsService s_defaultMemSettings
 
struct ersa::services::SettingsAutoInit s_settingsAutoInit
 
static StorageService * s_storageInstance = nullptr
 
static MemoryStorageService s_defaultMemStorage
 
struct ersa::services::StorageAutoInit s_autoInit
 
static TimeService * s_timeServiceInstance = nullptr
 

Enumeration Type Documentation

◆ BatteryPowerLevel

enum class ersa::services::BatteryPowerLevel : uint8_t
strong

Hysteresis-filtered severity band used by battery and sleep policy.

Enumerator
Normal 
Low 
Critical 

◆ CallState

enum class ersa::services::CallState : uint8_t
strong

Normalized telephony state exposed to apps, independent of HFP/ANCS source.

Enumerator
Idle 
Incoming 
Active 
Ended 

◆ LogLevel

enum class ersa::services::LogLevel : uint8_t
strong

Severity ordering used to filter messages before backend formatting.

Enumerator
Trace 
Debug 
Info 
Warn 
Error 
Fatal 

◆ PowerState

enum class ersa::services::PowerState : uint8_t
strong

Coarse service state; the board power HAL performs physical sleep entry.

Enumerator
Active 
Idle 
LightSleep 
DeepSleep 

Function Documentation

◆ levelName()

static const char * ersa::services::levelName ( LogLevel  lvl)
static

Variable Documentation

◆ s_autoInit

struct ersa::services::StorageAutoInit ersa::services::s_autoInit

◆ s_defaultLogger

StandardLoggingService ersa::services::s_defaultLogger
static

◆ s_defaultMemSettings

MemorySettingsService ersa::services::s_defaultMemSettings
static

◆ s_defaultMemStorage

MemoryStorageService ersa::services::s_defaultMemStorage
static

◆ s_displayManagerInstance

DisplayManager* ersa::services::s_displayManagerInstance = nullptr
static

◆ s_instance

BluetoothManager* ersa::services::s_instance = nullptr
static

◆ s_loggerInit

struct ersa::services::LoggerAutoInit ersa::services::s_loggerInit

◆ s_loggingInstance

LoggingService* ersa::services::s_loggingInstance = nullptr
static

◆ s_networkManagerInstance

NetworkManager* ersa::services::s_networkManagerInstance = nullptr
static

◆ s_powerManagerInstance

PowerManager* ersa::services::s_powerManagerInstance = nullptr
static

◆ s_settingsAutoInit

struct ersa::services::SettingsAutoInit ersa::services::s_settingsAutoInit

◆ s_settingsInstance

SettingsService* ersa::services::s_settingsInstance = nullptr
static

◆ s_storageInstance

StorageService* ersa::services::s_storageInstance = nullptr
static

◆ s_timeServiceInstance

TimeService* ersa::services::s_timeServiceInstance = nullptr
static