return 1;
}
- ret = iotcon_response_set_representation(response, IOTCON_INTERFACE_DEFAULT, repr);
+ ret = iotcon_response_set_representation(response, repr);
if (IOTCON_ERROR_NONE != ret) {
ICUTC_ERR("iotcon_response_set_representation() Fail(%d)", ret);
iotcon_representation_destroy(repr);
return;
}
- ret = iotcon_response_set_representation(response, IOTCON_INTERFACE_DEFAULT, repr);
+ ret = iotcon_response_set_representation(response, repr);
if (IOTCON_ERROR_NONE != ret) {
ICUTC_ERR("iotcon_response_set_representation() Fail(%d)", ret);
iotcon_response_destroy(response);
return;
}
- ret = iotcon_response_set_representation(response, IOTCON_INTERFACE_DEFAULT, repr);
+ ret = iotcon_response_set_representation(response, repr);
if (IOTCON_ERROR_NONE != ret) {
ICUTC_ERR("iotcon_response_set_representation() Fail(%d)", ret);
iotcon_response_destroy(response);
return 0;
}
- ret = iotcon_response_set_representation(NULL, IOTCON_INTERFACE_DEFAULT, repr);
+ ret = iotcon_response_set_representation(NULL, repr);
if (IOTCON_ERROR_INVALID_PARAMETER != ret) {
ICUTC_ERR("iotcon_response_set_representation() Fail(%d)", ret);
iotcon_representation_destroy(repr);
return 0;
}
- ret = iotcon_response_set_representation(response, IOTCON_INTERFACE_DEFAULT, repr);
+ ret = iotcon_response_set_representation(response, repr);
if (IOTCON_ERROR_NONE != ret) {
ICUTC_ERR("iotcon_response_set_representation() Fail(%d)", ret);
iotcon_representation_destroy(repr);
iotcon_representation_h repr = NULL;
if (false == g_feature) {
- ret = iotcon_response_set_representation(NULL, IOTCON_INTERFACE_DEFAULT, repr);
+ ret = iotcon_response_set_representation(NULL, repr);
ICUTC_ASSERT_EQ(ret, IOTCON_ERROR_NOT_SUPPORTED);
return 0;
}
iotcon_representation_h repr = NULL;
if (false == g_feature) {
- ret = iotcon_response_set_representation(NULL, IOTCON_INTERFACE_DEFAULT, repr);
+ ret = iotcon_response_set_representation(NULL, repr);
ICUTC_ASSERT_EQ(ret, IOTCON_ERROR_NOT_SUPPORTED);
return 0;
}