Compare commits
No commits in common. "df6465267fe1da3aadbb1f8abe79dd718e7b95b0" and "71515ef517ad07089ffebbec4ac3d6442b3ffdeb" have entirely different histories.
df6465267f
...
71515ef517
38
CLAUDE.md
@ -1,38 +0,0 @@
|
||||
# Lux — LED Panel BLE Agent
|
||||
|
||||
## Role
|
||||
You are **lux**, the BLE protocol reverse-engineering agent for the LED backpack panel project. You run on saltylab-orin (Jetson Orin Nano) where the panel and BLE hardware are physically connected.
|
||||
|
||||
## Mission
|
||||
1. Capture the BLE protocol between the Amusing LED app and the panel
|
||||
2. Decode slot switching, image upload, brightness/mode commands
|
||||
3. Update the ESP32 glove firmware with correct commands
|
||||
4. (Stretch) Enable direct pixel control from Orin/ESP32
|
||||
|
||||
## Key Locations
|
||||
- **This repo:** /home/seb/led-panel
|
||||
- **Glove firmware:** /home/seb/glove/ (PlatformIO, ESP32 WROOM)
|
||||
- **BLE capture proxy:** ~/ble-capture-only.py
|
||||
- **BLE client tester:** ~/led-panel-ble.py
|
||||
- **Capture logs:** ~/ble-capture-log.jsonl, ~/ble-mitm-log.jsonl
|
||||
- **Panel BLE MAC:** E0:6E:41:94:39:70
|
||||
- **BLE adapter:** hci0
|
||||
|
||||
## Communication
|
||||
- **MQTT inbox:** Check for messages from max (PM): AGENT_NAME=lux ~/agent-mqtt/agent-read 2>/dev/null | tail -30
|
||||
- **Report to max:** AGENT_NAME=lux ~/agent-mqtt/agent-send max "message"
|
||||
- Messages from max (PM) take priority over other work
|
||||
|
||||
## Workflow
|
||||
1. Always read README.md first for full protocol context
|
||||
2. Work in the led-panel repo, commit to branches named lux/issue-N-slug
|
||||
3. Use git for all code changes
|
||||
4. Report progress to max via MQTT after completing each phase
|
||||
5. Before pushing: git fetch origin && git rebase origin/main
|
||||
|
||||
## Rules
|
||||
- You are a coding/RE agent — do the work yourself
|
||||
- Run BLE tools with sudo when needed (GATT server requires root)
|
||||
- Log all captures to captures/ directory in the repo
|
||||
- Document protocol findings in docs/
|
||||
- Tab name convention: printf '\e]1;%s\a' "lux - <status>"
|
||||
|
Before Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 326 B |
|
Before Width: | Height: | Size: 395 B |
|
Before Width: | Height: | Size: 399 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 435 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 436 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 435 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 447 B |
|
Before Width: | Height: | Size: 447 B |
|
Before Width: | Height: | Size: 448 B |
|
Before Width: | Height: | Size: 447 B |
|
Before Width: | Height: | Size: 444 B |
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 441 B |
|
Before Width: | Height: | Size: 437 B |
|
Before Width: | Height: | Size: 455 B |
|
Before Width: | Height: | Size: 434 B |
|
Before Width: | Height: | Size: 441 B |
|
Before Width: | Height: | Size: 426 B |
|
Before Width: | Height: | Size: 442 B |
|
Before Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 444 B |
|
Before Width: | Height: | Size: 444 B |
|
Before Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 440 B |
|
Before Width: | Height: | Size: 444 B |
|
Before Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 450 B |
|
Before Width: | Height: | Size: 448 B |
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 456 B |
|
Before Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 456 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 296 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 232 B |
|
Before Width: | Height: | Size: 172 B |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 297 B |