BluetoothRemoteGATTDescriptor: writeValue() method
Bluetooth API
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.