cdump / radiacode

Library for RadiaCode-101
MIT License
101 stars 18 forks source link

Issues on Radiacode 102 via USB #10

Closed leandroalbero closed 5 months ago

leandroalbero commented 1 year ago

Describe the bug

When running any of the examples with a Radiacode 102, the program execution stops after a while

To reproduce

Start any of the included examples, in this case I have used webserver.py

Desktop/FW:


Let me know if you need any more information, I don't know if the 102 is supposed to even work with this library.
Note: I've checked #9 , but still facing this issue on v0.2.0
Thanks!
cdump commented 1 year ago

I've tried 4.02 and 4.05 firmware on Linux and M1 Macos and can't reproduce this issue.

Looks like a data race (response to the second request with header from the first request), but webserver.py is single threaded (asycio).

p.s. have you noticed any issues with bluepy on macos? I've commented out some code to make it work, https://github.com/IanHarvey/bluepy/issues/404 didn't help.

wilsonlmh commented 10 months ago

@cdump

p.s. have you noticed any issues with bluepy on macos? I've commented out some code to make it work, IanHarvey/bluepy#404 didn't help.

Bluepy unlikely will support macOS anytime soon according to author: https://github.com/IanHarvey/bluepy/issues/44#issuecomment-407177324

I also found it's running fine with some code commented out in radiacode.py.

ckuethe commented 10 months ago

Just confirming that after #9 , the 102 works well for me on Ubuntu 22.04LTS amd64. Currently using v0.2.2