Add BSSID to network.config() list
It is currently possible to see the list of available BSSIDs using network.scan(), and it is then possible to connect to a specific BSSID using network.connect(bssid=...), but it is not possible to see to which BSSID we are currently connected (while it is possible to see the SSID, using network.config('essid')).
A useful reason for this would be so that you can do network.connect(ssid=...) and then figure out which BSSID you are connected to.
I have been looking though the ESP32 port as that is the port that applies for me, but I can't figure out how to add this feature.
Would someone be able to help out here?
esp8266: add bssid keyword arg to wlan.connect() method
The bssid can now be forced using, eg,:
sta.connect(b'ssid', b'password', bssid=b'\x01\x02\x03\x04\x05\x06')
Note that you must specify the ssid as well.
See #2737 for a previous attempt and #2899 for related issue.