Version: Smart Feature Phone 3.0
BluetoothGattService.addCharacteristic
Description#
The method adds a characteristic to this service.
Syntax#
Parameters#
uuidUUID of the characteristic to add.permissionsGattPermissionsof the characteristic to add.propertiesGattCharacteristicPropertiesof the characteristic to addvalueThe initial value of this characteristic.
Return value#
A Promise to indicate whether the operation is resolved or rejected. Once the Promise is resolved, the property characteristics is also updated with the added characteristic.