firmwareSandsara
FilesCallbacks_deleteFile Class Reference

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

Inheritance diagram for FilesCallbacks_deleteFile:
Collaboration diagram for FilesCallbacks_deleteFile:

Detailed Description

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

deleteFile characteristic is used to delete a file in the sd card.

Properties:

  • Write

UUID: fcbffc24-2af1-11eb-adc1-0242ac120002

Usage: if you want to delete a file in the SD card just write to this characteristic the file name you want to delete. to verify if the file was deleted read the fileErrorMsg characteristic for the response.

Range: accepted values are a name, for example, "Old Path.txt", "dogs.txt", "geometries.playlist" and so on.

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

  • "0" means the file does NOT exist
  • "1" means the file was deleted.
Note
all the responses have to be read from the fileErroMsg 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: