emlid / bluetool Goto Github PK
View Code? Open in Web Editor NEWBluetooth manager for Linux.
License: GNU General Public License v3.0
Bluetooth manager for Linux.
License: GNU General Public License v3.0
When trying to run the sample code given, it is printing an empty array and an error:
org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
[]
from bluetool import Bluetooth
bluetooth = Bluetooth()
bluetooth.scan()
devices = bluetooth.get_paired_devices()
print(devices)`
There are two of the dbus errors for some reason, and I assumed that they are the reason that the array ends up empty instead of having the devices. Other Bluetooth class methods also return empty lists, although I haven't tried all of them.
Can you write the package for python3, so that it would be more useful
The AgentSvr's run() Method seems to run infinit on Raspberry Pi.
Is there an event except a Keyboard Interrupt that has to occur, so that the shutdown() Function is called and the program continues?
ImportError: cannot import name 'Bluetooth' from 'bluetool' (C:\Develop\Python\Anaconda3\lib\site-packages\bluetool_init_.py)
examples are not enough
We are in the development of a project regarding Automated bluetooth testing.
We are writing several python scripts for automation. All the scripts are in Python3.
But, since bluetool is not compatible with Python3, we are not supposed to complete the project..
We hope, we can get python3 package of bluetool.
File "~/.local/lib/python2.7/site-packages/bluetool/blueserver.py", line 32, in <module>
import gobject as GObject
ImportError: No module named gobject
Fixed by installing (Archlinux) package python2-gobject
(and for python3, pip install gobject
is a thing).
Mentioning it here in case it helps someone / needs to be added to dependencies.
Also setuptools
is also a dependency, albeit a common one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.