Fixed is_disconnected issue in CoreBluetooth client, Issue
@@ -81,8 +81,7 @@ class CentralManagerDelegate(NSObject):
@property
def isConnected(self) -> bool:
- # Validate this
- return self.connected_peripheral != None
+ return self._connection_state == CMDConnectionState.CONNECTED
async def is_ready(self):
"""is_ready allows an asynchronous way to wait and ensure the
