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$
ConnectionStateUpdate$Change
DiscoveredDevice
Ble device that is discovered during scanning.
DiscoveredDevice$
DiscoveredDevice$Change
DiscoveredService
DiscoveredService$
DiscoveredService$Change
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.
ReactiveBlePlatform
The interface that implementations of reactive_ble must implement.
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.
ScanSession
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.
Unit
Uuid
Representation of a 16, 32 or 128-bit number used to identify BLE services and characteristics.
WriteCharacteristicInfo

Enums

BleStatus
The status of the BLE subsystem as reported by the platform API.
CharacteristicValueUpdateError
Error type for characteristic value update.
ClearGattCacheError
Error type of Clear Gatt cache operation.
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.
WriteCharacteristicFailure

Functions

convertPriorityToInt(ConnectionPriority priority) int
util function to convert priority to a integer.
convertScanModeToArgs(ScanMode scanMode) int
Converts ScanMode to integer representation.