Commit 64b9dc00 authored by Michael Tross's avatar Michael Tross

less verbose message without index in status query

leaving out the index is a valid query
parent cac6dc83
......@@ -651,7 +651,7 @@ void vdc_getprop_cb(dsvdc_t *handle, const char *dsuid, dsvdc_property_t *proper
dsvdc_property_t *sensorRequest;
dsvdc_property_get_property_by_index(query, 0, &sensorRequest);
if (dsvdc_property_get_name(sensorRequest, 0, &sensorIndex) != DSVDC_OK) {
vdc_report(LOG_WARNING, "sensorStates: could not parse index\n");
vdc_report(LOG_DEBUG, "sensorStates: no index in request\n");
idx = -1;
} else {
idx = strtol(sensorIndex, NULL, 10);
......@@ -698,7 +698,7 @@ void vdc_getprop_cb(dsvdc_t *handle, const char *dsuid, dsvdc_property_t *proper
dsvdc_property_t *sensorRequest;
dsvdc_property_get_property_by_index(query, 0, &sensorRequest);
if (dsvdc_property_get_name(sensorRequest, 0, &sensorIndex) != DSVDC_OK) {
vdc_report(LOG_WARNING, "binaryInputStates: could not parse index\n");
vdc_report(LOG_DEBUG, "binaryInputStates: no index in request\n");
idx = -1;
} else {
idx = strtol(sensorIndex, NULL, 10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment