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

Increase BLE operation timeout. #2371

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Increase BLE operation timeout. #2371

merged 1 commit into from
Oct 27, 2021

Conversation

XuGuohui
Copy link
Member

@XuGuohui XuGuohui commented Oct 26, 2021

Problem

BLE device may assert due to timeout when it is connecting/discovering services while the peer device just enters the sleep mode.

Solution

Increase the BLE operation timeout so that BLE events can be handled properly before assertion.

Example App

N/A

References

https://community.particle.io/t/argon-crashing-if-ble-client-deepsleeps/60840/4


Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

@XuGuohui XuGuohui added bug needs review ble Bluetooth Low Energy labels Oct 26, 2021
@XuGuohui XuGuohui added this to the 3.2.0 milestone Oct 26, 2021
@XuGuohui XuGuohui added ready to merge PR has been reviewed and tested and removed needs review labels Oct 27, 2021
@XuGuohui XuGuohui merged commit 45ebde0 into develop Oct 27, 2021
@XuGuohui XuGuohui deleted the fix/ble_timeout/ch83983 branch October 27, 2021 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ble Bluetooth Low Energy bug ready to merge PR has been reviewed and tested
Projects
None yet
2 participants