You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
Hi Alex,
...
Thanks again lin.xc for pointing out openant. I forked the package and was able to extend it by the functionalities "enable extended messages" and "background scanning". You can find my changes under https://github.com/pirower/openant/ (I even added an additionnal example under scan.py)
Hi,
I've tryed to use your example heart rate monitor and thows a exception:
usb.core.USBError [Errno 32]
Do you know why?
Thanks
https://github.com/asantacreuTwoNav/python-ant/blob/develop/demos/ant.core/10-scan.pyI don't know if this is what you want because I barely know what I am doing myself, but I happened across this when searching to see if anyone expanded on python-ant examples:
Thanks a lot for this. The last fork I copied, didn't include this example. I will definitely check this out and keep you updated.
set_id(self, deviceNum, deviceType, transmissionType)
channel
channel.set_id(0, 120, 0)
deviceType=120
120
11
<class 'usb.core.USBTimeoutError'>
channel.close()
channel._unassign()
channel = node.new_channel(Channel.Type.BIDIRECTIONAL_RECEIVE)
...
channel.set_id(0, 120, 0)
...