ScanNetworksAdvanced limited to listing ten networks

I have been playing around with the WIFININA examples and noticed that ScanNetworksAdvanced will only list the first 10 networks that it sees and in order of the strongest signals.

I can add a network with a strong signal (by turning on an access point programmed ESP8266 for example) and it will show up on the list, but the list remains at 10. That is, it has dropped listing a weaker network that had previously been detected and listed.

Even if I change the value of WL_NETWORKS_LIST_MAXNUM (in wl_definitions.h) from 10 to 15, I will still see only the top 10.

How can I see every detectable network detected?

1 Like