Systems & Architecture

Engineered for Precision.
Isolated from the Cloud.

An overview of the software, embedded firmware, audio subsystems, and protocol engineering that power the LyfMateStrix offline computing stack.

Technical Pillars

Core Subsystems

Storage & Data Isolation

Local SQLite Architecture

LyfMateStrix structures user routines, habits, and execution metrics strictly within an ACID-compliant SQLite relational database kept in the app's private storage on the client device (protected by the phone's built-in device encryption).

  • ■ Zero network egress: Database queries are completely decoupled from remote networking interfaces.
  • ■ Sub-millisecond query evaluation: Local indexes ensure zero latency when rendering schedules or evaluating alarm triggers.
Audio Subsystem

STREAM_RING Hardware Routing

Most productivity apps bind audio playback to standard media streams (`STREAM_MUSIC`), which are easily silenced by the OS. LyfMateStrix routes mission-critical alerts through `STREAM_RING`.

  • ■ Physical volume rocker synchronization: Alarms respect the device's physical ring volume level.
  • ■ Bypasses background throttling: Hardware audio channels ensure sound plays immediately without waiting for foreground thread scheduling.
Embedded Computing

Dual-Core RTOS Firmware

The companion wearable runs a custom, lightweight C++ firmware pipeline leveraging dual-core task segregation under FreeRTOS.

  • ■ Dedicated rendering core: Powers the 240x240 circular UI, chronograph tick rendering, and voice visualizer smoothly at 20 FPS.
  • ■ Background protocol core: Manages BLE GATT advertising, time sync, and action queue processing without blocking user interface frames.
Communications Protocol

Bilateral BLE Sync Protocol

Communication between the mobile hub and companion hardware is managed through a custom Bluetooth Low Energy GATT service (`7ab20000-b51b-4411-8bce-459f152d3433`).

  • ■ Offline action queuing: When out of range, actions (such as completing or creating a routine) are stored in local FIFO queues.
  • ■ State reconciliation: Reconnecting triggers an instantaneous delta sync, resolving the schedule state in both directions.
Specifications

Technical Matrix