Skip to content

Conversation

h2zero
Copy link
Owner

@h2zero h2zero commented Feb 25, 2025

No description provided.

gkoh and others added 11 commits January 26, 2025 18:41
Avoid discovery of descriptors if there are no handles remaining.

This reinstates the check removed in 853241b.
* Renamed desc_filter_t to NimBLEDescriptorFilter
* Added NimBLERemoteDescriptor pointer to NimBLEDescriptorFilter
* retrieveDescriptors changed to take NimBLEDescriptorFilter pointer
* General cleanup
* Update the descriptor filter when trying again with different UUID sizes.
* Add missing definition for default device callbacks (which prevents calling the `setDeviceCallbacks` method)
* Ensure `m_pDeviceCallbacks` inital value is set to `&defaultDeviceCallbacks` to prevent crash when pairing table is full

After #295 any time the pairing table fills up, the device will crash on the next pairing attempt.
@h2zero h2zero closed this Feb 25, 2025
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.

4 participants