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

need to regulate frequency of sending data #4

Open
soundanalogous opened this issue Sep 5, 2016 · 0 comments
Open

need to regulate frequency of sending data #4

soundanalogous opened this issue Sep 5, 2016 · 0 comments

Comments

@soundanalogous
Copy link
Contributor

soundanalogous commented Sep 5, 2016

This module only works if you are sending data from a single component and the rate at which data is sent is >= the BLE connection interval (which is why the blink example works). If data is sent faster than that interval, the application running on the MCU will crash. Likewise if you try to send data from 2 or more components and one component sends data within an interval < the BLE connection interval, the application on the MCU will crash.

What is needed is a timed buffer that is flushed minimally at the same rate as the BLE connection interval. All data transmitted would need to go through this buffer. That should (hopefully) prevent crashes.

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