def METHOD_NAME(self, port_name: str, serial_port: Type[serial.Serial]) -> None:
    """Initialize a serial connection to a usb device that uses the binary messaging protocol."""
    self._port_name = port_name
    self._port = serial_port
    self._connected = self._port.is_open