Package-level declarations
Common types and interfaces for mock Bluetooth Low Energy clients.
Types
Link copied to clipboard
Represents the type of Bluetooth address.
Link copied to clipboard
The result of a connection request.
Link copied to clipboard
Link copied to clipboard
class MockAdvertisingSet(val delay: Duration, val timeout: Duration, val maxAdvertisingEvents: Int, val isAdvertisingWhenConnected: Boolean, val parameters: AdvertisingSetParameters, val advertisingData: AdvertisingDataDefinition, val isBeacon: Boolean)
The advertisement configuration for a mock peripheral.
Link copied to clipboard
Scope for building a mock GATT server.
Link copied to clipboard
A specification of a peripheral that can be simulated.
Link copied to clipboard
interface PeripheralSpecEventHandler
This is the interface of a peripheral event handler.
Link copied to clipboard
The response of a Prepare Write request.
Link copied to clipboard
The result of a data read operation.
Link copied to clipboard
The result of a service discovery request.
Link copied to clipboard
This class allows simulating events which would normally be emitted by the real central manager.
Link copied to clipboard
The result of a Write Request operation.