What scale is WiFi.RSSI() in? #1927
-
I'm trying to get from this scale to a dBm value as observed by the Pico for the currently connected access point while in station mode. I am trying to work out what the scale factor is between the uint8 that gets handed back, and the scale I would expect wifi signal strength to be measured in. The comments in the cyw43 driver imply this is some value just getting returned from the firmware on the chip, but without further context its not clear what the scale that's using either. Any advice is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That's a good question and not documented anywhere that I could find. I assumed it was RSSI in dBm already, since it gets less negative the more powerful the WiFi signal, and the scale seemed right (minimum RSSI of ~-75, and RSSI of ~-20 for right next to my AP). You might as at the driver's author's repo and see if he has an answer. Alternatively, I believe the same chip is supported by the Linux CYW driver, so you could take a look-see there. |
Beta Was this translation helpful? Give feedback.
That's a good question and not documented anywhere that I could find. I assumed it was RSSI in dBm already, since it gets less negative the more powerful the WiFi signal, and the scale seemed right (minimum RSSI of ~-75, and RSSI of ~-20 for right next to my AP). You might as at the driver's author's repo and see if he has an answer.
Alternatively, I believe the same chip is supported by the Linux CYW driver, so you could take a look-see there.