Search found 6 matches
- Wed May 17, 2023 4:47 am
- Forum: ESP32 Arduino
- Topic: Async Websocket client
- Replies: 4
- Views: 4609
Re: Async Websocket client
Sure, I understand, that websocket has a loop under cover. It is ok, but I would like to work with this high-level "cover" to avoid any low-level work which requires a lot of effort. The same as we are using Arduino-ESP32 framework which has FreeRTOS+ESP-IDF under cover (which also has a machine cod...
- Mon May 15, 2023 7:32 am
- Forum: ESP32 Arduino
- Topic: Async Websocket client
- Replies: 4
- Views: 4609
Re: Async Websocket client
This module is a websocket server. I'm looking for Websocket client for Arduino platform. I don't want to work wit ESP_IDF.
- Sun May 14, 2023 8:07 am
- Forum: ESP32 Arduino
- Topic: Async Websocket client
- Replies: 4
- Views: 4609
Async Websocket client
Hi Can anybody recommend any library for async Websocket client? I know async websocket server (as a part of AsyncWebServer) and I know a Websockets library with client implementation ( https://github.com/Links2004/arduinoWebSockets ) but it is require a loop, but I'm trying to avoid using a loop an...
- Thu Apr 27, 2023 4:44 am
- Forum: ESP-IDF
- Topic: Event management best practices
- Replies: 0
- Views: 735
Event management best practices
How do you manage events? Let's review example: On the Publisher side { { void* buffer = malloc(10); memcpy(buffer, "Hello", 0, 1024); res = esp_event_post(SIGMA_EVENT, SIGMA_HELLO_EVENT_ID, buffer, 0, portMAX_DELAY); } And we have several event handlers on Subscriber side res = esp_event_handler_in...
- Sun Apr 23, 2023 6:28 pm
- Forum: General Discussion
- Topic: Using C++ static class members
- Replies: 2
- Views: 1831
Re: Using C++ static class members
Thank you. Yep... It's trivial, but I forgot about it.
- Sun Apr 23, 2023 10:31 am
- Forum: General Discussion
- Topic: Using C++ static class members
- Replies: 2
- Views: 1831
Using C++ static class members
Hi. I'm trying to use my own C++ classes with ESP-IDF (for VSCode). I have a problem with the compilation of very simple application: hello_world.cpp: #include "Class1.h" extern "C" void app_main(void) { printf("Hello world!\n"); Class1* c1 = new Class1(); } Class1.h class Class1{ public: static int...