funworks
funworks
I updated to the latest libcoap and lwip to 2.1.3. Still it is crashing on coap_net.c:473: `c = coap_malloc_type(COAP_CONTEXT, sizeof(coap_context_t));` I am trying to run it using FreeRTOS on embedded...
my mem_pools[] is like:  Index 19 is supposed to be for COAP_CONTEXT.
Yes, may be I have some pool configuration issues. I will check this on my side. Thanks
Ok, I checked on my code and I had an empty lwippools.h empty and I corrected it to use the one from libcoap. Now it is coming like:  However,...
I think I am trying to initialize libcoap before lwip. Let me fix this first.
Ok, I fixed it now. However I am not able to respond. I mean I can receive a GET request. But it does not respond anything. My implementation for libcoap...
Update: If I comment lock and unlock in udp send as below, I can send out the responses:  I think this is a nested lock getting locked here which...
Interesting, because I am processing them in piggyback way and there should not be a delay in responding. I tried to debug the 2 request reception issue, I found coap_io_lwip.c:245...
We are using coap_add_data_large_request() to provide the large chunk of data available in heap. We are using Block transfer and not Q-BLock.