• Send SHORT_UPLOAD to read count elements from an explicit address in a single command.

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • count: number

      Number of elements to upload (integer 0..255, must fit in MAX_CTO).

    • address: number

      32-bit source memory address.

    • addressExtension: number = 0

      8-bit address extension byte. Defaults to 0.

    Returns Promise<number[]>

    Uploaded data bytes (with CAN/CAN-FD padding and AG alignment bytes removed).

    If count is out of range, the slave replies with ERR, or the request times out.