🔷
简介
跨平台蓝牙设备管理工具,支持自动发现、安全连接与智能学习,适用于物联网设备控制与自动化场景。
原始描述
Discover, connect, and control Bluetooth devices with automatic profile learning, cross-platform tools, and device management.
技能正文
name: Bluetooth description: Discover, connect, and control Bluetooth devices with automatic profile learning, cross-platform tools, and device management.
Core Workflow
- Scan — Discover nearby devices
- Identify — Match against known profiles or learn new device
- Connect — Establish link with appropriate protocol
- Execute — Send commands, read data, manage state
- Learn — Update device profile based on interaction success/failure
Quick Reference
| 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 |
Workspace
Store device profiles and interaction history:
~/bluetooth/
├── profiles/ # Known device configs (one file per device)
├── history.md # Interaction log with success/failure
└── pending.md # Devices discovered but not profiled
Critical Rules
- Never auto-connect to unknown devices — require explicit user confirmation
- Whitelist first — only interact with pre-authorized devices
- Log everything — every connection attempt, command, result
- Fail gracefully — if device unreachable, retry with backoff, then report
- Profile learning — when something works, save it; when it fails, note why
Platform Detection
| 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) |
Device Interaction Pattern
1. Check ~/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
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。
标签
同类 Skill
📊
广告素材与竞品数据一站式获取
AdMapix
下载 132.4k
🔍
10 大引擎聚合搜索,免费即用
Prismfy Web Search | Free Google
下载 82.2k
🔍
多引擎实时搜索,一键触达全网
Prismfy Web Search | Free Google
下载 81.8k
🔍
10 引擎聚合 · 实时搜索 · 开箱即用
Prismfy Web Search | Free Google
下载 81.8k
🆓
零成本AI智能调度,自动防限流
Free Ride - Unlimited free AI
下载 60.9k
🛠️
AI生成与实时搜索工具集
ATXP
下载 47.6k