parameters: (
          self,
          serial: AsyncSerial,
          port: str,
          name: str,
          ack: str,
          retry_wait_time_seconds: float,
          error_keyword: str,
          alarm_keyword: str,
      )
docstring: Constructor
  
          Args:
              serial: AsyncSerial object
              port: url or port to connect to
              ack: the command response ack
              name: the connection name
              retry_wait_time_seconds: how long to wait between retries.
              error_keyword: string that will cause an ErrorResponse
                             exception when detected
              alarm_keyword: string that will cause an AlarmResponse
                             exception when detected
docstring_summary: Constructor
docstring_tokens: Constructor
function: def __init__(
          self,
          serial: AsyncSerial,
          port: str,
          name: str,
          ack: str,
          retry_wait_time_seconds: float,
          error_keyword: str,
          alarm_keyword: str,
      ) -> None:
          """
          Constructor
  
          Args:
              serial: AsyncSerial object
              port: url or port to connect to
              ack: the command response ack
              name: the connection name
              retry_wait_time_seconds: how long to wait between retries.
              error_keyword: string that will cause an ErrorResponse
                             exception when detected
              alarm_keyword: string that will cause an AlarmResponse
                             exception when detected
          """
          self._serial = serial
          self._port = port
          self._name = name
          self._ack = ack.encode()
          self._retry_wait_time_seconds = retry_wait_time_seconds
          self._send_data_lock = asyncio.Lock()
          self._error_keyword = error_keyword.lower()
          self._alarm_keyword = alarm_keyword.lower()
function_tokens: def __init__ ( self , serial : AsyncSerial , port : str , name : str , ack : str , retry_wait_time_seconds : float , error_keyword : str , alarm_keyword : str , ) -> None : self . _serial = serial self . _port = port self . _name = name self . _ack = ack . encode ( ) self . _retry_wait_time_seconds = retry_wait_time_seconds self . _send_data_lock = asyncio . Lock ( ) self . _error_keyword = error_keyword . lower ( ) self . _alarm_keyword = alarm_keyword . lower ( )