Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gatttool gets stuck using 100% cpu when pygatt is used from cron #319

Open
af7567 opened this issue Mar 12, 2021 · 1 comment
Open

gatttool gets stuck using 100% cpu when pygatt is used from cron #319

af7567 opened this issue Mar 12, 2021 · 1 comment

Comments

@af7567
Copy link

af7567 commented Mar 12, 2021

On slackware64-current with a USB bluetooth dongle. I have been using the trionesControl python module to control an LED strip. When running from a terminal everything runs and exits fine. But I found that when it is run from cron it will work correctly, and the python script will exit, but "gatttool -i hci0 -I" is left using 100% CPU until I kill it.

@Simone-Cu
Copy link

Also on mine, gatttool seems to reach high cpu usage when using pygatt in a service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants