core-wg / conditional-attributes

Other
0 stars 1 forks source link

Adding support for "Edge" #3

Closed asoloway64 closed 3 years ago

asoloway64 commented 4 years ago

OMA LwM2M added support for additional attributes that should be reflected back into the dynlink draft to avoid fragmentation. One of those attributes is called "Edge".

The current LwM2M Core Spec currently has this statement: "The behaviour of Notification class attributes MUST follow [DynLink] unless stated otherwise in this specification. Note: The attributes epmin, epmax, con and edge are specified in this specification but currently not referenced in [DynLink]."

The goal would be to change that statement to: "The behavior of all Attributes SHOULD follow [DynLink]."

Below is content to consider for the dynlink draft: "Notes: The Edge Attribute indicates either the falling edge ("0") or the rising edge ("1") transistion of a Boolean Resource. When this Attribute is present, the LwM2M Client MUST notify the Server each time the Observed Resource value goes from "true" to "false" (edge = "0"), or from "false" to "true" (edge = "1") with respect to the pmin parameter and valid "Change Value Conditions" (see Notification Conditions above)."

bsilverajan commented 3 years ago

the "edge" attribute has now been added to the draft