staropram / cantcoap

CoAP implementation that focuses on simplicity by offering a minimal set of functions and straightforward interface.
BSD 2-Clause "Simplified" License
86 stars 38 forks source link

Adding URI buffer on setURI method to reduce external fragmentation on NON-MMU plataforms #2

Closed rafaeldelucena closed 10 years ago

rafaeldelucena commented 10 years ago

First i have created a local buffer, but simple microcontrollers have a very small stack, then i decided to use the realloc behavior for handle the different sizes of the buffer.