0 = The number of the network you want the strength from (0 = top of your network list).
BUT.... This doesn't return the signal strength of another ESP32 in the ESP_NOW link.
Still working on that.
I suspect I need to set the other ESP32 to be both ESP_NOW and as an AP point (if possible).
Then maybe I can obtain the value of the signal strength from that WifI connection.
Not sure if you need to keep calling 'int8_t scanResults = WiFi.scanNetworks();' to get a new value.
Hope not, because that actually disconnects the WifI briefly.
It only returns the last received signal value when you call int8_t scanResults = WiFi.scanNetworks(0);
You have to keep requesting that command to get updated signal data and that disconnects the ESP link briefly which is very annoying.
Also, the '0' is the strongest network. If there is a stronger network closer to the ESP32 than your other ESP32, then it will read the strength of that instead.
I am going to add a search loop to look for the required SSID and only read that signal strength.