Skip to content

UARTServer does not handle writes of >20 bytes #10

Closed
@dhalbert

Description

@dhalbert

UARTServer.write just writes a the TX Characteristic value directly. If the size of the byte buffer is too large (> 20 bytes), the write will fail. In addition, writing lots of shorter byte buffers will fail because we aren't waiting for the ack. It should do the write in a buffered way to allow longer buffers to be written.

Thanks to @dastels for uncovering this.

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