Generally you may be right. But using C++ code adds so much to readability and clearness fo code.
I want to wrap all BT function into a class where callback will be static member with class pointer passed to it as user parameter
as it can be easily done to all other APIs of ESP32.
Sadly, many ...
Search found 13 matches
- Sat Oct 05, 2024 3:41 pm
- Forum: ESP-IDF
- Topic: BT API support for C++
- Replies: 3
- Views: 2685
- Mon Aug 26, 2024 6:36 pm
- Forum: ESP-IDF
- Topic: BT API support for C++
- Replies: 3
- Views: 2685
BT API support for C++
Hi,
Dear IDF authors, this problem exists like since forever.
I wan't to write simple app on C++ but GAP/GATTS API doesn't support it. :cry:
I'm talking about event handlers.
Why esp_event_handler_register has custom arg parameter while neither esp_ble_gap_register_callback nor esp_ble_gatts ...
Dear IDF authors, this problem exists like since forever.
I wan't to write simple app on C++ but GAP/GATTS API doesn't support it. :cry:
I'm talking about event handlers.
Why esp_event_handler_register has custom arg parameter while neither esp_ble_gap_register_callback nor esp_ble_gatts ...
- Fri Feb 09, 2024 12:19 pm
- Forum: ESP-IDF
- Topic: xTaskNotifyFromISR / xTaskNotifyWait pair causes error
- Replies: 4
- Views: 2095
Re: xTaskNotifyFromISR / xTaskNotifyWait pair causes error
Aparently as suggested by Sudeep (https://github.com/espressif/esp-idf/is ... 1935791232) just need to remove ESP_INTR_FLAG_EDGE flag
- Fri Feb 09, 2024 7:15 am
- Forum: ESP-IDF
- Topic: xTaskNotifyFromISR / xTaskNotifyWait pair causes error
- Replies: 4
- Views: 2095
Re: xTaskNotifyFromISR / xTaskNotifyWait pair causes error
1. No it cann't untill I press the button - I have pulldown.You install the ISR before starting the task. This means that the ISR can trigger before TaskBTNReset is initalized.
2. Same error if I start task before interrupt init.
- Thu Feb 08, 2024 8:48 pm
- Forum: ESP-IDF
- Topic: xTaskNotifyFromISR / xTaskNotifyWait pair causes error
- Replies: 4
- Views: 2095
xTaskNotifyFromISR / xTaskNotifyWait pair causes error
Hi all,
I want to make my ESP32-C3 to restart when I press button connected to GPIO4. Here is my code
static TaskHandle_t taskBTNReset;
static void IRAM_ATTR reset_button_isr_handler(void* arg)
{
xTaskNotifyFromISR( taskBTNReset, 0, eNoAction, NULL);
}
static void task_btn_reset(void* param ...
I want to make my ESP32-C3 to restart when I press button connected to GPIO4. Here is my code
static TaskHandle_t taskBTNReset;
static void IRAM_ATTR reset_button_isr_handler(void* arg)
{
xTaskNotifyFromISR( taskBTNReset, 0, eNoAction, NULL);
}
static void task_btn_reset(void* param ...
- Wed Feb 02, 2022 8:54 am
- Forum: Hardware
- Topic: ESP32-PICO-D4 and 1.8V
- Replies: 4
- Views: 4830
Re: ESP32-PICO-D4 and 1.8V
Yes, that's what I thought. Thanks for confirming.
Since I'll be the first who's trying will update here about results
The GPIOs that you mentioned are 5, 18, 21, 22 and 23. Right?
Since I'll be the first who's trying will update here about results
The GPIOs that you mentioned are 5, 18, 21, 22 and 23. Right?
- Tue Feb 01, 2022 6:07 pm
- Forum: Hardware
- Topic: ESP32-PICO-D4 and 1.8V
- Replies: 4
- Views: 4830
Re: ESP32-PICO-D4 and 1.8V
anybody? 
- Fri Jan 28, 2022 10:49 pm
- Forum: Hardware
- Topic: ESP32-PICO-D4 and 1.8V
- Replies: 4
- Views: 4830
ESP32-PICO-D4 and 1.8V
Hi all,
I'm want to connect ESP32-PICO-D4 to 1.8V peripheral but I'm a bit confused.
Is it possible to provide 3.3V only for VDDA and VDDA3P3 and 1.8V to VDD3P3_CPU so that GPIO's be 1.8V ?
I'm want to connect ESP32-PICO-D4 to 1.8V peripheral but I'm a bit confused.
Is it possible to provide 3.3V only for VDDA and VDDA3P3 and 1.8V to VDD3P3_CPU so that GPIO's be 1.8V ?
- Fri Mar 12, 2021 9:51 am
- Forum: Hardware
- Topic: ESP32-WROOM(U): connecting external PSRAM
- Replies: 1
- Views: 3787
ESP32-WROOM(U): connecting external PSRAM
Hi,
Acctording to menuconfig ESP32 supports two ttypes of PSRAM: IS25WP032 and LY68L6400. I didn't find where to by the second one so I decided to use the first one but obviously in 3.3V version (IS25 L P032) since i'm connecting to to 3.3V ESP32 module.
Particularly IS25LP032D-JKLE ( PDF )
So ...
Acctording to menuconfig ESP32 supports two ttypes of PSRAM: IS25WP032 and LY68L6400. I didn't find where to by the second one so I decided to use the first one but obviously in 3.3V version (IS25 L P032) since i'm connecting to to 3.3V ESP32 module.
Particularly IS25LP032D-JKLE ( PDF )
So ...
- Wed Feb 13, 2019 8:34 am
- Forum: Hardware
- Topic: What is the purpose of VDD3P3_RTC pin in ESP32-PICO-D4 ?
- Replies: 3
- Views: 7824
What is the purpose of VDD3P3_RTC pin in ESP32-PICO-D4 ?
I want to understand how to keep RTC clock working while chip logic is off(if possible)
if I connect VDD3P3_RTC to 3.3V supercapacitor/battery would it be enough? Do I need also to provide 3.3V to CHIP_PU?
if I connect VDD3P3_RTC to 3.3V supercapacitor/battery would it be enough? Do I need also to provide 3.3V to CHIP_PU?