Version: Smart Feature Phone 3.0
BluetoothGattCharacteristic.addDescriptor
Description#
Adds a descriptor to this characteristic.
Syntax#
Parameters#
uuidUUID of the descriptor to add.permissionsGattPermissions of the descriptor to add.valueThe initial value of this descriptor.
Return value#
A Promise to indicate whether the operation is resolved or rejected. If the Promise is resolved, it returns the added BluetoothGattDescriptor object, and property descriptors is also updated with the added descriptor.