Материал из Module developer
Перейти к: навигация, поиск

}) </syntaxhighlight> |attentions= calls the following event: IR.EVENT_CHARACTERISTIC_WRITE - the characteristic is written.
Note:

  • Value property of a characteristic is used as a container for a new value to send to a device;
  • the format of a bite array to record can be different from the array that is received when reading;
  • The characteristic must have the following properties CharacteristicPropertyWrite or related ones.

Characteristic properties:

  • UUID - characteristic uuid
  • Permissions - permission level
  • Properties - properties
  • Value - value

}}