web-serial-rxjs API Documentation
    Preparing search index...

    Interface SerialCommandOptions

    interface SerialCommandOptions {
        lineEnding?: string;
        prompt?: string | RegExp;
        timeout?: number;
    }
    Index

    Properties

    lineEnding?: string

    Line ending appended to command payload.

    '\r\n'
    
    prompt?: string | RegExp

    Prompt matcher used to detect command completion.

    '$ '
    
    timeout?: number

    Timeout in milliseconds while waiting for prompt.

    10000