stephenfin / pyblehci Goto Github PK
View Code? Open in Web Editor NEWA combined parser-builder for TI vendor-specific HCI packets
License: MIT License
A combined parser-builder for TI vendor-specific HCI packets
License: MIT License
Issue is failing to terminate.
I have a blue led to show if connection is present.
So, if I use Btool from TI, and terminate, the led turns off.
With pyblehci, I issue "fe0a" to request termination, and get the status ok and op_code "GATT_TerminateLinkRequest", but the connection is not disconnected.
I don't get a 0606 GAP_LinkTerminated event. In Btool I do get this final event log.
There are a number of issues:
It says README.rst cannot be found no such file or directory. I
commented out that line in the setup.py code and I get another error
saying UserWarning: Unknown distribution option "install_requires" followed
by error: package directory 'pyblehci' does not exist.
We should fix this. Until then, people can install this manually:
...What I would suggest doing instead is copying the 'pyblehci' folder in the source to your Python path. You can find this like so:
$ python >> import xml >> xml.__path__ ['/usr/lib/python2.7/xml']
Copy the pyclehci library (i.e. this one[1] into this directory). You should now be able to load the library.
Alternatively, you can modify the PYTHONPATH to include the absolute path to the aforementioned folder. For example, on Linux:
export PYTHONPATH=$PYTHONPATH:[path to the aformentioned folder]
Example:
export PYTHONPATH=$PYTHONPATH:/home/stephenfin/projects/pyblehci/pyblehci
There's a way to do this on Windows but I don't recall how (set or setenv?)
Hope this helps,
Stephen
[1] https://github.com/stephenfin/pyblehci/tree/master/pyblehci
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.