Skip to content

Feather turns unresponsible loosing AP connection while UDP socket is open #81

@cike87

Description

@cike87

I wrote a simple sketch, that opens an udp port after a Connection to a WiFi AP was made.
As soon as the AP was turned off, feather crashed completly (execution of the sketch stopped and Arduino's monitoring window could not be closed. Reuploading wasn't possible either until resetting the feather.
I don't know if it's crucial, but I registered feather's disconnect callback to a simple Serial print Output function without any additional code.

The issue has been resolved by adding udp.stop() to feathers disconnect callback.

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