← Back
Home › Systems › Embedded and IoT

wearable-firmware

wearable firmware with BLE

Garmin

SystemTechniques · 19Primitives · 77 wearable-firmware Deterministic simulation testingdistributed · medium: Run the whole system in one thread under a seeded scheduler with simulated network, disk and clock, so every failure replays from its seed.›Primary-backup replicationdistributed · medium: One node orders all writes and ships them to standbys; the acknowledgement rule (none, one, all) sets what a crash loses, and an external arbiter decides who takes over.›A/B partition updatesembedded · medium: Two bootable slots and a small atomic metadata block: write the new image to the idle slot, try it once, and fall back by itself unless it reports healthy.›Battery state estimationembedded · medium: State of charge / health / power from coulomb counting, OCV curves and model-based observersCoverage-guided fuzzingsecurity · medium: Mutate inputs, run an instrumented target, and keep any input that reaches a new code edge; feedback turns blind guessing into incremental search.›Ppg heart rate estimationsignal-processing · medium: Optical PPG heart rate: band-pass, motion-artifact removal with accelerometer, spectral trackingPoint-in-time recoverystorage · medium: Periodic base backups plus a continuously archived change log let you rebuild the state as of any instant, then branch from there.›Fast Fourier transformnumerics · low: Computes the DFT in O(n log n) by recursively splitting into even and odd halves; the basis of fast convolution and spectral methods.›IIR and FIR filterssignal-processing · low: Two ways to shape a sampled signal's spectrum: FIR (finite taps, always stable, exact linear phase) or IIR (feedback, a few coefficients, cheap but phase-distorting).›Peak detectionsignal-processing · low: Robust peak and event detection in noisy signals with adaptive thresholds and refractory periodsHdr histogramdata-structures · low: Log-linear bucketed histograms with bounded relative error for latency percentilesSPSC ring bufferdata-structures · low: Bounded wait-free queue for exactly one producer and one consumer thread, built from an array and two indices with acquire/release ordering.›Dma transfersembedded · low: DMA controllers: descriptors, circular buffers, cache coherence for zero-CPU data movementLow power duty cyclingembedded · low: MCU sleep states, wake sources and radio duty cycling to run years on a batteryPreemptive priority schedulingembedded · low: Always run the highest-priority ready task, switching the instant a higher one becomes ready; selection is O(1) with one FIFO per priority and a bitmap.›Spi i2c bus driversembedded · low: SPI/I2C/UART peripheral drivers with interrupts, DMA and bus error recoveryDeterministic fixed-point mathgame-networking · low: Bit-identical simulation math across CPUs, compilers and builds: integer fixed-point formats, the float traps (FMA, x87, fast-math, libm), deterministic trig, sqrt and RNG.›Interrupt handlinghardware-os · low: How a device signal reaches a CPU handler through an interrupt controller and vector table, and how top/bottom halves, polling switch-over and coalescing keep load bounded.›Process supervisionhardware-os · low: A parent process starts services, reaps their exits and restarts them under a delay and burst-limit policy, then stops them with SIGTERM before SIGKILL.›Tickless idlehardware-os · low: Suppress the periodic tick while idle and compensate time on wake to save powerECDH key exchange (X25519, P-256)security · low: Each side multiplies the other's public curve point by its own scalar and both get the same point; always validate the peer key and run the result through a KDF.›Mutual TLSsecurity · low: TLS where the client also proves a certificate key, so every connection carries a verified, rotatable machine identity.›Biquad filterssignal-processing · low: Second-order IIR sections (RBJ cookbook): low/high pass, peaking EQ; stable cascades+ 12 more techniques+ 61 more primitives

Similar systems

Share the most building blocks with this one.