Peripheral
Android-specific implementation of a peripheral.
This class extends Peripheral and adds Android-specific methods.
Parameters
scope The coroutine scope.
The executor that provides methods to interact with the peripheral.
Inheritors
Properties
MAC address of the peripheral as String, alias for Peripheral.identifier.
The current connection parameters as StateFlow.
Returns whether the system has bond information associated with this peripheral.
The Bluetooth device type of the remote device.
Functions
Initiates bonding with the peripheral.
The maximum amount of data, in bytes, you can send to a characteristic in a single write operation.
Refreshes the cached GATT database associated with the peripheral and starts new service discovery automatically.
Removes the bond information associated with the peripheral.
Requests new connection parameters.
Requests the highest possible MTU (ATT_MTU_MAX).
Set the preferred connection PHY.
Initiates a reliable write transaction for a given characteristic.