diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md deleted file mode 100644 index bba1c91..0000000 --- a/.claude/CLAUDE.md +++ /dev/null @@ -1,350 +0,0 @@ -# VictronBLE Project Context - -## Project Overview -Portable Arduino library for reading Victron Energy devices via Bluetooth Low Energy (BLE). Runs on ESP32 (Bluedroid) and nRF52840 (Bluefruit); BLE scanning is the only platform-specific code (src/esp32, src/nrf52), while decoding and AES-128-CTR crypto are common. - -## Key Files -- `src/` - Main library source code -- `examples/` - Example sketches -- `experiment/` - Experimental code -- `library.json` / `library.properties` - PlatformIO/Arduino library config - -## Build & Test -- This is an Arduino/PlatformIO library -- Test with PlatformIO: `pio run` - -## Session Notes - - - -### Session: 2026-01-29 18:41 -**Modified files:** -- TODO - - -### Session: 2026-02-11 13:51 -**Modified files:** -- .claude/CLAUDE.md -- .claude/scripts/update-claude-md.sh -- TODO -- examples/MultiDevice/src/main.cpp - - -### Session: 2026-02-11 15:57 -**Modified files:** -- .claude/CLAUDE.md -- .claude/scripts/update-claude-md.sh -- TODO -- examples/MultiDevice/src/main.cpp - - -### Session: 2026-02-12 18:02 -**Modified files:** -- .claude/CLAUDE.md -- .claude/scripts/update-claude-md.sh -- TODO -- examples/MultiDevice/src/main.cpp - - -### Session: 2026-02-12 18:02 -**Modified files:** -- .claude/CLAUDE.md -- .claude/scripts/update-claude-md.sh -- TODO -- examples/MultiDevice/src/main.cpp -- library.json - - -### Session: 2026-02-12 18:06 -**Commits:** -``` -5a210fb Experimenting with a claude file and created new logging example -``` -**Modified files:** -- .claude/CLAUDE.md -- TODO -- examples/Logger/platformio.ini -- examples/Logger/src/main.cpp -- examples/MultiDevice/src/main.cpp -- library.json - - -### Session: 2026-02-12 18:08 -**Commits:** -``` -5a210fb Experimenting with a claude file and created new logging example -``` -**Modified files:** -- .claude/CLAUDE.md -- README.md -- TODO -- VERSIONS -- examples/Logger/platformio.ini -- examples/Logger/src/main.cpp -- examples/MultiDevice/src/main.cpp -- library.json -- library.properties - - -### Session: 2026-02-12 18:10 -**Commits:** -``` -5a210fb Experimenting with a claude file and created new logging example -``` -**Modified files:** -- .claude/CLAUDE.md -- README.md -- TODO -- VERSIONS -- examples/Logger/platformio.ini -- examples/Logger/src/main.cpp -- examples/MultiDevice/src/main.cpp -- library.json -- library.properties - - -### Session: 2026-02-12 18:23 -**Commits:** -``` -a843eb9 Keep v0.3.1 -5a210fb Experimenting with a claude file and created new logging example -``` -**Modified files:** -- .claude/CLAUDE.md -- README.md -- VERSIONS -- library.json -- library.properties -- src/VictronBLE.cpp -- src/VictronBLE.h - - -### Session: 2026-02-12 18:35 -**Commits:** -``` -a64fef8 New version with smaller memory footprint etc -a843eb9 Keep v0.3.1 -5a210fb Experimenting with a claude file and created new logging example -``` -**Modified files:** -- .claude/CLAUDE.md -- src/VictronBLE.cpp -- src/VictronBLE.h - - -### Session: 2026-02-13 11:02 -**Modified files:** -- .claude/CLAUDE.md -- src/VictronBLE.cpp -- src/VictronBLE.h - - -### Session: 2026-02-15 18:59 -**Modified files:** -- .claude/CLAUDE.md -- library.json -- src/VictronBLE.cpp -- src/VictronBLE.h - - -### Session: 2026-02-15 19:06 -**Modified files:** -- .claude/CLAUDE.md -- library.json -- src/VictronBLE.cpp -- src/VictronBLE.h - - -### Session: 2026-02-15 19:10 -**Modified files:** -- .claude/CLAUDE.md -- library.json -- src/VictronBLE.cpp -- src/VictronBLE.h - - -### Session: 2026-02-15 19:18 -**Commits:** -``` -8a2402c Repeater and Test code for ESP Now -``` -**Modified files:** -- .claude/CLAUDE.md -- examples/FakeRepeater/platformio.ini -- examples/FakeRepeater/src/main.cpp -- examples/Receiver/platformio.ini -- examples/Receiver/src/main.cpp -- examples/Repeater/platformio.ini -- examples/Repeater/src/main.cpp -- library.json - - -### Session: 2026-02-15 19:20 -**Commits:** -``` -24712c2 Work on receiver and sender -8a2402c Repeater and Test code for ESP Now -``` -**Modified files:** -- .claude/CLAUDE.md -- examples/Receiver/platformio.ini -- examples/Receiver/src/main.cpp -- examples/Repeater/src/main.cpp - - -### Session: 2026-02-28 12:26 -**Modified files:** -- .claude/CLAUDE.md -- examples/Receiver/src/main.cpp -- examples/Repeater/src/main.cpp - - -### Session: 2026-02-28 14:32 -**Commits:** -``` -4944757 Fix to be non blocking without tasks -31765c7 Update notes -84d153c Single callback version - vastly simplified. -``` -**Modified files:** -- examples/Logger/src/main.cpp -- examples/MultiDevice/src/main.cpp -- examples/Repeater/src/main.cpp -- library.json -- library.properties -- src/VictronBLE.cpp -- src/VictronBLE.h - - -### Session: 2026-02-28 14:33 -**Commits:** -``` -4944757 Fix to be non blocking without tasks -31765c7 Update notes -84d153c Single callback version - vastly simplified. -``` -**Modified files:** -- .claude/CLAUDE.md -- VERSIONS -- examples/Logger/src/main.cpp -- examples/MultiDevice/src/main.cpp -- examples/Repeater/src/main.cpp -- library.json -- library.properties -- src/VictronBLE.cpp -- src/VictronBLE.h - - -### Session: 2026-02-28 14:36 -**Commits:** -``` -4944757 Fix to be non blocking without tasks -31765c7 Update notes -``` -**Modified files:** -- .claude/CLAUDE.md -- VERSIONS -- examples/Logger/src/main.cpp -- examples/MultiDevice/src/main.cpp -- examples/Repeater/src/main.cpp -- library.json -- library.properties -- src/VictronBLE.cpp -- src/VictronBLE.h - - -### Session: 2026-02-28 14:40 -**Commits:** -``` -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 -- VERSIONS -- 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 - - -### Session: 2026-06-04 21:23 -**Commits:** -``` -cd3b462 ignore local -7706f88 Bug fixes for reported issues -``` -**Modified files:** -- .gitignore -- README.md - - -### Session: 2026-06-04 22:59 -**Commits:** -``` -105d66b Update info -``` -**Modified files:** -- .claude/CLAUDE.md -- README.md - - -### Session: 2026-06-04 23:46 -**Commits:** -``` -105d66b Update info -``` -**Modified files:** -- .claude/CLAUDE.md -- README.md -- VERSIONS -- examples/MultiDevice/platformio.ini -- examples/MultiDevice/src/main.cpp -- library.json -- library.properties -- src/VictronBLE.cpp -- src/VictronBLE.h -- src/crypto/vble_aes.c - - -### Session: 2026-06-04 23:58 -**Commits:** -``` -53fa6fa ignore pka file -de6607d Branch version ready for testing with nRF52 -``` -**Modified files:** -- .gitignore -- README.md -- UPGRADE_V0.4.md -- VERSIONS -- library.json -- library.properties - - -### Session: 2026-06-05 00:00 -**Commits:** -``` -53fa6fa ignore pka file -de6607d Branch version ready for testing with nRF52 -``` -**Modified files:** -- .claude/CLAUDE.md -- .gitignore -- README.md -- UPGRADE_V0.4.md - diff --git a/.claude/scripts/update-claude-md.sh b/.claude/scripts/update-claude-md.sh deleted file mode 100755 index 96d50f6..0000000 --- a/.claude/scripts/update-claude-md.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -# Auto-update CLAUDE.md at end of session - -CLAUDE_MD="$(git rev-parse --show-toplevel)/.claude/CLAUDE.md" -TIMESTAMP=$(date '+%Y-%m-%d %H:%M') - -# Get recent git activity from this session (last hour) -RECENT_COMMITS=$(git log --oneline --since="1 hour ago" 2>/dev/null | head -5) -MODIFIED_FILES=$(git diff --name-only HEAD~1 2>/dev/null | head -10) - -# Append session summary -{ - echo "" - echo "### Session: $TIMESTAMP" - - if [ -n "$RECENT_COMMITS" ]; then - echo "**Commits:**" - echo "\`\`\`" - echo "$RECENT_COMMITS" - echo "\`\`\`" - fi - - if [ -n "$MODIFIED_FILES" ]; then - echo "**Modified files:**" - echo "$MODIFIED_FILES" | sed 's/^/- /' - fi - - echo "" -} >> "$CLAUDE_MD" - -echo "Updated CLAUDE.md with session summary"