Skip to content

esp32_s2 pinging too fast crashes CircuitPython #6762

@bill88t

Description

@bill88t

CircuitPython version

Adafruit CircuitPython 7.3.2-dirty on 2022-07-30; Waveshare ESP32-S2-Pico with ESP32S2

Code/REPL

import wifi
from ipaddress import ip_address
wifi.radio.connect(...) # insert your newclear launch codes here
while True:
    wifi.radio.ping(ip_address("1.1.1.1"))

Behavior

image

Description

I was implementing the ping command for ljinux using wifi.radio.ping.
But I forgot to add a time.sleep in the while True so it spammed a morbillion pings.
Did do (in and outside of ljinux) it 3 times with 100% success rate. (see Code/REPL)
It may take a few seconds till it crashes.

About the dirty build: #6672, no official build yet.
It does not contain any further changes.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions