Skip to content

UARTSerial enhancement request: flow control #4428

Closed
@RobMeades

Description

@RobMeades

Description

  • Type: Enhancement
  • Priority: Minor

Enhancement

#4119 introduced UARTSerial, which provides a very neat interface to buffered serial operations. One thing it is missing, though, is flow control. If UARTSerial receives data faster than it can get rid of it, characters are lost without notice. This is a particular issue when using the recv() method of the equally new ATCmdParser with the serial stream, since the sscanf()ing involved can take quite some time and could cause data loss, especially if there are out of band thingies to capture.

All that is required is for UARTSerial to expose the set_flow_control() bit of SerialBase, I think.

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