ESP CSI Collection Bug

rafaelicastro
Posts: 2
Joined: Wed Oct 09, 2024 2:34 am

ESP CSI Collection Bug

Postby rafaelicastro » Wed Oct 09, 2024 2:40 am

Hey all,

Apologies if I missed anything obvious – I'm pretty new to developing with ESP32. I am trying to collect CSI data from my router using my ESP32C6, and I cloned this (https://github.com/espressif/esp-csi) repository from Expressif into my esp-idf folder. I navigated into the csi-recv-router directory, but when running idf.py build after idf.py menuconfig (which worked normally), I got the attached error. If anyone has run into any similar problems or has any idea on how to solve this, I would really appreciate it.

Thank you all so much!

/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c: In function 'wifi_csi_rx_cb':
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:59:81: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'sig_mode'
59 | s_count++, MAC2STR(info->mac), rx_ctrl->rssi, rx_ctrl->rate, rx_ctrl->sig_mode,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:60:20: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'mcs'
60 | rx_ctrl->mcs, rx_ctrl->cwb, rx_ctrl->smoothing, rx_ctrl->not_sounding,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:60:34: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'cwb'
60 | rx_ctrl->mcs, rx_ctrl->cwb, rx_ctrl->smoothing, rx_ctrl->not_sounding,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:60:48: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'smoothing'
60 | rx_ctrl->mcs, rx_ctrl->cwb, rx_ctrl->smoothing, rx_ctrl->not_sounding,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:60:68: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'not_sounding'
60 | rx_ctrl->mcs, rx_ctrl->cwb, rx_ctrl->smoothing, rx_ctrl->not_sounding,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:61:20: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'aggregation'
61 | rx_ctrl->aggregation, rx_ctrl->stbc, rx_ctrl->fec_coding, rx_ctrl->sgi,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:61:42: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'stbc'
61 | rx_ctrl->aggregation, rx_ctrl->stbc, rx_ctrl->fec_coding, rx_ctrl->sgi,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:61:57: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'fec_coding'
61 | rx_ctrl->aggregation, rx_ctrl->stbc, rx_ctrl->fec_coding, rx_ctrl->sgi,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:61:78: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'sgi'
61 | rx_ctrl->aggregation, rx_ctrl->stbc, rx_ctrl->fec_coding, rx_ctrl->sgi,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:62:42: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'ampdu_cnt'
62 | rx_ctrl->noise_floor, rx_ctrl->ampdu_cnt, rx_ctrl->channel, rx_ctrl->secondary_channel,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:62:80: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'secondary_channel'
62 | rx_ctrl->noise_floor, rx_ctrl->ampdu_cnt, rx_ctrl->channel, rx_ctrl->secondary_channel,
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:63:40: error: 'wifi_pkt_rx_ctrl_t' {aka const esp_wifi_rxctrl_t'} has no member named 'ant'
63 | rx_ctrl->timestamp, rx_ctrl->ant, rx_ctrl->sig_len, rx_ctrl->rx_state);
| ^~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c: In function 'wifi_csi_init':
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:80:10: error: 'wifi_csi_config_t' {aka 'wifi_csi_acquire_config_t'} has no member named 'lltf_en'
80 | .lltf_en = true,
| ^~~~~~~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:81:10: error: 'wifi_csi_config_t' {aka 'wifi_csi_acquire_config_t'} has no member named 'htltf_en'
81 | .htltf_en = false,
| ^~~~~~~~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:82:10: error: 'wifi_csi_config_t' {aka 'wifi_csi_acquire_config_t'} has no member named 'stbc_htltf2_en'
82 | .stbc_htltf2_en = false,
| ^~~~~~~~~~~~~~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:83:10: error: 'wifi_csi_config_t' {aka 'wifi_csi_acquire_config_t'} has no member named 'ltf_merge_en'
83 | .ltf_merge_en = true,
| ^~~~~~~~~~~~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:84:10: error: 'wifi_csi_config_t' {aka 'wifi_csi_acquire_config_t'} has no member named 'channel_filter_en'
84 | .channel_filter_en = true,
| ^~~~~~~~~~~~~~~~~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:85:10: error: 'wifi_csi_config_t' {aka 'wifi_csi_acquire_config_t'} has no member named 'manu_scale'
85 | .manu_scale = true,
| ^~~~~~~~~~
/Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/main/app_main.c:86:10: error: 'wifi_csi_config_t' {aka 'wifi_csi_acquire_config_t'} has no member named 'shift'
86 | .shift = true,
| ^~~~~
[48/79] Linking C static library esp-idf/driver/libdriver.a
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/build/log/idf_py_stderr_output_25223 and /Volumes/USB321FD/esp/esp-idf/examples/wifi/esp-csi/examples/get-started/csi_recv_router/build/log/idf_py_stdout_output_25223

nopnop2002
Posts: 111
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: ESP CSI Collection Bug

Postby nopnop2002 » Thu Oct 10, 2024 2:24 am

README(https://github.com/espressif/esp-csi/tr ... ecv_router) is written as follows.


Hardware Required
A development board with ESP32/ESP32-S2/ESP32-C3 SoC (e.g., ESP32-DevKitC, ESP-WROVER-KIT, etc.)

ESP32C6 is not supported.

rafaelicastro
Posts: 2
Joined: Wed Oct 09, 2024 2:34 am

Re: ESP CSI Collection Bug

Postby rafaelicastro » Fri Oct 11, 2024 5:17 pm

Seems like it was obvious – thank you so much!!

Who is online

Users browsing this forum: Bing [Bot] and 324 guests