Hi,
A few questions regarding LwM2M engine I haven't been able to find the answers to in documentation:
- Do callbacks registered for LwM2M by calling lwm2m_engine_register_validate_callback() or lwm2m_engine_register_post_write_callback() need to be reentrant safe, or does the LwM2M engine take care of not calling the same callback until previous invocation has returned?
- If the server writes multiple values to the same path (same object, instance and resource ID), does the write callback get fired for all the values, or does the engine only call the callback with the most recent value?
- If the engine calls the callback for each write operation, does it mean the engine will manage the buffer for all the write operations? For instance, if the LwM2M server writes 128 bytes of data to /1234/0/0, 10 times in a row, does the LwM2M engine consume up to one kilobyte of memory while calling the callback for each write operation?
Kind Regards,
Iman