Skip to content

potential problem with command reception #9

Description

@DeepSOIC

stringComplete = true;

When the newline character arrives, a flag is set. However, reception of new characters is not stopped. In a case where several commands are sent in a row, this may cause some part of the next command end up interpreted as appended to this command (Serial has a built-in buffer, so if it is not drained regularly enough, several characters will appear to have arrived at the same time). This will break parsing of both commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions