funworks

Results 18 comments of 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: ![image](https://github.com/obgm/libcoap/assets/26736671/e85139f4-3cdf-43ae-a61e-fad13e725326) 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: ![image](https://github.com/obgm/libcoap/assets/26736671/3a0aa620-2f97-4a0b-b3a8-292cb7997f1d) 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: ![image](https://github.com/obgm/libcoap/assets/26736671/328de831-b487-4c1a-aa65-81dac795efe5) 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...