Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wakaama-dev] Force Wakaama client to send a SmartObject update to server?

Hi,

I'm writing a C++ client using the Wakaama code.

The client has a number of SmartObjects like Presence. The prescense sensor
detects a change and a variable in my SmartObject is updated. This 
updated value
should now be sent to the lwm2m server (leshan).

This is however not the case unless "observe" is enabled for the 
Presence SmartObject.
The Presence SmartObject code calls lwm2m_resource_value_changed(), but the
update seems to be ignore unless there's an observer for this 
object/attribute.

So my question is if there's a way for my code to force an update of the 
object?
Should I use some other method than lwm2m_resource_value_changed()?

Thanks,

    Henrik


Back to the top