rename _disconnected_callback_client
Rename _disconnect_callback_client to _disconnected_callback_client in the CoreBluetooth backend to be consistent with the name of "disconnected_callback" that is used everywhere else.
@@ -85,7 +85,7 @@ class BleakClientCoreBluetooth(BaseBleakClient):
manager = self._device_info.manager().delegate()
await manager.connect_(self._device_info)
- manager.disconnected_callback = self._disconnect_callback_client
+ manager.disconnected_callback = self._disconnected_callback_client
# Now get services
await self.get_services()
@@ -117,7 +117,7 @@ class BleakClientCoreBluetooth(BaseBleakClient):
"""
self._disconnected_callback = callback
- def _disconnect_callback_client(self):
+ def _disconnected_callback_client(self):
"""
Callback for device disconnection. Bleak callback sends one argument as client. This is wrapper function
that gets called from the CentralManager and call actual disconnected_callback by sending client as argument
