CircuitPython version
Adafruit CircuitPython 8.0.0-beta.0 on 2022-08-18; Adafruit Feather ESP32-S2 TFT with ESP32S2
Code/REPL
import time
import random
import wifi
mon = wifi.Monitor()
while True:
pkt = mon.packet()
if pkt:
print(f"{time.monotonic_ns()} {mon.lost()} {mon.queued():3} {pkt[wifi.Packet.LEN]:4} {mon.channel:2} {pkt[wifi.Packet.CH]:2} {pkt[wifi.Packet.RSSI]} {' '*10}", end="\r")
mon.channel = random.randrange(1, 14)
Behavior
Code works fine in 7.3.2, channel updates rapidly as the loop chooses a new random channel. In 8.0.0-beta.0, channel never changes.
Description
No response
Additional information
I don't think there have been any changes to the Monitor code, so probably something in the esp-idf update.
CircuitPython version
Code/REPL
Behavior
Code works fine in 7.3.2, channel updates rapidly as the loop chooses a new random channel. In 8.0.0-beta.0, channel never changes.
Description
No response
Additional information
I don't think there have been any changes to the Monitor code, so probably something in the esp-idf update.