Page 1 of 1

Get RSSI of received packet

Posted: Tue Aug 07, 2018 7:13 am
by Ankit Siddhapura
Hi,

To get RSSI of received packet from available AP, I do active scan. Is there any other way to get RSSI from beacon for probe request ?

I can't use promiscuous mode here. How can I get RSSI of node who sent packet, without doing scan?

Re: Get RSSI of received packet

Posted: Tue Aug 07, 2018 1:09 pm
by fly135

Code: Select all

int wifiGetRSSI()
{
  wifi_ap_record_t wifidata;
  if (esp_wifi_sta_get_ap_info(&wifidata)==0){
    return (wifidata.rssi);
  }
  return 0;
}

Re: Get RSSI of received packet

Posted: Wed Aug 08, 2018 4:50 am
by Ankit Siddhapura
Thank you for reply! :)

I am aware of this method, Need to do active or passive scan to get ap records.

if scan is frequently happens, quite blocking other running task. So I am looking for alternate solution for the same.

Re: Get RSSI of received packet

Posted: Wed Aug 08, 2018 11:09 am
by Ritesh
Hi Espressif System Developers,

Would you please help us to get that solution in form of API to get RSSI of received packet?