Closed kartben closed 11 years ago
OK, my bad. lwm2m_context_t::ObjectList used to be a sorted linked list. It is now an user provided array. I'm merging your change right now.
Yup, in the demo client if you GET coap://localhost:5683/1022
You will retrieve test object with ID 1024, cause the search loop retrieves the last object whose ID lower than the requested ID
Hi, Did you run into a bug with this ? Because (in theory) the items in the linked list are sorted by ascending IDs.