jonathanmuller / esp32-gather-channel-state-information-csi- Goto Github PK
View Code? Open in Web Editor NEWGet CSI frames (Channel State Information) with the use of an ESP32 WiFi chip
License: Apache License 2.0
Get CSI frames (Channel State Information) with the use of an ESP32 WiFi chip
License: Apache License 2.0
I can't compile with ESP-IDF v4.0 and higher.
From CSI dataset we can see amplitude and phase for each frame. By those amplitude and phase frame what we can understand??
it gives this error when cloning, when i checked the promiscuous folder, it does not have a main folder. I tried downloading the zip file. when extracting it, that also gives the following error:
! C:\Users\Tremito\Downloads\Compressed\ESP32-gather-channel-state-information-CSI--master_2.zip: Cannot create folder C:\Users\Tremito\AppData\Local\Temp\Rar$DRa17352.22929\ESP32-gather-channel-state-information-CSI--master\gather_csi_in_promiscuous\build\include\config\smp\slave\con\params
The system cannot find the path specified.
! C:\Users\Tremito\Downloads\Compressed\ESP32-gather-channel-state-information-CSI--master_2.zip: Cannot create folder C:\Users\Tremito\AppData\Local\Temp\Rar$DRa17352.22929\ESP32-gather-channel-state-information-CSI--master\gather_csi_in_promiscuous\build\include\config\smp\slave\con\params\upd
The system cannot find the path specified.
! C:\Users\Tremito\Downloads\Compressed\ESP32-gather-channel-state-information-CSI--master_2.zip: Cannot create C:\Users\Tremito\AppData\Local\Temp\Rar$DRa17352.22929\ESP32-gather-channel-state-information-CSI--master\gather_csi_in_promiscuous\build\include\config\smp\slave\con\params\upd\enable.h
The system cannot find the path specified.
! C:\Users\Tremito\Downloads\Compressed\ESP32-gather-channel-state-information-CSI--master_2.zip: Cannot create folder C:\Users\Tremito\AppData\Local\Temp\Rar$DRa17352.22929\ESP32-gather-channel-state-information-CSI--master\request_csi_frames\build\include\config\smp\slave\con\params
The system cannot find the path specified.
! C:\Users\Tremito\Downloads\Compressed\ESP32-gather-channel-state-information-CSI--master_2.zip: Cannot create folder C:\Users\Tremito\AppData\Local\Temp\Rar$DRa17352.22929\ESP32-gather-channel-state-information-CSI--master\request_csi_frames\build\include\config\smp\slave\con\params\upd
The system cannot find the path specified.
! C:\Users\Tremito\Downloads\Compressed\ESP32-gather-channel-state-information-CSI--master_2.zip: Cannot create C:\Users\Tremito\AppData\Local\Temp\Rar$DRa17352.22929\ESP32-gather-channel-state-information-CSI--master\request_csi_frames\build\include\config\smp\slave\con\params\upd\enable.h
The system cannot find the path specified.
can someone help me with this?
Hi there, I'm trying to get CSI data from my ESP32 for a university project.
Its my first time using ESP-IDF, so please bare with me .
When compiling your create_STA_AND_AP/AP folder,
I'm getting the following erros from the event handler:
C:\Users\melvi\Desktop\esp-idf\examples\csi>idf.py build Note: You are using Python 3.6.4. Python 3 support is new, please report any problems you encounter. Search for 'Setting the Python Interpreter' in the ESP-IDF docs if you want to use Python 2.7. Checking Python dependencies... Python requirements from C:\Users\melvi\Desktop\esp-idf\requirements.txt are satisfied. Running ninja in directory C:\Users\melvi\Desktop\esp-idf\examples\csi\build Executing "ninja all"... [1/10] Performing build step for 'bootloader' ninja: no work to do. [2/8] Building C object esp-idf/main/CMakeFiles/idf_component_main.dir/main.c.obj FAILED: esp-idf/main/CMakeFiles/idf_component_main.dir/main.c.obj ccache C:\Users\melvi\.espressif\tools\xtensa-esp32-elf\1.22.0-80-g6c4433a5-5.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DGCC_NOT_5_2_0=0 -DHAVE_CONFIG_H -DIDF_VER=\"v3.3\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -Iconfig -I../../../components/app_trace/include -I../../../components/app_update/include -I../../../components/spi_flash/include -I../../../components/bootloader_support/include -I../../../components/asio/asio/asio/include -I../../../components/asio/port/include -I../../../components/lwip/include/apps -I../../../components/lwip/lwip/src/include -I../../../components/lwip/port/esp32/include -I../../../components/lwip/port/esp32/include/arch -I../../../components/lwip/include_compat -I../../../components/vfs/include -I../../../components/coap/port/include -I../../../components/coap/port/include/coap -I../../../components/coap/libcoap/include -I../../../components/coap/libcoap/include/coap -I../../../components/console -I../../../components/driver/include -I../../../components/esp_ringbuf/include -I../../../components/efuse/include -I../../../components/efuse/esp32/include -I../../../components/esp-tls -I../../../components/mbedtls/port/include -I../../../components/mbedtls/mbedtls/include -I../../../components/esp32/include -I../../../components/tcpip_adapter/include -I../../../components/esp_event/include -I../../../components/log/include -I../../../components/newlib/platform_include -I../../../components/newlib/include -I../../../components/freertos/include -I../../../components/heap/include -I../../../components/soc/esp32/include -I../../../components/soc/include -I../../../components/esp_adc_cal/include -I../../../components/esp_http_client/include -I../../../components/nghttp/port/include -I../../../components/nghttp/nghttp2/lib/includes -I../../../components/esp_http_server/include -I../../../components/esp_https_ota/include -I../../../components/esp_https_server/include -I../../../components/openssl/include -I../../../components/espcoredump/include -I../../../components/ethernet/include -I../../../components/expat/expat/expat/lib -I../../../components/expat/port/include -I../../../components/fatfs/src -I../../../components/wear_levelling/include -I../../../components/sdmmc/include -I../../../components/freemodbus/modbus/include -I../../../components/freemodbus/modbus_controller -I../../../components/idf_test/include -I../../../components/jsmn/include -I../../../components/json/cJSON -I../../../components/libsodium/libsodium/src/libsodium/include -I../../../components/libsodium/port_include -I../../../components/mdns/include -I../../../components/micro-ecc/micro-ecc -I../../../components/mqtt/esp-mqtt/include -I../../../components/tcp_transport/include -I../../../components/nvs_flash/include -I../../../components/protobuf-c/protobuf-c -I../../../components/protocomm/include/common -I../../../components/protocomm/include/security -I../../../components/protocomm/include/transports -I../../../components/pthread/include -I../../../components/smartconfig_ack/include -I../../../components/spiffs/include -I../../../components/ulp/include -I../../../components/unity/include -I../../../components/unity/unity/src -I../../../components/wifi_provisioning/include -I../../../components/wpa_supplicant/include -I../../../components/wpa_supplicant/port/include -I../../../components/xtensa-debug-module/include -mlongcalls -mlongcalls -Og -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -nostdlib -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -std=gnu99 -Wno-old-style-declaration -MD -MT esp-idf/main/CMakeFiles/idf_component_main.dir/main.c.obj -MF esp-idf\main\CMakeFiles\idf_component_main.dir\main.c.obj.d -o esp-idf/main/CMakeFiles/idf_component_main.dir/main.c.obj -c ../main/main.c ../main/main.c: In function 'wifi_event_handler': ../main/main.c:31:21: error: 'WIFI_EVENT_AP_STACONNECTED' undeclared (first use in this function) if (event_id == WIFI_EVENT_AP_STACONNECTED) ^ ../main/main.c:31:21: note: each undeclared identifier is reported only once for each function it appears in ../main/main.c:34:9: error: unknown type name 'wifi_event_ap_staconnected_t' wifi_event_ap_staconnected_t* event = (wifi_event_ap_staconnected_t*) event_data; ^ ../main/main.c:34:48: error: 'wifi_event_ap_staconnected_t' undeclared (first use in this function) wifi_event_ap_staconnected_t* event = (wifi_event_ap_staconnected_t*) event_data; ^ ../main/main.c:34:77: error: expected expression before ')' token wifi_event_ap_staconnected_t* event = (wifi_event_ap_staconnected_t*) event_data; ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:35:82: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:299:137: note: in definition of macro 'ESP_LOG_LEVEL' if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:35:82: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:300:137: note: in definition of macro 'ESP_LOG_LEVEL' else if (level==ESP_LOG_WARN ) { esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:35:82: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:301:137: note: in definition of macro 'ESP_LOG_LEVEL' else if (level==ESP_LOG_DEBUG ) { esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:35:82: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:302:137: note: in definition of macro 'ESP_LOG_LEVEL' else if (level==ESP_LOG_VERBOSE ) { esp_log_write(ESP_LOG_VERBOSE, tag, LOG_FORMAT(V, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:35:69: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:35:82: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:303:137: note: in definition of macro 'ESP_LOG_LEVEL' else { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:35:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" join, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:37:23: error: 'WIFI_EVENT_AP_STADISCONNECTED' undeclared (first use in this function) else if (event_id == WIFI_EVENT_AP_STADISCONNECTED) ^ ../main/main.c:40:9: error: unknown type name 'wifi_event_ap_stadisconnected_t' wifi_event_ap_stadisconnected_t* event = (wifi_event_ap_stadisconnected_t*) event_data; ^ ../main/main.c:40:51: error: 'wifi_event_ap_stadisconnected_t' undeclared (first use in this function) wifi_event_ap_stadisconnected_t* event = (wifi_event_ap_stadisconnected_t*) event_data; ^ ../main/main.c:40:83: error: expected expression before ')' token wifi_event_ap_stadisconnected_t* event = (wifi_event_ap_stadisconnected_t*) event_data; ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:41:83: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:299:137: note: in definition of macro 'ESP_LOG_LEVEL' if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:41:83: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:300:137: note: in definition of macro 'ESP_LOG_LEVEL' else if (level==ESP_LOG_WARN ) { esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:41:83: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:301:137: note: in definition of macro 'ESP_LOG_LEVEL' else if (level==ESP_LOG_DEBUG ) { esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:41:83: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:302:137: note: in definition of macro 'ESP_LOG_LEVEL' else if (level==ESP_LOG_VERBOSE ) { esp_log_write(ESP_LOG_VERBOSE, tag, LOG_FORMAT(V, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../../../components/freertos/include/freertos/FreeRTOSConfig.h:120:0, from ../../../components/freertos/include/freertos/FreeRTOS.h:99, from ../main/main.c:2: ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:21: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:29: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:37: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:45: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:53: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../main/main.c:41:70: error: request for member 'mac' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/esp32/include/rom/ets_sys.h:623:61: note: in definition of macro 'MAC2STR' #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] ^ ../../../components/log/include/esp_log.h:311:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../main/main.c:11:0: ../main/main.c:41:83: error: request for member 'aid' in something not a structure or union ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ ../../../components/log/include/esp_log.h:303:137: note: in definition of macro 'ESP_LOG_LEVEL' else { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ ^ ../../../components/log/include/esp_log.h:267:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) ^ ../main/main.c:41:9: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "station "MACSTR" leave, AID=%d", MAC2STR(event->mac), event->aid); ^ In file included from ../../../components/esp32/include/esp_timer.h:44:0, from ../../../components/freertos/include/freertos/portmacro.h:82, from ../../../components/freertos/include/freertos/portable.h:94, from ../../../components/freertos/include/freertos/FreeRTOS.h:105, from ../main/main.c:2: ../main/main.c: In function 'wifi_init_softap': ../main/main.c:151:48: error: 'WIFI_EVENT' undeclared (first use in this function) ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &wifi_event_handler, NULL)); ^ ../../../components/esp32/include/esp_err.h:117:31: note: in definition of macro 'ESP_ERROR_CHECK' esp_err_t __err_rc = (x); \ ^ ninja: build stopped: subcommand failed. ninja failed with exit code 1
Kind regards
Describe the bug
The controller crashes when trying to change the channel in promiscuous mode the first time, CSI for a few frames gets dumped.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The controller changes to a different channel and dumps CSI for that one.
Additional info
Running version: ESP-IDF v4.3-dev-2940-g6e776946d
There seems to be a bug regarding this issue: espressif/esp-idf#4706 , but that should be fixed in v4.3.
Log
I (2579) wifi:wifi driver task: 3ffb85d4, prio:23, stack:6656, core=1
I (2579) system_api: Base MAC address is not set
I (2579) system_api: read default base MAC address from EFUSE
I (2599) wifi:wifi firmware version: 1549d21
I (2599) wifi:wifi certification version: v7.0
I (2599) wifi:config NVS flash: enabled
I (2599) wifi:config nano formating: disabled
I (2599) wifi:Init data frame dynamic rx buffer num: 128
I (2599) wifi:Init management frame dynamic rx buffer num: 128
I (2599) wifi:Init management short buffer num: 32
I (2599) wifi:Init dynamic tx buffer num: 128
I (2599) wifi:Init static rx buffer size: 2212
I (2599) wifi:Init static rx buffer num: 25
I (2599) wifi:Init dynamic rx buffer num: 128
I (2599) wifi_init: rx ba win: 32
I (2599) wifi_init: tcpip mbox: 32
I (2599) wifi_init: udp mbox: 6
I (2599) wifi_init: tcp mbox: 6
I (2609) wifi_init: tcp tx win: 5744
I (2609) wifi_init: tcp rx win: 5744
I (2609) wifi_init: tcp mss: 1436
I (2609) wifi_init: WiFi IRAM OP enabled
I (2609) wifi_init: WiFi RX IRAM OP enabled
I (2609) phy_init: phy_version 4660,0162888,Dec 23 2020
I (2709) wifi:ic_enable_sniffer
Watch for 'filter_promi_ctrl_field', we can possibly get RAW CSI frames if we disable the error!
<CSI><addr>4E:1C:F6:99:7C:8F</addr><len>256</len><inv>1</inv><rssi>-88</rssi><mcs>4</mcs><cwb>0</cwb><stbc>0</stbc><sgi>0</sgi><chl>1</chl><sec_chl>1</sec_chl><t>301201</t><ant>0</ant>52 20 5 41 0 0 0 0 0 0 ff fc fc f2 fc f5 ff f5 0 f0 0 f1 0 f2 1 f0 1 ef 0 f0 1 f2 1 f4 ff f4 ff f5 1 f6 4 f4 4 f4 3 f7 1 fa fe f9 fe f7 fd f7 fd f7 fe f9 fd fc fd fc fc fb fe fd fe fc fb fc f8 fc f9 ff fc fd f9 f6 f6 f5 f5 f8 f4 f8 f3 f7 f2 f7 f1 f8 f1 f7 ee f7 ef f4 ef f1 ed f4 ec f5 eb f4 ed f3 f0 f3 ef f1 ed f0 ee f0 f0 ef f2 ef fc fb 0 0 0 0 0 0 0 0 ff ff ff ff ff ff fd fb f4 e3 fa ee fb ea fc e5 0 e3 3 e1 2 e0 ff e1 2 e5 5 eb 5 ec 1 e7 fb e7 fb ea fd ed fe ef 0 ef 2 ee 0 f1 fc f4 fc f3 fb f1 f9 ee f8 ef fa f1 f8 ef f6 f2 f8 f8 fc fb f6 f1 f3 f3 f2 f8 f3 fc f4 fc f2 f8 ef f4 eb f4 e5 f4 e4 f2 e4 f2 e4 f3 e3 f4 e2 f3 e4 ec e1 e7 da e9 da ea dc e9 dd ea e0 e8 e1 e3 de e1 dd e0 de de e3 dd e3 de db e6 fa fd ff ff ff ff </CSI>
Switching channel to 1 with bandwith [None/above/bellow]=0
W (3709) wifi:STA is scanning or connecting, or AP has connected with external STAs, cannot set channel
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4011e945
0x4011e945: _esp_error_check_failed at /home/geosearchef/esp/esp-idf/components/esp_common/src/esp_err.c:41
file: "/home/geosearchef/csi/csi-repo/experiments/esp32-csi/gather_csi_in_promiscuous/main/csi.c" line 297
func: app_main
expression: ret
abort() was called at PC 0x4011e94b on core 0
0x4011e94b: _esp_error_check_failed at /home/geosearchef/esp/esp-idf/components/esp_common/src/esp_err.c:42
I can send null data packets successfully, but filtering ACK packets doesn't seem to work. Did you make any progress?
I just came into the repo and try to use "/create_STA_and_AP" to obtain the CSI data since I saw the example seems so good and contains no null in all 64 subcarriers at all.
(from the "/plot_csi_data/amplitude.png" in the repo)
I wish I could have the CSI as good as the example . Then I ran "/create_STA_and_AP" on my 2 ESP32s as AP and STA.
And I got this.
(with filtered MAC and FIXED channel (8) )
Which seems different from the example.
If there are more secrets to obtain data as precise as the example. Please share .
Thank you in advance.
PS: I wanna get the perfect CSI for mapping to frequency domain to do the IFFT to turn it into Power delay profile.
If there is any suggestion on this , please share.
Hi,
Do you think it's possible to get CSI samples with a constant sampling frequency from ESP32?
ESP32 supports only passive collecting of CSI but the problem is that it does not offer an option to set a sampling frequency. Even the device itself collects CSI frames with non-constant dT.
And the sampling frequency is nearly 10 Hz. Have you been able to achieve better sampling frequency?
Hello, thanks for the project!
can you also add AGC info for each CSI Packet?
Thank you
I am trying to collect CSI data from 2 ESP32 Wrover B.By default it is showing 40mhz in the settings but when I am trying to collect the CSI data it is showing 0 in bandwidth(CWB) (0 for 20 Mhz and 1 for 40 Mhz). Could you please help me in finding the mistake.Below is the attachment of CSI data.
CSI_DATA,12,1a:00:00:00:00:00,rssi--41,rate-11,sig_mode-1,mcs-0,cwb-0,smoothing-1,not_sounding-1,aggregation-0,stbc-0,fec_coding-0,sgi-1,noise_floor--93,ampdu_cnt-0,channel-11,secondary_channel-2,timestamp-131164,ant-0,sig_len-44,rx_state-0,128,1,"[44,-64,2,0,0,0,-4,4,-13,19,-13,20,-13,21,-12,22,-12,23,-12,25,-12,26,-12,27,-12,28,-11,28,-11,30,-11,31,-11,32,-10,32,-11,33,-10,35,-9,36,-8,36,-9,36,-9,37,-8,38,-7,40,-7,40,-6,40,-5,42,-6,43,-6,44,-6,45,-3,23,-3,46,-4,46,-4,47,-4,48,-3,49,-2,50,-2,50,-2,50,-2,50,-2,52,-2,53,-3,53,-4,53,-4,53,-3,54,-4,55,-5,55,-6,56,-6,56,-6,54,-8,53,-9,52,-11,52,-13,52,-14,51,-14,50,-15,49,-16,49,-4,12,0,0,0,0]"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.