Coder Social home page Coder Social logo

bluetool's People

Contributors

dskorykh avatar egorf avatar merindorium avatar nikita-yefremov avatar sam-bristow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bluetool's Issues

DBus issues when trying to scan

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.

AgentSvr never exits mainloop

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?

Need Python3 package

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.

Missing dependency : gobject

  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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.