Function validateCustomResetStringSequence

  • Validate a sequence string based on the following format:

    Commands (e.g. R0) are defined by a code (R) and an argument (0).

    The commands are:

    D: setDTR - 1=True / 0=False

    R: setRTS - 1=True / 0=False

    W: Wait (time delay) - positive integer number (miliseconds)

    Parameters

    • seqStr: string

      Sequence string to validate

    Returns boolean

    Is the sequence string valid ?