object GattServerMtuChangeListener : BaseServerConnectionEventListener
GATT server listener that listens to MTU size changes with a remote device.
fun getMtuSizeObservable(device: BluetoothDevice): Observable<Int>
Observable on which changes to Gatt server MTU changes are available |
|
fun onServerMtuChanged(device: BluetoothDevice, result: TransactionResult, connection: GattServerConnection): Unit |
open fun onServerCharacteristicReadRequest(device: BluetoothDevice, result: TransactionResult, connection: GattServerConnection): Unit |
|
open fun onServerCharacteristicWriteRequest(device: BluetoothDevice, result: TransactionResult, connection: GattServerConnection): Unit |
|
open fun onServerConnectionStateChanged(device: BluetoothDevice, result: TransactionResult, connection: GattServerConnection): Unit |
|
open fun onServerDescriptorReadRequest(device: BluetoothDevice, result: TransactionResult, connection: GattServerConnection): Unit |
|
open fun onServerDescriptorWriteRequest(device: BluetoothDevice, result: TransactionResult, connection: GattServerConnection): Unit |