Skip to content

Buffered Serial Port #39

Description

@Pumuckl007

Create a class that implements Serial port and Serial Listener. This class should pass along any data received once a new line character is read.

For the call BufferedSerialPort.onSerialData("Hello"); no listeners would be notified. For the subsequent call BufferedSerialPort.onSerialData(" World\n"); each listener would be notified with the message "Hello World\n" (include the newline character).

For the call BufferedSerialPort.onSerialData("Hello\nWorld\n"); the listeners should be notified twice. The first time with "Hello\n" and the second time with "World\n");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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