Closed dderiso closed 3 years ago
@dderiso, I do not have a GDX-O2 device with me to test with, atm. Nor, do I not have any great notions as to why it would not behave like other Go Direct devices. I will try and get a hold of a GDX-O2, soon.
@dderiso Did you happen to try the example that does not use the gdx module, instead talks directly to the godirect module? This might be a good troubleshooting step to make sure the issue is not a bug in the gdx module. The example can be found here: https://github.com/VernierST/godirect-examples/blob/master/python/godirect-module-examples/godirect-sensor-readout.py
@sswartley Thanks! This example was very helpful for getting the O2 sensor up and running.
I've renamed this issue because it turns out that the problem wasn't related to the O2 sensor; it was related to Bleak. In case it helps, I found that patching that library fixed the problem for me. https://github.com/hbldh/bleak/issues/116#issuecomment-610486401v
Should be resolved with #20
Dear Support,
Thanks for the great toolset! I'm getting empty packets with my O2 sensor when using BLE, although it works fine via USB. The other go-sensor I have is working fine via BLE. Thanks for your help!
My code:
Results in:
Via USB: