MDN self-hosted library · e01.org

BluetoothRemoteGATTDescriptor: writeValue() method

Bluetooth API

no runnable cells web-api-instance-method upstream source

Bluetooth API

The BluetoothRemoteGATTDescriptor.writeValue() method sets the value property to the bytes contained in an ArrayBuffer, TypedArray, or DataView and returns a Promise.

Syntax

writeValue(buffer)

Parameters

  • buffer
  • : Sets the value with the bytes contained in the buffer.

Return value

A Promise.

Specifications

Browser compatibility