Version: Smart Feature Phone 3.0
BluetoothGattCharacteristic.writeValue
Description#
Write the characteristic value to the GATT server. If the local device is the GATT client, the value will be written to the remote GATT server. On the other hand, if the local device is the GATT server, the value will be written to the property value.
Syntax#
Parameters#
valueDesired value to be written to the GATT server.
Return value#
A Promise to indicate whether the operation is resolved or rejected.