jpaalasm / zephyr-bt Goto Github PK
View Code? Open in Web Editor NEWPython library for the Bluetooth protocol of Zephyr BioHarness™ and HxM™ devices
Home Page: http://biomusic.cc
License: BSD 2-Clause "Simplified" License
Python library for the Bluetooth protocol of Zephyr BioHarness™ and HxM™ devices
Home Page: http://biomusic.cc
License: BSD 2-Clause "Simplified" License
Hi,
I've just tried your script read_from_device.py with my Zephyr Bioharness 3.0 and Python 2.7 and I've got this error:
Traceback (most recent call last): File "...\eclipse\plugins\org.python.pydev_2.7.1.2012100913\pysrc\pydevd.py", line 1397, in debugger.run(setup['file'], None, None) File "...\eclipse\plugins\org.python.pydev_2.7.1.2012100913\pysrc\pydevd.py", line 1090, in run pydev_imports.execfile(file, globals, locals) #execute the script File "...\zephyr-bt\testing\read_from_device.py", line 25, in main() File "...\zephyr-bt\testing\read_from_device.py", line 21, in main simulation_workflow([callback], ser) File "...\zephyr-bt\src\zephyr\testing.py", line 145, in simulation_workflow protocol.run() File "...\zephyr-bt\src\zephyr\protocol.py", line 93, in run self.read_and_handle_byte() File "...\zephyr-bt\src\zephyr\protocol.py", line 81, in read_and_handle_byte for callback in self.callbacks: TypeError: 'instancemethod' object is not iterable
I hope we can find a solution for this.
Hello, I'm trying to use the project but I can't install pyzephyr on my Ubuntu 16.04, it gives me:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-2dfhc6nn/PyZephyr/
Any solution?
I'm trying to use the BH3 for a project and found your wonderful library so I don't have to write it myself. I am on OS X 10.9.2.
I am trying to run testing/read_from_device.py
. It works for about 10 seconds but then the connection between the device and my Mac dies.
This sounds a lot like the part in the documentation which says "… If no packets are received for more than 10 seconds …"? Did you experience the same issue? Is there some way to set timeouts?
Hey guys,
I know you haven't been working on the project lately, but maybe you can help me anyway.
With the release 3.x Serial does not support an Integer as port. This causes issues with the read_from_device
module.
I am not very familiar with ports and stuff, I just wondered if it is possible with the module to fetchdata from the bioharness via bluetooth?
Thanks for any help!
Regards, paul
Hello, could you provide info about how to run the tests?
I am trying to run it with:
python read_from_device.py
But I am getting errors like:
Traceback (most recent call last):
File "read_from_device.py", line 5, in
import zephyr
ImportError: No module named zephyr
Is zephyr some kind of python module or do you define it somewhere?
Thank you
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.