• Send GET_CAL_PAGE to read the active calibration page of a segment.

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • mode: number

      Access mode (0x01 ECU access, 0x02 XCP access).

    • segment: number

      Logical data segment number.

    Returns Promise<number>

    Active logical data page number.

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