diff options
| author | Edvin <[email protected]> | 2025-11-10 17:25:13 +0100 |
|---|---|---|
| committer | Edvin <[email protected]> | 2025-11-10 17:25:13 +0100 |
| commit | 6b5b31308f473b0c6eac340ab4ca55bc73583598 (patch) | |
| tree | 266faed2a23d6b33c849aa4e6fd2968357208c2b /include/EZWIFI.h | |
| parent | b35ff50e613d212fed07b2d40d49847ae96ab38e (diff) | |
Added CSI collection and callback functions etc.
Diffstat (limited to 'include/EZWIFI.h')
| -rw-r--r-- | include/EZWIFI.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/EZWIFI.h b/include/EZWIFI.h index e2ccf9d..b744de6 100644 --- a/include/EZWIFI.h +++ b/include/EZWIFI.h @@ -5,6 +5,8 @@ #include "esp_log.h" #include "esp_mesh.h" #include "nvs_flash.h" +#include <pthread.h> +#include <stdio.h> #define SSID "CDIO" #define PASS "CDIO_PASS" @@ -31,9 +33,9 @@ static esp_netif_t *netif_sta = NULL; static EventGroupHandle_t s_wifi_event_group; -// void _print_csi_csv_header(); +bool is_wifi_connected(); -// void _wifi_csi_cb(void *ctx, wifi_csi_info_t *data); +void _wifi_csi_cb(void *ctx, wifi_csi_info_t *data); void wifi_event_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data); |
