can't figure out how to get constantly updated RSSI info

All,

I am trying to build a WiFi finder using the ESP8266.

I am building it out to get a list of nearby Access Points and then allow to select a particular AP and provide constantly updated RSSI info. Due to some of the APs looking to 'find' are not mine I do not know the password to them. I am not wanting to connect to the AP just find it using the relative signal strength.

The problem I have is getting the RSSI info to constantly update without connecting to the AP

Here is what I have that I am unable to get working the way I am needing

#include "ESP8266WiFi.h"

void setup() {
  // put your setup code here, to run once:


  Serial.begin(115200);
  WiFi.mode(WIFI_STA);
  WiFi.disconnect();
  delay(100);
}

void loop() {
  // put your main code here, to run repeatedly:
  int i = 1;
  WiFi.scanNetworks(false, true);
  String ssid;
  uint8_t encryptionType;
  int32_t RSSI;
  uint8_t* BSSID;
  int32_t channel;
  bool isHidden;
      
  WiFi.getNetworkInfo(i, ssid, encryptionType, RSSI, BSSID, channel, isHidden);
  Serial.printf("%d: %s, Ch:%d (%ddBm) %s %s %s\n", i + 1, ssid.c_str(), channel, RSSI, WiFi.BSSIDstr(i).c_str(), encryptionType == ENC_TYPE_NONE ? "open" : "encrypted", isHidden ? "hidden" : "");

  while(1){
    long t5 = WiFi.RSSI(i);
    Serial.println(t5);
    delay(10);
    yield();
  }
}

I have other elements I am wrapping around this, however I am looking to how I can get the RSSI to update as I move the ESP8266 around.

The only way I have been able to successfully accomplish this is by connecting to the AP.

I have tried incorporating the wifi scan network into the loop, however quite often the order of the networks changed order which is problematic.

Open to any suggestions. Thank you for your assistance