ble_scan_start
Start a background BLE scan with optional name or service UUID filters. Returns a scan ID and auto-stops after a configurable timeout.
Instructions
Start a background BLE scan. Returns a scan_id immediately. The scan runs in the background for up to timeout_s seconds. Use ble.scan_get_results to check discovered devices and ble.scan_stop to end the scan early.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No | Max scan duration in seconds (default 10, max 60). Scan auto-stops after this. | |
| name_filter | No | Only collect devices whose name contains this string (case-insensitive). | |
| service_uuid | No | Only collect devices advertising this service UUID. |