Comments (28)
is file.txt in the folder where you're running the tool from?
from bleah.
file.txt is saved under: Desktop->bleah-master->bleah
from 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?! -.-
from bleah.
but that is what I did
from bleah.
no, your CWD is your home, so -r file.txt
means -r /home/kamdem/file.txt
which obviously does not exist .. learn to use a terminal please.
from bleah.
Is it supposed to do that?
from bleah.
I thought it would Read data to be written from the file.txt. Instead of it It just scan for BLE devices
from bleah.
There's a help menu and several examples in the README, you clearly didn't bother reading and understanding that documentation.
from bleah.
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.
from bleah.
it can be any data
from bleah.
thanks yungtravla for your reply. But I thought the data in my file.txt should be read
from bleah.
? 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
from bleah.
so it reads whatever contents from your file.txt and writes it to the UUID that you specify from a ble device
from bleah.
so for example if my file.txt contents the data: 1,2,3,4. the tool will write this data to the UUID ?
from bleah.
Have you tried --data
? Then you will understand --datafile
/-r
from bleah.
yes I did. --data is used to write some data to the characteristic
from bleah.
and yes.
from bleah.
bingo, and --datafile
does the same, but reads the data from a file
from bleah.
In the same way --datafile/r is used the write data to characteristic from the file.txt, right?
from bleah.
that is exactly what I said and what is written in the docs.
from bleah.
wait. what...? Did you really just say it is used to write data to characteristics from the file.txt? Grammar plz
from bleah.
please explain to me what characteristics from a txt file are
from bleah.
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
from bleah.
I meant write data from the file to characteristics
from bleah.
try bleah -t10 -fe
from bleah.
wait 20 seconds, and bleah will enumerate all the characteristics
from bleah.
000fe00-000f-00f0-00f0-0000f00f0f0f00f
these address types are UUIDs, you can write data to a UUID if it has the WRITE
property listed next to it
from bleah.
Fixed by properly handling the exception:
from bleah.
Related Issues (20)
- OSError: [Errono 8] Exec format Error
- Traceback error
- A question about write.py
- MacOS bluepy: "sudo python setup.py install" HOT 6
- Using another BLE usb adapter HOT 1
- Documentation Corrections HOT 2
- how to uninstall bleah ??? HOT 1
- Error when installing Bluepy. HOT 3
- Support for Ubertooth One HOT 1
- Ascii encoding error HOT 1
- Failed to execute mgmt cmd 'le on'
- Failed to connect to peripheral xx:xx:xx:xx:xx:xx, addr type: random/public HOT 2
- When Enumerating " 'ascii' codec can't decode" HOT 2
- Error when enumerating HOT 1
- Feature req: bluetooth stack debug when crashing
- Error:Could not access %s for reading HOT 2
- Feature: Nicknames for devices and characteristics
- local variable 'raw' referenced before assignment HOT 5
- ! global name 'do_write_ops' is not defined HOT 1
- Error '! Helper not started (did you call connect()?)' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bleah.