def _on_connected(self, device):
        """Callback function called when a connected event has been received.
        It is executed in the baBLE working thread: should not be blocking.

        Args:
            device (dict): Information about the newly connected device
        """
        self._logger.debug("Device connected event: {}".format(device))

        self.connected = True
        self._connection_handle = device['connection_handle']
        self.device.connected = True
        self._audit('ClientConnected')
Callback function called when a connected event has been received.
        It is executed in the baBLE working thread: should not be blocking.

        Args:
            device (dict): Information about the newly connected device