adafruit / Adafruit_WICED_Arduino

Adafruit WICED Feather Arduino BSP
https://www.adafruit.com/products/3056
27 stars 19 forks source link

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

Open cike87 opened 6 years ago

cike87 commented 6 years ago

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.