Complete Documentation & Testing Framework
Complete guide for building, testing, and deploying your BLE + Matter fitness sensor. This system emulates heart rate monitors and cycling power meters for apps like Zwift, while providing Matter network control for smart home integration.
Get started in 3 commands:
# 1. Flash firmware to nRF52840
west build -b nrf52840dk_nrf52840 && west flash
# 2. Run quick test
python test_automation.py --all
# 3. Generate report
python test_reporter.py --results test_results.json
fitness-sensor-matter/
โโโ firmware/
โ โโโ src/main.cpp # nRF52840 firmware
โ โโโ prj.conf # Project configuration
โ โโโ CMakeLists.txt # Build configuration
โ โโโ fitness-sensor.zap # Matter cluster definitions
โโโ ios/
โ โโโ FitnessSensorApp.swift # Main iOS app
โ โโโ WorkoutScenarios.swift # Test scenarios
โ โโโ WorkoutScenarioView.swift # UI components
โ โโโ Info.plist # App configuration
โ โโโ Entitlements.plist # HomeKit permissions
โโโ testing/
โ โโโ test_automation.py # Workout automation
โ โโโ test_reporter.py # Report generation
โ โโโ live_monitor.py # Real-time dashboard
โ โโโ regression_suite.py # Regression testing
โ โโโ custom_workout.json # Sample custom workout
โโโ docs/
โโโ index.html # This page
โโโ quick-start.html # Quick start guide
โโโ hardware-setup.html # Hardware documentation
โโโ ios-app-guide.html # iOS documentation
โโโ testing-guide.html # Testing documentation
โโโ ...