radiacode
radiacode copied to clipboard
Library for RadiaCode-101
Due to bluepy not working on Mac, it's not possible to install and run the project on Mac devices as it is. I modified the project so that bluepy is...
**Edit:** check my [last comment](https://github.com/cdump/radiacode/pull/33#issuecomment-2105607647) as with the last commit, no code changes are necessary and the library supports `async` as well. I'd like to request a review of my...
Example added to include logging to the webserver. Also, added shutdown events so radiacode service stops on exit
## Summary - Enhanced error messages when Bluetooth scanning fails due to missing permissions - Added automatic reconnection with exponential backoff when Bluetooth connections drop - Implemented connection state tracking...
It would be nice to have a _close_ method that will correctly close an opened USB device. Now, I have to do this manually: ``` import usb.util rc = RadiaCode()...
[Pyrefly](https://github.com/facebook/pyrefly) looks like a pretty neat way to check and enforce type annotations; I also enabled strict checking with Pylance in VSFR ... err, VSCode. Pyrefly type checking could even...
I'll do a PR once I make more sense of this, but looking at the logs from my phone I see that events are decoded like this: ``` 15:11:38.7: ==...