Retrieve a temporary pointer to an object, object instance or resource attribute's value from a Discover Response. More...
Functions | |
AwaError | AwaServerDiscoverResponse_GetAttributeValueAsIntegerPointer (const AwaServerDiscoverResponse *response, const char *path, const char *link, const AwaInteger **value) |
AwaError | AwaServerDiscoverResponse_GetAttributeValueAsFloatPointer (const AwaServerDiscoverResponse *response, const char *path, const char *link, const AwaFloat **value) |
Retrieve a temporary pointer to an object, object instance or resource attribute's value from a Discover Response.
This function can only be successful after a Discover operation has been successfully processed. The pointer is only valid while the operation is valid. If the operation is freed, the pointer returned is immediately invalid and should not be used or dereferenced.
[in] | response | The current Discover Response to retrieve the value from. |
[in] | path | The path of the resource requested for retrieval. |
[in] | link | The link identifying which attribute value to be retrieved (currently limited to "pmin", "pmax", "gt", "lt", and "stp"). |
[in,out] | value | A pointer to a const pointer that will be modified to point to the requested value. |
AwaError AwaServerDiscoverResponse_GetAttributeValueAsIntegerPointer | ( | const AwaServerDiscoverResponse * | response, |
const char * | path, | ||
const char * | link, | ||
const AwaInteger ** | value | ||
) |