-
Notifications
You must be signed in to change notification settings - Fork 8
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
BLE: rate limiter / commands to addon module in general #38
Comments
What is the BLE rate limiter and in which cases it has to be adapted? |
In general, there is a maximum sending frequency, because of the underlying protocol limitations. USB: The limit is handled by the USB hardware integrated in the Teensy uC, so each time we call Bluetooth:
We experienced problems with some devices, which could not handle a high data rate very well (BT). So: we need a good default value and the possibility to adapt this value if necessary 👍 Because the BT rate limiting (and an additional buffering specialized on mouse data) is implemented in the ESP32,
|
Thanks for the detailed explanation! 👍
Crazy, normally one would think a mouse would be the perfect device to trigger events if something happens and not using polling by the host.
OK, makes sense! Do you know how other Bluetooth mouses deal with this problem? Do they simply have a good default value?! |
For adapting the rate limiter, a new AT command needs to be implemented.
But in general, I would prefer to use a general AT command, which is used to send arbitrary commands to an addon board.
Suggestion:
AT BC <command
(according to asterics/esp32_mouse_keyboard#39e.g.,
AT BC $RL80
sets the rate limiter of the esp32 addon to 80ms.In general, these commands can/should be:
The text was updated successfully, but these errors were encountered: