We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is code in git:
micropython/examples/bluetooth/ble_simple_central.py
Lines 181 to 185 in 41ed01f
I used that code and my device never disconnected, I found problem in "if" condition and change it to following code, which works for me:
def disconnect(self): if self._conn_handle is None: return self._ble.gap_disconnect(self._conn_handle)): self._reset()
The text was updated successfully, but these errors were encountered:
examples/bluetooth: Fix check for _conn_handle being None.
e1f211c
Fixes issue #10755. Signed-off-by: Damien George <damien@micropython.org>
Thanks for the report. Fixed by e1f211c
Sorry, something went wrong.
f56d073
Fixes issue micropython#10755. Signed-off-by: Damien George <damien@micropython.org>
bef898b
No branches or pull requests
There is code in git:
micropython/examples/bluetooth/ble_simple_central.py
Lines 181 to 185 in 41ed01f
I used that code and my device never disconnected, I found problem in "if" condition and change it to following code, which works for me:
The text was updated successfully, but these errors were encountered: