-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
BluetoothSerial - Reduce bluetooth serial flush delay #9905
Conversation
👋 Hello vincadrn, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 56 files 56 suites 5m 19s ⏱️ Results for commit c4ab139. ♻️ This comment has been updated with latest results. |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
Description of Change
Changed
arduino-esp32/libraries/BluetoothSerial/src/BluetoothSerial.cpp
Line 881 in b77b38e
delay(2)
instead to reduce the flush time.Tests scenarios
Tested the change on Windows. Found the affected file in
C:\Users\<local_machine_name>\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\BluetoothSerial\src
I used this for testing:
Result without the change (100 ms of delay)
Result with the change (2 ms of delay)
Related links
Closes #9868