Skip to content

Device

Functions

Methods

service:addCharacteristic (characteristic)


Adds a new characteristic to the service. The characteristic must not have been added to another service and there must not be another characteristic already added to the service with same UUID.

Params

  • characterisitc Characteristic The characteristic to add to the service.

Returns: bool If the characteristic was successfully added to the device.

Back to top