Module scan

Source
Expand description

Device discovery and scanning.

This module provides functionality to scan for Aranet devices using Bluetooth Low Energy.

Structs§

DiscoveredDevice
Information about a discovered Aranet device.
ScanOptions
Options for scanning.

Enums§

FindProgress
Progress update for device finding operations.

Functions§

find_device
Find a specific device by name or address.
find_device_with_options
Find a specific device by name or address with custom options.
find_device_with_progress
Find a specific device with progress callback for UI feedback.
get_adapter
Get the first available Bluetooth adapter.
scan_for_devices
Scan for Aranet devices in range.
scan_with_adapter
Scan for devices using a specific adapter.
scan_with_options
Scan for devices with custom options.
scan_with_retry
Scan for devices with retry logic for flaky Bluetooth environments.

Type Aliases§

ProgressCallback
Callback type for progress updates during device finding.