Version: Smart Feature Phone 3.0

BluetoothGattDescriptor.readValue

Description#

Read the descriptor value from either remote device (client role) or the local device (server role). In client mode, the cached value property is also updated after retrieving the value from the remote GATT server.

Syntax#

var promise = instanceOfBluetoothGattDescriptor.readValue();

Return value#

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.