yes, it does return a BaseType_t. if it is pdPass you successfully obtained the token, otherwise, you will get pdFALSE which indicated either the token was not available or timeout.
Wbt using an event group if you need to look into multiple conditions?
Search found 10 matches
- Mon Feb 21, 2022 7:50 am
- Forum: ESP-IDF
- Topic: non blocking semaphore in task
- Replies: 2
- Views: 2724
- Sun Feb 20, 2022 5:41 pm
- Forum: ESP-IDF
- Topic: RX buffer issue while reading same UART from two different tasks
- Replies: 2
- Views: 2014
Re: RX buffer issue while reading same UART from two different tasks
yes u r correct, internally UART maintains the semaphore. so what happens is, when I switch to a different task through interrupt routine, UART gets blocked, and interrupt task cannot take the semaphore. So now the question that I need to answer is basically, while an interrupt occurs I shouldn't sw...
- Sat Feb 19, 2022 6:05 am
- Forum: ESP-IDF
- Topic: RX buffer issue while reading same UART from two different tasks
- Replies: 2
- Views: 2014
RX buffer issue while reading same UART from two different tasks
I have two freeRTOS tasks that receive from the same UART port. However, when moving from one task to another, my buffer gets filled and my algorithms can't proceed with this fault because I take the length which comes from uart_read_bytes() . I move from the first task to the second task when an in...
- Sat Feb 19, 2022 3:25 am
- Forum: ESP-IDF
- Topic: UART RX FULL interrupt implementation
- Replies: 3
- Views: 6781
UART RX FULL interrupt implementation
hello All, I need to implement an interrupt when the Rx FIFO buffer is filled with a specific number of characters. However, I find it difficult to program it. As you can see the API reference says how should we do it, but the conventional isr handers are missing in these APIs. can someone send me a...
- Thu Oct 21, 2021 8:59 am
- Forum: ESP-IDF
- Topic: esp_http_client.h: No such file or directory
- Replies: 9
- Views: 9495
Re: esp_http_client.h: No such file or directory
thank you so much for your help. I learned a lot from you
- Wed Oct 20, 2021 9:50 am
- Forum: ESP-IDF
- Topic: esp_http_client.h: No such file or directory
- Replies: 9
- Views: 9495
Re: esp_http_client.h: No such file or directory
Thank you. That solved. I have two questions to ask. 1. This is my includes in WIFI library which resides in the same directory as of Http. #include "freertos/FreeRTOS.h" #include "freertos/event_groups.h" #include "esp_log.h" #include "esp_event.h" #include "esp_wifi.h" but this didn't ask me to ad...
- Tue Oct 19, 2021 12:28 pm
- Forum: ESP-IDF
- Topic: esp_http_client.h: No such file or directory
- Replies: 9
- Views: 9495
Re: esp_http_client.h: No such file or directory
home directory
under http directory
Hope this is what you were asking for?
Code: Select all
cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENT_DIRS lib)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
Code: Select all
idf_component_register(
SRCS "HTTP.cpp"
INCLUDE_DIRS .
)
- Tue Oct 19, 2021 9:05 am
- Forum: ESP-IDF
- Topic: esp_http_client.h: No such file or directory
- Replies: 9
- Views: 9495
Re: esp_http_client.h: No such file or directory
"includePath": [ "${config:idf.espIdfPath}/components/**", "${config:idf.espIdfPathWin}/components/**", "${config:idf.espAdfPath}/components/**", "${config:idf.espAdfPathWin}/components/**", "${workspaceFolder}/**" ], this is my include paths which came by default. my directory is like this. projec...
- Sun Oct 17, 2021 4:05 pm
- Forum: ESP-IDF
- Topic: esp_http_client.h: No such file or directory
- Replies: 9
- Views: 9495
esp_http_client.h: No such file or directory
I am having a weird issue with ESP-IDF. In my project directory if I call esp_http_client from a main or from a library in the same directory It works. But when I shift the library to somewhere else, this particular library can not be imported. I already got RFID, gpio, and wifi libraries set up in ...
- Mon Oct 26, 2020 1:03 pm
- Forum: General Discussion
- Topic: wifi authentication using EAP-TLS
- Replies: 0
- Views: 1678
wifi authentication using EAP-TLS
Is there a way to implement WPA2-Enterprise EAP-TLS authentication on the ESP32 series? If there is can you provide me with a resource/guide to implement.
thank you
thank you