Function anj_dm_res_read

Function Documentation

int anj_dm_res_read(anj_t *anj, const anj_uri_path_t *path, anj_res_value_t *out_value)

Reads the value of the Resource or Resource Instance.

Parameters:
  • anj – Anjay object.

  • path – Resource or Resource Instance path.

  • out_value[out] Resource value.

Returns:

0 on success, a non-zero value in case of an error.