Ich bekomme es nicht hin den RSSI Wert der aktuellen Verbindung auszugeben? https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/wifi/esp_wifi.html?highlight=wifi_ap_record_t Hat jemand eine Idee???
1 | void rssi_task() { |
2 | |
3 | wifi_ap_record_t ap_info; |
4 | |
5 | while(1) { |
6 | |
7 | esp_err_t esp_wifi_sta_get_ap_info(&ap_info); |
8 | |
9 | printf("%d\n", ap_info.rssi); |
10 | |
11 | vTaskDelay(2000 / portTICK_PERIOD_MS); |
12 | |
13 | } |
14 | |
15 | |
16 | } |