code: async def connect(self, conn_id, connection_string):
          
  
          self._ensure_connection(conn_id, False)
  
          msg = dict(connection_string=connection_string)
          await self._send_command(OPERATIONS.CONNECT, msg, COMMANDS.ConnectResponse)
  
          self._setup_connection(conn_id, connection_string)
docs: Connect to a device.
  
          See :meth:`AbstractDeviceAdapter.connect`.