firmwareSandsara
generalCallbacks_play Class Reference

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

Inheritance diagram for generalCallbacks_play:
Collaboration diagram for generalCallbacks_play:

Detailed Description

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

Sandsara has 3 movement modes, play, pause, and sleep modes. You can enter in Play mode using this characteristic. Play mode means that the mechanism will start moving, if Sandsara is in pause or sleep mode you can use this characteristic to resume the movement. if you use this characteristic when Sandsara is already in play mode, nothing will happen.

Properties:

  • Write

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

Usage: if you want to resume 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: