interface BaseServerConnectionEventListener : ServerConnectionEventListener
Base ServerConnectionEventListener that provides no operations when one of the callback is called
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 |
|
open fun onServerMtuChanged(device: BluetoothDevice, result: TransactionResult, connection: GattServerConnection): Unit |
object GattServerConnectionChangeListener : BaseServerConnectionEventListener
GATT server listener that listens to connection changes with a remote device. Connection changes are available per remote device |
|
object GattServerConnectionChangeListenerForPeripheralMode : BaseServerConnectionEventListener |
|
object GattServerMtuChangeListener : BaseServerConnectionEventListener
GATT server listener that listens to MTU size changes with a remote device. |