![]() |
firmwareSandsara
|
[BLE Command] This class is used to create an object to be called when you write to the checkFile characteristic. More...


[BLE Command] This class is used to create an object to be called when you write to the checkFile characteristic.
checkFile characteristic is used to check if a file exists in the sd card.
Properties:
UUID: fcbffb52-2af1-11eb-adc1-0242ac120002
Usage: if you want to check if a file exists in the SD card just write to this characteristic the file name you want to check and wait to be notified by fileErroMsg (fcbffce2-2af1-11eb-adc1-0242ac120002). to know if the file exists read fileErroMsg characteristic and if the response is 1 the file exists and if it is 0 file doesn’t exist.
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.