← index #3906Issue #12262
Off-topic · high · value 1.337
QUERY · ISSUE

RSSI of connected STAs from AP not working

openby treyes133opened 2018-06-29updated 2026-03-23
enhancementport-esp8266proposed-close

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

CANDIDATE · ISSUE

OSError: can't set AP config on ESP8266

closedby inovatoriusopened 2023-08-19updated 2023-08-21
bug

Good day!

Error is raised under these circumstances:

  1. Enable STA interface and connect to AP.
  2. Enable AP interface and set AP channel via config(channel=13)
  3. OSError: can't set AP config

Error is not raised when STA is not connected to AP. Currently, I do not have a shorter version of my code that can reliably reproduce this error.

Nonetheless, should this error be handled inside MicroPython firmware or user should take care of it via try/except?

MicroPython 1.20.0 on ESP2866.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied