Skip to content

Conversation

Marcus10110
Copy link
Contributor

@Marcus10110 Marcus10110 commented Aug 28, 2021

Summary

Fix this issue: #5573

To reproduce:

  1. Run any sample code that starts a BLE server, and does not call setCallbacks.
  2. Connect to the device using the "LightBlue" app on iOS.
  3. Observe crash shown in the issue linked above.

Impact

I'm not sure how often the MTU is updated, but the bug should cause a crash in any BLEServer instance, where setCallbacks was not called, if the MTU changes.

Note

I haven't actually built and ran this locally, because I haven't had time to setup for local development. The change is tiny, and very simple, but it's probably always worth testing before merging.

@CLAassistant
Copy link

CLAassistant commented Aug 28, 2021

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

3 participants