Get RSSI of received packet

Ankit Siddhapura
Posts: 21
Joined: Sat Jun 30, 2018 1:04 pm

Get RSSI of received packet

Postby Ankit Siddhapura » Tue Aug 07, 2018 7:13 am

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?

User avatar
fly135
Posts: 606
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: Get RSSI of received packet

Postby fly135 » Tue Aug 07, 2018 1:09 pm

Code: Select all

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

Ankit Siddhapura
Posts: 21
Joined: Sat Jun 30, 2018 1:04 pm

Re: Get RSSI of received packet

Postby Ankit Siddhapura » Wed Aug 08, 2018 4:50 am

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.

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Get RSSI of received packet

Postby Ritesh » Wed Aug 08, 2018 11:09 am

Hi Espressif System Developers,

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

Who is online

Users browsing this forum: No registered users and 88 guests