计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
Bluetooth【效率与协作】Discover, connect, and control Bluetooth devices with automatic profile learning, cross-platform tools, and device management.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
| Need | Load |
|---|---|
| CLI commands by platform | tools.md |
| Device profile management | profiles.md |
| Security rules and warnings | security.md |
| Patterns by use case | use-cases.md |
Store device profiles and interaction history:
~/Clawic/data/bluetooth/
├── profiles/ # Known device configs (one file per device)
├── history.md # Interaction log with success/failure
└── pending.md # Devices discovered but not profiled
| OS | Primary Tool | Fallback |
|---|---|---|
| Linux | bluetoothctl | hcitool, gatttool |
| macOS | blueutil | system_profiler, CoreBluetooth |
| Windows | WinRT/PowerShell | pnputil for enumeration |
| Cross-platform | Bleak (Python) | Noble (Node.js) |
1. Check ~/Clawic/data/bluetooth/profiles/ for device
2. If known → load profile, use saved commands
3. If unknown → scan characteristics, discover capabilities
4. Execute requested action
5. Verify result (read state, check acknowledgment)
6. Update profile: what worked, what failed, timing