Bluetooth Remote GATT Descriptor class

Implements

  • BluetoothRemoteGATTDescriptor

Constructors

Properties

Accessors

Methods

Constructors

Properties

characteristic: BluetoothRemoteGATTCharacteristic = undefined

The characteristic the descriptor is related to

uuid: string = undefined

The unique identifier of the descriptor

Accessors

  • get value(): DataView

    The value of the descriptor

    Returns DataView

Methods

  • Gets the value of the descriptor

    Returns Promise<DataView<ArrayBufferLike>>

    Promise containing the value

  • Updates the value of the descriptor

    Parameters

    • value: ArrayBuffer | ArrayBufferView<ArrayBufferLike>

      The value to write

    Returns Promise<void>