This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LwM2M Composite Observe

Hi,

I'm working on an LwM2M client that reads three sensors in sequence every N minutes and notifies the server about the value change.

The server supports the LwM2M 1.1 observe composite feature. It is based on leshan-server-cf 2.0.0-M5.

When the nRF9160 client sends three consecutive observe notifications they are not received as composite observe response on the server side. When each sensor value is observed on its own, the server does receive the single sensor value observe notifications.

My current client firmware is based on nrfconnect SDK version 1.6.1.


I've searched the github nrfconnect-sdk and zephyr repositories for any new notify functions but was unable to find anything aside from the following lines:

#define NOTIFY_OBSERVER(o, i, r) lwm2m_notify_observer(o, i, r)
#define NOTIFY_OBSERVER_PATH(path) lwm2m_notify_observer_path(path)
....
int lwm2m_notify_observer(uint16_t obj_id, uint16_t obj_inst_id, uint16_t res_id);
int lwm2m_notify_observer_path(struct lwm2m_obj_path *path);

My question is now: is the composite observe feature supported in any version of the nRF Connect SDK?

Thanks in advance.

Best regards

Parents Reply Children
No Data
Related