Skip to content

fix: remove_bond request should be handled after disconnect#571

Merged
philips77 merged 1 commit intonordicsemi:mainfrom
kkkbird:fix-remove_bond_callback
Aug 27, 2024
Merged

fix: remove_bond request should be handled after disconnect#571
philips77 merged 1 commit intonordicsemi:mainfrom
kkkbird:fix-remove_bond_callback

Conversation

@kkkbird
Copy link
Copy Markdown
Contributor

@kkkbird kkkbird commented Jul 17, 2024

this PR is about to fix #363 case 1, this.request will reset to null in call of nextRequest(false) below and callback for removeBond won't be invoked correctly even though bond status change signal is received later. how ever it may introduce unintended side effects as noted in the comment above. Please help to review it.

https://github.com/NordicSemiconductor/Android-BLE-Library/blob/bfcfdf9f5916ac2b06c9de6ed335b11dc53301c2/ble/src/main/java/no/nordicsemi/android/ble/BleManagerHandler.java#L2200-L2212

@philips77 philips77 merged commit 92494c5 into nordicsemi:main Aug 27, 2024
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.

cannot receive connection state change after removeBond() sometimes

2 participants