What problem does it solve?
Connecting to Bluetooth Low Energy devices in MATLAB involves subtle pitfalls: connected devices stop advertising, characteristic access requires paired service and characteristic UUIDs, and exclusive connections cause confusing "Access denied" errors. This Skill guides the agent through the correct discovery, connection, and data-exchange workflow without guesswork.
Core Features & Use Cases
- Filtered Device Discovery: Scan for BLE peripherals by name or advertised service UUID using blelist, with handling for empty results and existing workspace connections.
- Characteristic Access and I/O: Read, write, and subscribe to GATT characteristics using the correct two-UUID characteristic() signature, including notification callbacks with DataAvailableFcn.
- Data Logging: Log notification streams to tab-separated text files using the bundled bleDataCollector.m script instead of lossy polling loops.
- Use Case: A user wants to monitor heart rate from a wearable sensor. The Skill scans for the device advertising service 180D, connects after user confirmation, subscribes to characteristic 2A37, and streams readings into MATLAB.
Quick Start
Scan for my BLE heart rate sensor, connect to it, and subscribe to its heart rate measurement notifications.