Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Open Ring — Senior Embedded Systems Engineer Technical Assessment

Submission for the ANDA Open Ring platform assessment.

The brief asked for a system architecture (Part 1), a working sensor manager (Part 2), and a structured debugging approach for three field issues (Part 3), within a three-hour timebox. Where something was unclear I have made an assumption and stated it, rather than asking. All assumptions are collected in Assumptions_Risks.md.


Contents

README.md                        this file
Assumptions_Risks.md             assumptions, risks, unknowns and open questions - kept at the
                                 root because it spans all three parts

part1-architecture/              Part 1 - System Architecture
    Firmware.md                  firmware architecture: hardware inventory, spec-to-decision
                                 reasoning, system flow, mode transitions, and the ten firmware
                                 modules with their ownership boundaries
    Hardware.md                  power tree, bus topology, antenna and RF, PPG optics, PCB and
                                 mechanical constraints, test access and DFM
    BLE_Interface.md             the GATT contract: services, characteristics, frame format,
                                 connection parameters, capability discovery, time sync, security
    Power_Management.md          power states, rail control, wake sources, duty-cycle policy,
                                 budget enforcement and the degradation ladder
    Sensor_Expansion.md          how a customer adds a sensor without forking the firmware
    Battery_Tradeoffs.md         24-hour versus 1-week operation, with the budget behind each

part2-sensor-manager/            Part 2 - Firmware Implementation
    CMakeLists.txt               build definition
    README.md                    build instructions, design rationale, limitations
    CODE_WALKTHROUGH.md          how the implementation works, in plain language
    include/sm/                  public headers
    src/                         implementation
    tests/                       four suites, 33 cases
    app/main.c                   demonstration program

part3-debugging/                 Part 3 - Debugging & Investigation
    Debugging.md                 root causes, debugging process, tools and design changes for the
                                 three reported issues

Reading order

If you only read one document, read part1-architecture/Firmware.md — it carries the core architecture and the reasoning behind it.

If you have more time, the two that show the most about how I approach a problem are part1-architecture/Battery_Tradeoffs.md, which works the 19 mAh cell backwards into two distinct operating modes and states plainly where the numbers fail, and part3-debugging/Debugging.md.

part1-architecture/BLE_Interface.md is written as a publishable contract rather than as a description, because the mobile app is being built in parallel and needs something to code against before the firmware is finished.

Documents refer to each other by bare filename in prose. Unless a path is given, the file is in part1-architecture/ — the map above is authoritative.


Building and running Part 2

The sensor manager builds and runs on a host machine with no hardware attached. It has no external dependencies — no test framework to fetch, no network access required.

cd part2-sensor-manager
cmake -B build
cmake --build build
ctest --test-dir build --output-on-failure

Expected result: 4 suites, 33 cases, 0 failures, in about six seconds. Verified with GCC 16.1.0 (MinGW-w64) and CMake 4.3.3 on Windows 10; the library sources build clean under -Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wsign-conversion.

Full details, including the design rationale and what is simulated, are in part2-sensor-manager/README.md.


The constraint that shaped everything

The ring has a 19 mAh battery. One week of operation implies an average draw of roughly 96 µA once usable capacity is accounted for. That single number is why power appears in this submission as an architectural concern with veto authority rather than as a late optimisation, why the PPG duty cycle is treated as the primary product decision, and why the gyroscope is on-demand rather than continuous.

The second thing that shaped it is that this is a platform, not a closed product. The €20k enterprise tier sells modularity, raw data access and SDK integration. That makes a stable sensor abstraction, a published BLE contract, and honest data provenance product features rather than engineering preferences — which is why the capability descriptor is published over BLE, and why dropped samples are counted and exposed instead of hidden.


Scope and honesty about limits

Written to a three-hour timebox, so:

No power figure here has been measured on real hardware. Every number is a datasheet typical or a
duty-cycle calculation, and the documents say so where it matters. Replacing estimates with
measurements is the first task of hardware bring-up.

Part 2 is a host-side implementation with simulated sensors, as the brief permits. It implements
the buffering, threading and overflow logic faithfully; it does not talk to real silicon.

Specific claims about the nRF54L15 that I would verify against the datasheet and errata before
committing are marked in the text rather than asserted.

Items I would do next, given more time, are listed at the end of each document.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages