I have created one sample example in which one ESP32 based board is started into AP mode while another board is started into STA mode and transfered some packets between each other.
I want to calculate RSSI of total received packets on receiver side and for that I have checked into SDK but not found proper API for that. I just found following code to get AP RSSI.
Code: Select all
wifi_ap_record_t wifidata;
if (esp_wifi_sta_get_ap_info(&wifidata)==0)
{
printf("************** rssi:%d\r\n", wifidata.rssi);
}
Let me correct if I am wrong.