flutter_reactive_ble library
Classes
- $ConnectionStateUpdate
- $DiscoveredDevice
- $DiscoveredService
- CharacteristicValue
- Value update for specific QualifiedCharacteristic.
- ConnectionPriorityInfo
- Result of the connection priority request
- ConnectionStateUpdate
- Status update for a specific BLE device.
- ConnectionStateUpdate$
- DiscoveredDevice
- Ble device that is discovered during scanning.
- DiscoveredDevice$
- DiscoveredService
- DiscoveredService$
- FlutterReactiveBle
- FlutterReactiveBle is the facade of the library. Its interface allows to perform all the supported BLE operations.
-
GenericFailure<
T> - Error result of a BLE operation.
- QualifiedCharacteristic
- Specific BLE characteristic for a BLE device characterised by deviceId, serviceId and characteristicId.
-
Repeater<
T> - Repeater sets an underlying stream up on the first subscription to the output stream and shuts it down when there are no more subscriptions.
-
Result<
Value, Failure> - Result of a ble operation.
- ScanResult
- Result of a scan interval.
-
SerialDisposable<
T> - A disposable resource whose underlying resource can be replaced by another resource causing automatic disposal of the previous underlying resource.
- StreamSubscriptionSerialDisposable
- A SerialDisposable that constains an underlying stream subscription.
- Uuid
- Representation of a 16, 32 or 128-bit number used to identify BLE services and characteristics.
Enums
- BleStatus
- The status of the BLE subsystem as reported by the platform API.
- CharacteristicValueUpdateError
- Error type for characteristic value update.
- ConnectionError
- Type of connection error.
- ConnectionPriority
- The priority that can be requested to update the connection parameter.
- ConnectionPriorityFailure
- Error type for connection priority.
- ConnectionStatus
- Connection status of the BLE device.
- DeviceConnectionState
- Connection status.
- LogLevel
- States the level of debuglogging within this library
- ScanFailure
- Failure type of device discovery.
- ScanMode
- Android only: mode in which BLE discovery is executed.
Functions
-
convertPriorityToInt(
ConnectionPriority priority) → int - util function to convert priority to a integer.
-
convertScanModeToArgs(
ScanMode scanMode) → int - Converts ScanMode to integer representation.