logo elektroda
logo elektroda
X
logo elektroda

ESP32 FreeRTOS: Connecting edp_http_client to UART with uart_echo Example

dondu 1944 32
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #31 17982918
    khoam
    Level 42  
    stmx wrote:
    software timers are based on queues
    .
    stmx wrote:
    get to know queues better.
    .

    Virtually everything in FreeRTOS is based on queues :) .
  • ADVERTISEMENT
  • #32 17982923
    dondu
    Moderator on vacation ...
    I will review both topics :) .
  • #33 17982930
    Anonymous
    Level 1  

Topic summary

The discussion revolves around integrating the edp_http_client with UART on the ESP32 platform using FreeRTOS. The user initially faced challenges in task management and synchronization while implementing a simple program based on the uart_echo example. Responses highlighted the importance of maintaining tasks in an infinite loop, using vTaskDelete for task cleanup, and employing semaphores for safe access to shared variables. The user successfully created multiple tasks that increment a global variable and log its value, while also managing task suspension and resumption. The conversation also touched on using FreeRTOS software timers for timekeeping and data transmission intervals, with suggestions to utilize queues for task synchronization.
Summary generated by the language model.
ADVERTISEMENT