From e7024d998352f38463d845a59187eaf90d732c3f Mon Sep 17 00:00:00 2001 From: Scott Penrose Date: Sat, 28 Feb 2026 15:00:45 +1100 Subject: [PATCH] Plans for part 2 - multiple bluetooth devices --- .claude/CLAUDE.md | 14 ++++++++++++++ REVIEW.md | 26 +++++++++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 0cc240b..2e228b3 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -267,3 +267,17 @@ a843eb9 Keep v0.3.1 - library.json - library.properties + +### Session: 2026-02-28 14:48 +**Commits:** +``` +261cc0d Improve readme ready for v0.4 release +39a89c8 Versions v0.4 ready for release +4944757 Fix to be non blocking without tasks +31765c7 Update notes +``` +**Modified files:** +- .claude/CLAUDE.md +- README.md +- REVIEW.md + diff --git a/REVIEW.md b/REVIEW.md index 87d58be..3c2bfcc 100644 --- a/REVIEW.md +++ b/REVIEW.md @@ -1,6 +1,6 @@ # VictronBLE Code Review -## Part 1: Bug Fixes, Efficiency & Simplification +## Part 1: Bug Fixes, Efficiency & Simplification ✅ COMPLETE (v0.4.1) ### Bugs @@ -117,10 +117,34 @@ void victron_loop(); ~4 functions instead of ~15 methods. +All items implemented in v0.4.1. See [VERSIONS](VERSIONS) for full changelog. + --- ## Part 2: Multi-Platform BLE Support +### Recommended Test Hardware + +Two cheap BLE development boards for testing the platform abstraction: + +**1. Seeed XIAO nRF52840 (~$10 USD)** +- Nordic nRF52840 SoC, Bluetooth 5.0, onboard antenna +- Arduino-compatible via Adafruit nRF52 board support package +- Ultra-small (21x17.5mm), USB-C, battery charging built in +- 1MB flash, 256KB RAM, 2MB QSPI flash +- Has mbedtls available via the nRF SDK +- https://www.seeedstudio.com/Seeed-XIAO-BLE-nRF52840-p-5201.html + +**2. Raspberry Pi Pico W (~$6 USD)** +- RP2040 + Infineon CYW43439 (WiFi + Bluetooth 5.2 with BLE) +- Arduino-compatible via arduino-pico core (earlephilhower) +- BLE Central role supported (needed for passive scanning) +- Very widely available and cheap +- Different architecture (ARM Cortex-M0+) from ESP32 (Xtensa/RISC-V), good for testing portability +- https://www.raspberrypi.com/products/raspberry-pi-pico/ + +Both boards are under $15, Arduino-compatible, and have BLE Central support needed for passive scanning of Victron advertisements. They use different BLE stacks (nRF SoftDevice vs CYW43 BTstack) which will validate the transport abstraction layer. + ### Current BLE Dependencies All ESP32-specific BLE code is confined to: