Search found 4 matches

by lironghua
Thu Nov 14, 2024 3:31 am
Forum: General Discussion
Topic: toolchain for Raspberry PI 4 (8GB) ?
Replies: 4
Views: 8109

Re: toolchain for Raspberry PI 4 (8GB) ?

I've recently been facing the same problem, running some code based on v4.3 on RPI4. The error I met during "./install.sh" is "tool esp32ulp-elf does not have versions compatible with platform linux-arm64" In fact, the newer version of idf_tool already provides such supports: https://github.com/espr...
by lironghua
Thu Nov 14, 2024 2:45 am
Forum: General Discussion
Topic: esp32 wifi promiscuous mode, no control frame captured
Replies: 3
Views: 1646

Re: esp32 wifi promiscuous mode, no control frame captured

Sorry for the late reply. Yes, both are needed. One is for enabling the capture of ctrl packets and the other is for specifying the packet type. ESP_ERROR_CHECK(esp_wifi_set_promiscuous_rx_cb(&sniffer)); wifi_promiscuous_filter_t filter = { .filter_mask = WIFI_PROMIS_FILTER_MASK_DATA|WIFI_PROMIS_FIL...
by lironghua
Sun Jan 01, 2023 7:45 am
Forum: General Discussion
Topic: esp32 wifi promiscuous mode, no control frame captured
Replies: 3
Views: 1646

Re: esp32 wifi promiscuous mode, no control frame captured

Ok, I solved it. It turns out that the ctrl frame filter needs to be set separately via "esp_wifi_set_promiscuous_ctrl_filter"
by lironghua
Fri Dec 30, 2022 12:57 pm
Forum: General Discussion
Topic: esp32 wifi promiscuous mode, no control frame captured
Replies: 3
Views: 1646

esp32 wifi promiscuous mode, no control frame captured

Hi, I'm doing a project to capture WiFi ACK frames under promiscuous mode. These are part of the initialization codes: wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); ESP_ERROR_CHECK(esp_wifi_init(&cfg)); ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA) ); ESP_ERROR_CHECK(esp_wifi_start()); ESP...