ESP32-S3 : Unit of the noise_floor and rssi ?

Reventlov
Posts: 1
Joined: Wed Feb 01, 2023 3:09 pm

ESP32-S3 : Unit of the noise_floor and rssi ?

Postby Reventlov » Wed Feb 01, 2023 3:17 pm

Hello,

I'm using Rust and the esp-idf framework to read the RSSI and noise floor from the frames I receive in promiscuous mod, on an ESP32-S3-DevKitC-1.

The value I get are around 160 for the noise floor and generally between 170 and 220 for the RSSI (I'm interpreting these values as i32). The closest I am to the access point, the bigger the RSSI, which means it seems to be working, at least, a bit.

According to the doc in https://docs.espressif.com/projects/esp ... _rx_ctrl_t, the values should be in dBm. But 220 dBm is a bit too much for wireless access points, so, I'm having trouble understanding what are those values…

This is how I read the values in the callback:

Code: Select all

let noise_floor: i32 = pkg_data.rx_ctrl.noise_floor();
let rssi: i32 = pkg_data.rx_ctrl.rssi();

Who is online

Users browsing this forum: Google [Bot], StanInexeon and 127 guests