BluetoothRemoteGATTDescriptor:writeValue() 方法
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
BluetoothRemoteGATTDescriptor.writeValue()
方法将 value 属性设置为包含在 ArrayBuffer
、TypedArray
或 DataView
中的字节,并返回 Promise
。