120
edits
(Rename Permissions as GattPermissions.) |
(revise descriptor of readValue in GattCharacteristic) |
||
Line 171: | Line 171: | ||
; Description | ; Description | ||
: Read the characteristic value from the | : Read the characteristic value from either remote device (client role) or the local device (server role). In client mode, the cached value property will also be updated after retrieving the value from the remote GATT server. | ||
; Return | ; Return | ||
: A Promise to indicate whether the operation is resolved or rejected. The Promise is resolved along with the value retrieved from the remote device. | : A Promise to indicate whether the operation is resolved or rejected. The Promise is resolved along with the value retrieved from the remote device or local device. | ||
=== writeValue(ArrayBuffer value) === | === writeValue(ArrayBuffer value) === |
edits