|
int dc_tag_read_subscription |
( |
void * |
subscription, |
|
|
DC_TAG |
tag_values[], |
|
|
uint32_t |
tag_count |
|
) |
| |
Read one or more tags by previous subscription.
Used together with the dc_tag_add_subscription function to complete a read operation.
- Parameters
-
[in] | subscription | The subscription context returned by a successful call to the dc_tag_add_subscription. |
[out] | tag_values | The tag value array contains all tag value returned, be sure the count of the tag value equals to or larger than the count of the tag handle. |
[in] | tag_count | The count of the tag values in the tag_values. |
- Returns
- On success, zero is returned, otherwise an error code is returned. please refer to the enum dc_tag_error_code for the error code description.
- Examples:
- dc_tag_read_subscription.c.
|