-
Notifications
You must be signed in to change notification settings - Fork 150
error reading datafile #18
Comments
is file.txt in the folder where you're running the tool from? |
file.txt is saved under: Desktop->bleah-master->bleah |
you're running the tool from your home folder, give it the correct path of the file, how do you even expect it to work if you don't do that?! -.- |
but that is what I did |
no, your CWD is your home, so |
I thought it would Read data to be written from the file.txt. Instead of it It just scan for BLE devices |
There's a help menu and several examples in the README, you clearly didn't bother reading and understanding that documentation. |
no it is not true. In the README the description says "Read data to be written from this file" . There is not any example about the datafile. |
it can be any data |
thanks yungtravla for your reply. But I thought the data in my file.txt should be read |
? The grammar in the --help and README.md are correct, maybe you are misinterpreting? Bleah reads the data - that will be written - from your text file |
so it reads whatever contents from your file.txt and writes it to the UUID that you specify from a ble device |
so for example if my file.txt contents the data: 1,2,3,4. the tool will write this data to the UUID ? |
Have you tried |
yes I did. --data is used to write some data to the characteristic |
and yes. |
bingo, and |
In the same way --datafile/r is used the write data to characteristic from the file.txt, right? |
that is exactly what I said and what is written in the docs. |
wait. what...? Did you really just say it is used to write data to characteristics from the file.txt? Grammar plz |
please explain to me what characteristics from a txt file are |
Thank you so much. So by using --datafile I have to specify which characteristic I want to write data to. That is what was missing |
I meant write data from the file to characteristics |
try |
wait 20 seconds, and bleah will enumerate all the characteristics |
|
Hello,
I wanted to read a data file but I got the following error:
the file.txt is saved under the same directory where the bleah is
The text was updated successfully, but these errors were encountered: