Search found 3 matches

by sam@logic
Mon Oct 15, 2018 7:33 am
Forum: ESP32 IDF
Topic: strings in queue
Replies: 9
Views: 1787

Re: strings in queue

XQueueReceive You also have to free the allocated string its working now. thank you for your quick response. I have one question now. I am using queue length of 100 now as shown in below.. uint8_t* dataSerial = (uint8_t*) malloc(BUF); xQueue = xQueueCreate( 100, sizeof(dataSerial)); so queue has to...
by sam@logic
Mon Oct 15, 2018 6:37 am
Forum: Sample Code
Topic: Example of using Queue to pass strings between tasks
Replies: 19
Views: 6961

Re: Example of using Queue to pass strings between tasks

To create a queue, you would use xQueueCreate ... see http://www.freertos.org/a00116.html The size parameter would be large enough to hold a pointer to a character string ... for example: sizeof(char *) When you have a string to place on the queue: char *myData = "helloWorld"; you could then alloca...
by sam@logic
Wed Oct 10, 2018 5:49 am
Forum: ESP32 IDF
Topic: Webserver
Replies: 0
Views: 474

Webserver

Hi, I have used webserver example. https://github.com/cmmakerclub/esp32-webserver/blob/master/main/main.c In this example I replaced the string(html code in string format) with my string stored in http_index_hml array. but my webpage is taking to much time to open in brower. What will be the reason ...

Go to advanced search