• Send GET_SEED to request a seed (or remaining part of a seed) for seed & key unlock.

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • mode: number

      0 = first part of seed, 1 = remaining part of seed.

    • resource: number

      Resource bit mask to unlock (0x01 CAL/PAG, 0x04 DAQ, 0x08 STIM, 0x10 PGM).

    Returns Promise<GetSeedResponse>

    Parsed GetSeedResponse containing the remaining seed length and seed bytes.

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