firmwareSandsara
generalCallbacks_restart Class Reference

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

Inheritance diagram for generalCallbacks_restart:
Collaboration diagram for generalCallbacks_restart:

Detailed Description

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

Sandsara can be restarted using this characteristic. The behavior is the same as if you disconnect Sandsara and then connect it again.

Properties:

  • Write

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

Usage: if you want to restart Sandsara just write to this characteristic any character.

Range: any character.

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

  • "ok" means Sandsara will restart.
Note
all the responses have to be read from the generalErrorMsg characteristic after being notified by it.
See also
How to read the response of a characteristic

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