add Characteristic
Adds a characteristic with |characteristicUuid| and |properties| to the service represented by |serviceId|.
Note: this function uses an input class, and constructing this class manually may lead to incompatibilities if the class's constructor arguments change in the future. For maximum compatibility, it is advised to use the overload of this function that directly takes the mandatory parameters as arguments, and the optional ones from a configuration lambda.
suspend fun addCharacteristic(serviceId: String, characteristicUuid: String, properties: CharacteristicProperties): AddCharacteristicResponse
Adds a characteristic with |characteristicUuid| and |properties| to the service represented by |serviceId|.
Parameters
service Id
(undocumented in the protocol definition)
characteristic Uuid
(undocumented in the protocol definition)
properties
(undocumented in the protocol definition)