NativeServerBleAPI
class NativeServerBleAPI(val server: BluetoothGattServer, val callback: ServerBleGattCallback) : GattServerAPI
A wrapper around BluetoothGattServer and BluetoothGattServerCallback. As an input it uses callbacks of BluetoothGattServerCallback and as an output calls to BluetoothGattServer.
Properties
Link copied to clipboard
Native wrapper around Android BluetoothGattServerCallback.
Link copied to clipboard
Link copied to clipboard
Native Android API BluetoothGattServer.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun notifyCharacteristicChanged(device: ClientDevice, characteristic: IBluetoothGattCharacteristic, confirm: Boolean, value: DataByteArray)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun requestPhy(device: ClientDevice, txPhy: BleGattPhy, rxPhy: BleGattPhy, phyOption: PhyOption)
Link copied to clipboard
open override fun sendResponse(device: ClientDevice, requestId: Int, status: Int, offset: Int, value: DataByteArray?)