Struct anjay_resource_observation_status_t
Defined in File dm.h
Struct Documentation
-
struct anjay_resource_observation_status_t
Maximum number of servers observing a Resource reported in anjay_resource_observation_status_t structure. Structure representing an observation state of a Resource.
Public Members
-
bool is_observed
Informs whether a given Resource is observed (by any server) or not.
-
int32_t min_period
The minimum effective value (in seconds) of the
pminattribute for a given Resource. The value of this field equals 0 ifpminwasn’t set for any server oris_observedis false.
-
int32_t max_eval_period
The minimum effective value (in seconds) of the
epmaxattribute for a given Resource. The value of this field equals ANJAY_ATTRIB_INTEGER_NONE ifepmaxwasn’t set for any server oris_observedis false.
-
uint16_t servers_number
Number of servers that observe the Resource.
-
anjay_ssid_t servers[1]
SSIDs of servers that observe the Resource.
-
bool is_observed