• Send MODIFY_BITS to perform an atomic read-modify-write on a 32-bit word at the current MTA.

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • shiftValue: number

      Bit shift count (0..31).

    • andMask: number

      16-bit AND mask (shifted left by shiftValue).

    • xorMask: number

      16-bit XOR mask (shifted left by shiftValue).

    Returns Promise<number[]>

    Raw positive response payload bytes.

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