firmwareSandsara
playlistCallbacks_pathPosition Class Reference

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

Inheritance diagram for playlistCallbacks_pathPosition:
Collaboration diagram for playlistCallbacks_pathPosition:

Detailed Description

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

Sandsara always are playing a playlist and every path has an index starting at 1, you can change the current path by its index in the playlist.

Properties:

  • Write
  • Read

UUID: 9b12a62e-2c6e-11eb-adc1-0242ac120002

Usage: you can change the current path just by writing to this characteristic the index of the desired path, or in the same way, you can read it to know the current path index.

Range: accepted values go from 1 to the number of paths in the current playlist.

Responses:

  • "ok" means the path was changed successfully.

this is the behavior when you change a path using this characteristic.

  1. sandsara is playing the Geometries playlist and it is playing the 15 position track.
  2. you change to the third position path using this characteristic.
  3. sandara will play the third position path.
  4. when it finishes, sandsara will continue with the fourth index path.
Note
when you write to this characteristic you will be notified by the playlistCharacteristic_errorMsg characteristic for a response.
Warning
make sure to change to a valid index
See also
How to send a file? –> FilesCallbacks_receive, How to read the response of a characteristic

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