B2G/Bluetooth/WebBluetooth-v2/BluetoothGattDescriptor: Difference between revisions

Line 88: Line 88:


; Description
; Description
: Read the descriptor value from GATT server.
: Read the descriptor value from the remote device.
: The cached value property will also be updated after retrieving the value from server.
: The cached value property will also be updated after retrieving the value.


; Return
; Return
: A Promise to indicate whether the operation is resolved or rejected.
: A Promise to indicate whether the operation is resolved or rejected.
: The Promise is resolved along with the value retrieved from GATT server.
: The Promise is resolved along with the value retrieved from the remote device.


=== writeValue(ArrayBuffer value) ===
=== writeValue(ArrayBuffer value) ===
120

edits