Rolling 20220208

This commit is contained in:
jomjol
2022-02-08 19:36:25 +01:00
parent ac3409f644
commit 45a71981c8
9 changed files with 26 additions and 6 deletions

View File

@@ -343,6 +343,12 @@ void wifi_init_sta(const char *_ssid, const char *_password, const char *_hostna
*/
}
int get_WIFI_RSSI()
{
wifi_ap_record_t ap;
esp_wifi_sta_get_ap_info(&ap);
return ap.rssi;
}
void wifi_init_sta(const char *_ssid, const char *_password, const char *_hostname)
{