OCCancel(cb_data->handle, OC_LOW_QOS, NULL, 0);
icl_ioty_mutex_unlock();
}
+ INFO("Call the callback done");
}
icl_destroy_device_cb_data(device_cb_data);
OCCancel(cb_data->handle, OC_LOW_QOS, NULL, 0);
icl_ioty_mutex_unlock();
}
+ INFO("Call the callback done");
}
icl_destroy_platform_cb_data(platform_cb_data);
}
for (i = 0; i < option_size; i++)
- iotcon_options_add(op, option[i].optionID, (char *)option[i].optionData);
+ icl_options_add(op, option[i].optionID, (char *)option[i].optionData);
*options = op;
}
if (state != resource->monitoring.state) {
- DBG("call the callback...");
+ DBG("call the monitoring callback...");
resource->monitoring.cb(resource, state, resource->monitoring.user_data);
resource->monitoring.state = state;
- DBG("call the callback done");
+ DBG("call the monitoring callback done");
}
}
response->repr = NULL;
if (resource->caching.cb) {
- DBG("call the callback...");
+ DBG("call the caching callback...");
resource->caching.cb(resource, repr, resource->caching.user_data);
- DBG("call the callback done");
+ DBG("call the caching callback done");
}
}
}
ret = icl_options_add(resource->header_options, id, data);
if (IOTCON_ERROR_NONE != ret) {
- ERR("iotcon_options_add() Fail(%d)", ret);
+ ERR("icl_options_add() Fail(%d)", ret);
return IOTCON_FUNC_STOP;
}