Change-Id: I931af5d19dfa25acf13cc3f93f10b9f8ca12ab2a
Signed-off-by: youngman <yman.jung@samsung.com>
iotcon_request_type_e request_type, iotcon_response_h response, void *user_data);
static void _on_observe(iotcon_remote_resource_h resource, iotcon_error_e err,
- int sequece_number, iotcon_response_h response, void *user_data)
+ int sequence_number, iotcon_response_h response, void *user_data)
{
int ret;
bool opened;
return NULL;
}
- ret = iotcon_attributes_add_bool(attributes, "attributes", fan->state);
+ ret = iotcon_attributes_add_bool(attributes, "state", fan->state);
if (IOTCON_ERROR_NONE != ret) {
ERR("iotcon_attributes_add_bool() Fail(%d)", ret);
iotcon_attributes_destroy(attributes);