Skip to content

Bluetooth Example does memory manipulation in IRQ #82

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

Open
32BT opened this issue Jan 12, 2025 · 0 comments
Open

Bluetooth Example does memory manipulation in IRQ #82

32BT opened this issue Jan 12, 2025 · 0 comments

Comments

@32BT
Copy link

32BT commented Jan 12, 2025

The Bluetooth example picow_ble_temp_sensor.py is not working for me. I never receive notifications of updated temperature. It seems the code attempts to add data to a set during an interrupt. This likely results in memory manipulation which is not allowed. The handle is subsequently not stored when I try the example so I never receive Notifications. If I assign the handle to a local var, it works as intended.

self._connections.add(conn_handle)

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

1 participant