Skip to content

Issue in the disconnection event #30

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

Closed
cparata opened this issue Sep 20, 2019 · 1 comment
Closed

Issue in the disconnection event #30

cparata opened this issue Sep 20, 2019 · 1 comment

Comments

@cparata
Copy link
Contributor

cparata commented Sep 20, 2019

Hi @sandeepmistry ,
I found a bug in the management of the disconnection event. Basically, the prototype of the "removeConnection" API has bad parameters that do not match the type of the relative variables. In particular, with the current code, the handle is truncated from uint16_t to uint8_t and it causes bad handle values, so I'm not able to get the disconnection notifications on my side.
You can find the fix for this issue in the STM32duinoBLE fork:

stm32duino#4

Best Regards,
Carlo

@sandeepmistry
Copy link
Contributor

Hi @cparata,

Many thanks for letting us know, I've cherry picked your commit into this repo: d6fba6a

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

No branches or pull requests

2 participants