• Send CONNECT to the slave and negotiate its capabilities (byte order, address granularity, MAX_CTO, MAX_DTO, and available resources).

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • mode: number = 0

      Connection mode (0 = normal, 1 = user-defined). Defaults to 0.

    Returns Promise<ConnectResponse>

    Parsed ConnectResponse with slave properties.

    If the handle is unknown, the slave replies with ERR, or the request times out.