firmwareSandsara
directionCallbacks Class Reference

[BLE Command] This class is used to create an object to be called when you write the ledDirection characteristic. More...

Inheritance diagram for directionCallbacks:
Collaboration diagram for directionCallbacks:

Detailed Description

[BLE Command] This class is used to create an object to be called when you write the ledDirection characteristic.

the led strip has 2 directions, clockwise and counter-clockwise, you can choose one changing the characteristic.

Properties:

  • Write
  • Read

UUID: 1a9a8042-2305-11eb-adc1-0242ac120002

Usage: you can write to this characteristic to set the direction of the led strip, or in the same way you can read it to know it.

Range: accepted values are 0 or any other diffeent than 0.

  • 1 for clockwise direction.
  • 0 for counter clockwise direction.
Note
when you write to this characteristic you will be notified by the ledCharacteristic_errorMsg with some of these values:
  • "ok" means the value was set successfully.
See also
How to read the response of a characteristic

The documentation for this class was generated from the following file: