|
Ersa Wearable Platform
Embedded smartwatch firmware and application framework
|


Public Member Functions | |
| Result< void > | init () override |
| const char * | sourceId () const override |
| bool | isAvailable () const override |
| hal::CompanionCapabilities | capabilities () const override |
| void | setCallCallback (hal::CompanionCallCallback, void *) override |
| void | setMediaCallback (hal::CompanionMediaCallback, void *) override |
| void | setNotificationCallback (hal::CompanionNotificationCallback, void *) override |
| void | setTimeCallback (hal::CompanionTimeCallback, void *) override |
| void | setAvailabilityCallback (hal::CompanionAvailabilityCallback, void *) override |
| bool | acceptCall () override |
| bool | rejectCall () override |
| bool | hangupCall () override |
| bool | dial (const char *) override |
| bool | mediaCommand (hal::CompanionMediaAction) override |
| bool | dismissNotification (uint32_t) override |
| void | startAdvertising () override |
| void | stopAdvertising () override |
| bool | isConnected () const override |
| void | setConnectionCallback (hal::BleConnectionCallback, void *) override |
| const char * | getDeviceName () const override |
| Return the local BLE device name. | |
| const char * | getDeviceAddress () const override |
Public Member Functions inherited from ersa::hal::IBluetooth | |
| virtual | ~IBluetooth ()=default |
| virtual bool | suspendForMaintenance () |
| Release radio resources before memory-intensive maintenance. | |
| virtual void | resumeAfterMaintenance () |
| Resume advertising after maintenance completes. | |
| virtual bool | isAdvertising () const |
| virtual uint32_t | nextWakeDelayMs (uint32_t nowMs) const |
| virtual void | tick () |
Public Member Functions inherited from ersa::hal::ICompanionSource | |
| virtual | ~ICompanionSource ()=default |
| virtual Result< void > | initSource () |
| virtual bool | pauseForMaintenance () |
| virtual void | resumeFromMaintenance () |
| virtual void | tickSource () |
| virtual void | shutdownSource () |
|
inlineoverridevirtual |
Queue a request to answer the current incoming call.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Return a by-value snapshot so callers cannot retain mutable provider state.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Request dialing; the number format is provider-defined international text.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Request remote removal of one notification when the peer supports it.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Return a stable formatted address string owned by the backend.
Implements ersa::hal::IBluetooth.
|
inlineoverridevirtual |
Return the local BLE device name.
Implements ersa::hal::IBluetooth.
|
inlineoverridevirtual |
Queue a request to end the current active call.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Initialize the controller and service transport required by the product.
Implements ersa::hal::IBluetooth.
|
inlineoverridevirtual |
Report whether commands/data are currently usable from the peer.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Return current link state; this does not imply companion services are ready.
Implements ersa::hal::IBluetooth.
|
inlineoverridevirtual |
Send a transport-neutral playback action after capability checks.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Queue a request to reject the current incoming call.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Install or clear a sink for provider availability transitions.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Install or clear a sink for call-state transitions.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Register the single BLE link-state callback; null clears it. This reports transport only. Use ICompanionSource for provider/session readiness because encrypted link-up can precede service discovery.
Implements ersa::hal::IBluetooth.
|
inlineoverridevirtual |
Install or clear a sink for media metadata/playback updates.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Install or clear a sink for notification add/update/remove events.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Install or clear a sink for a peer-provided current time.
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Implements ersa::hal::ICompanionSource.
|
inlineoverridevirtual |
Begin or resume advertising; repeated calls should be safe.
Implements ersa::hal::IBluetooth.
|
inlineoverridevirtual |
Stop advertising without necessarily tearing down an established link.
Implements ersa::hal::IBluetooth.