|
Ersa Wearable Platform
Embedded smartwatch firmware and application framework
|
Classes | |
| struct | BatteryPayload |
| struct | ButtonPayload |
| struct | CallPayload |
| struct | Event |
| class | EventBus |
| class | IEventListener |
| struct | MediaPayload |
| struct | NetworkPayload |
| struct | NotificationPayload |
| struct | Subscription |
| struct | TimePayload |
Typedefs | |
| using | SubscriptionId = uint16_t |
| using | EventCallback = void(*)(const Event &event, void *userData) |
Enumerations | |
| enum class | EventType : uint16_t { None = 0 , Boot , Suspend , Resume , ButtonPressed , ButtonReleased , ButtonClicked , ButtonDoubleClicked , ButtonLongPressed , MinuteTick , SecondTick , TimeSync , BatteryChanged , BatteryLow , NetworkConnected , NetworkDisconnected , BleConnected , BleDisconnected , CompanionConnected , CompanionDisconnected , CallIncoming , CallAccepted , CallRejected , CallEnded , MediaTrackChanged , MediaStateChanged , NotificationReceived , NotificationRemoved , NotificationsCleared , Custom } |
| enum class | ButtonId : uint8_t { Unknown = 0 , Button1 , Button2 } |
| enum class | TimeSource : uint8_t { Unknown = 0 , Network , BleCurrentTime , Companion , Manual } |
| using ersa::events::EventCallback = typedef void (*)(const Event& event, void* userData) |
| using ersa::events::SubscriptionId = typedef uint16_t |
|
strong |
|
strong |
Normalized system-event identifiers used by the event bus. Events describe intent and state changes, not the chipset callback that produced them, so services and apps can share the same code across boards.
|
strong |