RSSI of connected STAs from AP not working
Howdy!
In the ESP8622 documentation (source linked below), it says that it is possible to get the RSSI of all connected STA on the AP, with network.status("stations"), however this function is not working.
Micropython version: 1.9.4-277-gab02abe9, ESP module ESP8266
Board: Adafruit Huzzah feather
The network object (ap_if) is sound, and devices can connect to the AP.
The command I am running is as follows:
ap_if.status('stations')
The error is as follows:
ValueError: Unknown status param
I have used the network.status("rssi") as a STA to get RSSI between STA and AP, and this confirmed works.
Any help is greatly appreciated.
http://docs.micropython.org/en/latest/esp8266/library/network.html#module-network
esp32/modnetwork: Added RSSI for WiFi STA
Basically inspired from Arduino-C and STA code from uPy. Return RSSI value (int) when connected. Otherwise return None. For non-STA throw exception. (copied from other function actually, I supposed it's handy to keep it).