Struct anjay_resource_observation_status_t

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 pmin attribute for a given Resource. The value of this field equals 0 if pmin wasn’t set for any server or is_observed is false.

int32_t max_eval_period

The minimum effective value (in seconds) of the epmax attribute for a given Resource. The value of this field equals ANJAY_ATTRIB_INTEGER_NONE if epmax wasn’t set for any server or is_observed is false.

uint16_t servers_number

Number of servers that observe the Resource.

anjay_ssid_t servers[1]

SSIDs of servers that observe the Resource.