code: def add_connection(self, connection_id, internal_id, context):
          
          # Make sure we are not reusing an id that is currently connected to something
          if self._get_connection_state(connection_id) != self.Disconnected:
              return
          if self._get_connection_state(internal_id) != self.Disconnected:
              return
  
          conn_data = {
              'state': self.Idle,
              'microstate': None,
              'connection_id': connection_id,
              'internal_id': internal_id,
              'context': context
          }
  
          self._connections[connection_id] = conn_data
          self._int_connections[internal_id] = conn_data
docs: Add an already created connection. Used to register devices connected before starting the device adapter.
          
          Args:
              connection_id (int): The external connection id
              internal_id (string): An internal identifier for the connection
              context (dict): Additional information to associate with this context