I am trying to find a api that returns the RSSI. I found the following function:
Code: Select all
/**
* @brief Set vendor specific element callback
*
* @param cb callback function
* @param ctx reserved
*
* @return
* - ESP_OK: succeed
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by eps_wifi_init
*/
esp_err_t esp_wifi_set_vendor_ie_cb(esp_vendor_ie_cb_t cb, void *ctx);