Search found 27 matches

by cyberman54
Mon Feb 06, 2023 10:16 am
Forum: ESP-IDF
Topic: ImportError: cannot import name 'rest_of_line' from 'pyparsing' (ESP32-C3 and Platformio and vscode and windows10)
Replies: 3
Views: 2654

Re: ImportError: cannot import name 'rest_of_line' from 'pyparsing' (ESP32-C3 and Platformio and vscode and windows10)

Again, thanks for posting this solution. I was stuck in the same error. Your post saved me a lot of time.
by cyberman54
Sun Feb 05, 2023 3:53 pm
Forum: ESP-IDF
Topic: Wifi Driver Receive Buffer Access/Interrupt
Replies: 7
Views: 7375

Re: Wifi Driver Receive Buffer Access/Interrupt

I can't find ETS_WIFI_MAC_INTR_SOURCE in the linked technical documentation pdf. Where can i find a description of this interrupt source?
by cyberman54
Sun Feb 05, 2023 3:28 pm
Forum: ESP32 Arduino
Topic: ESP32 promiscuous mode RSSI relative to sender
Replies: 1
Views: 3291

Re: ESP32 promiscuous mode RSSI relative to sender

rssi is the "Received Signal Strength Indicator(RSSI) of packet. unit: dBm".
It's just this absolute value, reported by the osi layer 2 radio driver of esp32, regardless from where or to where a packet is originated / designated.

Perhaps i don't understand you question, what else are you looking for?
by cyberman54
Sun Feb 05, 2023 3:14 pm
Forum: ESP32 Arduino
Topic: ESP32 Wi-Fi Sniffer Mode
Replies: 1
Views: 4484

Re: ESP32 Wi-Fi Sniffer Mode

To get control packets, use
esp_err_t esp_wifi_set_promiscuous_ctrl_filter(const wifi_promiscuous_filter_t *filter);
by cyberman54
Sun Feb 05, 2023 2:23 pm
Forum: ESP-IDF
Topic: wifi driver: which buffer setup to maximize 802.11 packet sniffer performane?
Replies: 0
Views: 1176

wifi driver: which buffer setup to maximize 802.11 packet sniffer performane?

I'm using esp32 as wifi 802.11 packet sniffer, using the promisciuos mode. The device is dedicated to this purpose, thus i want a wifi configuration which maximizes sniffer performance. Regarding to https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wifi.html#why-buffer-configura...
by cyberman54
Wed Nov 17, 2021 6:43 pm
Forum: ESP-IDF
Topic: coex-settings if using bluetooth not by stack but by vHCI interface
Replies: 0
Views: 1733

coex-settings if using bluetooth not by stack but by vHCI interface

I am using Bluetooth in parallel with Wifi on ESP32.
But i don't start a bluetooth stack, i am using vHCI commands instead, to setup a not connectable bluetooth scanner.
In this scenario, do the coex.h based settings, like

Code: Select all

esp_coex_preference_set(ESP_COEX_PREFER_BT)
have any effect?
by cyberman54
Sat Dec 19, 2020 9:30 am
Forum: ESP32 Arduino
Topic: esp_bluedroid_deinit() crashes [SOLVED]
Replies: 3
Views: 4622

Re: esp_bluedroid_deinit() crashes

I found the solution:
esp_ble_gap_stop_scanning() before esp_bluedroid_deinit() avoids this problem.
by cyberman54
Fri Dec 18, 2020 10:26 am
Forum: ESP32 Arduino
Topic: esp_bluedroid_deinit() crashes [SOLVED]
Replies: 3
Views: 4622

Re: esp_bluedroid_deinit() crashes

Addendum: The crash happenes on core0, the app is running on core1. So i guess, this issue maybe a kind of race condition.
by cyberman54
Fri Dec 18, 2020 8:30 am
Forum: ESP32 Arduino
Topic: esp_bluedroid_deinit() crashes [SOLVED]
Replies: 3
Views: 4622

Re: esp_bluedroid_deinit() crashes

Sometime the crash log looks different, but again shows the issue seems to be caused by the bluetooth stack, pointing to a problem while receiving data from an RTOS queue with xQueueGenericReceive . 21:43:12.765 > #0 0x401ac3d2:0x3ffdae90 in bta_dm_observe_results_cb at /home/runner/work/esp32-ardui...
by cyberman54
Thu Dec 17, 2020 11:08 am
Forum: ESP32 Arduino
Topic: esp_bluedroid_deinit() crashes [SOLVED]
Replies: 3
Views: 4622

esp_bluedroid_deinit() crashes [SOLVED]

Disabling and deinit bluetooth stack by my application sometimes crashes, in about 1 of 30 cases. Can't find the root cause. Can anyone help? Using arduino-esp32 v1.0.4 which is based on ESP-IDF v4.1 Relevant Code: https://github.com/cyberman54/ESP32-Paxcounter/blob/development/src/blecsan.cpp#L281 ...