reactive_ble_platform_interface library

Classes

$ConnectionStateUpdate
$DiscoveredDevice
$DiscoveredService
$ScanResult
CharacteristicInstance
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
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.
Result<Value, Failure>
Result of a ble operation.
ScanResult
Result of a scan interval.
ScanResult$
ScanResult$Change
ScanSession
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.