firmwareSandsara
generalCallbacks_pause Class Reference

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

Inheritance diagram for generalCallbacks_pause:
Collaboration diagram for generalCallbacks_pause:

Detailed Description

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

Sandsara has 3 movement modes, play, pause, and sleep modes. You can enter in Pause mode using this characteristic. Pause mode means that the mechanism will stop in the current state and the led strip will continue to be working.

Properties:

  • Write

UUID: 7b20473c-30c3-11eb-adc1-0242ac120002

Usage: if you want to pause your sandsara just write to this characteristic any character.

Range: whatever character will be understood as if you want to pause Sandsara.

Response: you can receive one of these responses after you write to this characteristic.

  • "ok" means Sandsara is in pause mode.
Note
all the responses have to be read from the generalErrorMsg characteristic after being notified by it.
See also
how to know the status of sandsara? –> generalCallbacks_status,
How to read the response of a characteristic

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