I'm trying to read RSSI from 4 different APs located within 100m from each other. I've looked in a lot of places and have looked through some of the .cpp in library and couldn't find anything to help.
I currently use WiFi.RSSI("some network integer");
Here's the code that I'm messing with right now. The only problem that I'm having is, I'm detecting networks not individual APs. I have 4 APs running on the same network if that makes sense.
#include <ESP8266WiFi.h>
const char* SSID = "";
// Return RSSI or 0 if target SSID not found
int32_t getRSSI(const char* target_ssid) {
byte available_networks = WiFi.scanNetworks();
Okay, so I found something. AT+CWLAP function does exactly what I want. Now the problem for me is (I'm a beginner... if you can't tell) how do I implement this in D1 Mini? And is it possible to extract the data coming from it? I specifically want to extract RSSI, SSID, and MAC address. Thanks for all your help!