a4557a46b8
In case LWM2M cient wants to change attrs of observed obj, it needs pointer to client_ctx. For example: On observer add, wants to change pmin for some obj path to 1s: static void observe_cb(enum lwm2m_observe_event event, struct lwm2m_obj_path *path, void *user_data) { struct lwm2m_ctx *ctx = (struct lwm2m_ctx *) user_data; switch (event) { case LWM2M_OBSERVE_EVENT_OBSERVER_ADDED: lwm2m_engine_update_observer_min_period(ctx, "3347", 1); ... } Signed-off-by: Kiril Petrov <retfie@gmail.com> |
||
---|---|---|
.. | ||
ip | ||
l2 | ||
lib | ||
pkt_filter | ||
buf.c | ||
CMakeLists.txt | ||
hostname.c | ||
Kconfig | ||
Kconfig.hostname | ||
Kconfig.template.log_config.default.net | ||
Kconfig.template.log_config.net |