Skip to content

OTA text error messages lost due to multiple USB packets #8660

Closed
@earlephilhower

Description

@earlephilhower

Ref: earlephilhower/arduino-pico#787

Basically, OTA::printError is calling printf() multiple times, causing multiple UDP packets to be sent to espota.py.

espota will throw out anything after the first packer with a E (i.e. ERROR) meaning the text messages are lost.

Simple fix is to concat the errors into a String prior to sending, then use a single out.println() call.

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