Page 1 of 1

esp_event_post string data getting corrupted

Posted: Mon Sep 04, 2023 12:09 pm
by Suresh
Hi

I have created one test application. I am trying to post an event along with large string data (~2048 kb).
Initial 8 chars are getting corrupted and remaining data i am getting correct.

Code: Select all

        ESP_ERROR_CHECK(esp_event_post(APPLICATION_MESSAGES, UID_MESSAGE_RECEIVED, (void*) &event, sizeof(message_event_t), portMAX_DELAY));
Can some one please guide me.

Build environment:
Mcu Type :esp32
ESP IDF Ver :v4.4.3