flutter_reactive_ble library

Classes

$ConnectionStateUpdate
$DiscoveredDevice
$DiscoveredService
$ScanResult
Characteristic
An instance of this object should not be used after its device has lost its connection.
CharacteristicValue
Value update for specific CharacteristicInstance.
ConnectionPriorityInfo
Result of the connection priority request
ConnectionStateUpdate
Status update for a specific BLE device.
ConnectionStateUpdate$
ConnectionStateUpdate$Change
DiscoveredCharacteristic
Specific BLE characteristic for a BLE device characterized by deviceId, serviceId and characteristicId.
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.
Logger
QualifiedCharacteristic
Specific BLE characteristic for a BLE device characterized 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.
ScanResult$
ScanResult$Change
ScanSession
SerialDisposable<T>
A disposable resource whose underlying resource can be replaced by another resource causing automatic disposal of the previous underlying resource.
Service
An instance of this object should not be used after its device has lost its connection.
StreamSubscriptionSerialDisposable<T>
A SerialDisposable that contains 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.
Connectable
Shows if the device is ready to be connected to from a discovery perspective
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 debug logging 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.