wifi.scan and wifi.networks(a$) not working on ESP-C3

Here we can discuss about the problem found
Post Reply
efalken
Posts: 38
Joined: Tue Mar 02, 2021 3:47 pm
Has thanked: 17 times
Been thanked: 27 times

wifi.scan and wifi.networks(a$) not working on ESP-C3

Post by efalken »

The commands
wifi.scan and wifi.networks(a$)
don't work or show up with any results on the new ESP32 C3 -
FW: Annex32-C3 CAN USB 1.51.2 qio LFS
regards
Erhard
User avatar
cicciocb
Site Admin
Posts: 1989
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 426 times
Been thanked: 1329 times
Contact:

Re: wifi.scan and wifi.networks(a$) not working on ESP-C3

Post by cicciocb »

Something changed in the SDK.
Try this code

Code: [Local Link Removed for Guests]

while 1 = 1
  wlog  time$;"-------------------------"
  WIFI.SCAN
  While WIFI.NETWORKS(A$) < 0
  Wend
  wlog a$, chr$(13)
  pause 1000
wend
efalken
Posts: 38
Joined: Tue Mar 02, 2021 3:47 pm
Has thanked: 17 times
Been thanked: 27 times

Re: wifi.scan and wifi.networks(a$) not working on ESP-C3

Post by efalken »

this did the trick.
THANX :D
Post Reply