CharacteristicReadRequest

data class CharacteristicReadRequest(val device: ClientDevice, val requestId: Int, val offset: Int, val characteristic: IBluetoothGattCharacteristic) : ServerGattEvent.CharacteristicEvent

A remote client has requested to read a local characteristic.

An application must call GattServerAPI.sendResponse to complete the request.

See also

Constructors

Link copied to clipboard
constructor(device: ClientDevice, requestId: Int, offset: Int, characteristic: IBluetoothGattCharacteristic)

Properties

Link copied to clipboard

Characteristic to be read.

Link copied to clipboard
open override val device: ClientDevice

The remote device that has requested the read operation

Link copied to clipboard
val offset: Int

Offset into the value of the characteristic.

Link copied to clipboard

The Id of the request.