network configuration AbstractNIC.status() can't specify param for AP interface.

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: network configuration AbstractNIC.status() can't specify param for AP interface.

Post by jimmo » Mon Jun 17, 2019 5:53 am

The keys that you can pass to status() are both port-dependent and mode-dependent.

e.g. ESP8266 supports "rssi" only (and only in STA). ESP32 supports "stations" in AP mode, and "rssi" in STA mode.

Ref: ports/esp8266/modnetwork.c and ports/esp32/modnetwork.c

So I'm guessing you're on ESP8266? Not sure if there's a technical reason for why "stations" isn't supported there, sorry.

Post Reply