Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hardik-prajapati
Copy link

Added disconnected callback variable in CentralManagerDelegate class, which being set by the set_disconencted_callback function.

CentralManagerDelegate calls the callback function without argument, so I added wrapper function disconnected_callback_client in client that pads the client as argument and calls actual disconnection callback.

Issue #184

@hbldh
Copy link
Owner

hbldh commented May 15, 2020

Checked this and it seems to work fine. Thank you!

@hbldh hbldh merged commit 977e1ca into hbldh:develop May 15, 2020
@hbldh hbldh self-assigned this May 15, 2020
@hbldh hbldh added Backend: Core Bluetooth Issues and PRs relating to the Core Bluetooth backend enhancement New feature or request labels May 15, 2020
@hbldh hbldh mentioned this pull request May 15, 2020
hbldh added a commit that referenced this pull request May 15, 2020
Version 0.6.2

Better cleanup of Bluez notifications (merges #154 and fixes #130 )
Fix for read_gatt_char in Core Bluetooth (fixes #177)
Fix for is_disconnected in Core Bluetooth (merges #187 and fixes #185)
Added disconnection_callback functionality for Core Bluetooth (merges #186 and fixes #184)
Documentation fixes
Added requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend: Core Bluetooth Issues and PRs relating to the Core Bluetooth backend enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants