File attr_storage.h

Parent directory (include_public/anjay)

Definition (include_public/anjay/attr_storage.h)

Detailed Description

Automatic Attribute Storage module.

This feature is enabled using the ANJAY_WITH_ATTR_STORAGE compile-time feature macro. It makes it possible to automatically manage attributes for LwM2M Objects, their instances and resources.

In accordance to the LwM2M specification, there are three levels on which attributes may be stored:

If at least one of either read or write handlers is provided in a given object for a given level, attribute handling on that level will not be altered, but instead any calls will be directly forwarded to the original handlers.

If both read and write handlers are left as NULL in a given object for a given level, attribute storage will be handled by the Attribute Storage module instead, implementing both handlers.

Includes

  • anjay/dm.h (File dm.h)

  • avsystem/commons/avs_stream.h

Functions