Commit cf4a2240 authored by Jaehong Jo's avatar Jaehong Jo Committed by Uze Choi

Update comment of function brief

About oc_send_ping_request and oc_send_ping_update

Change-Id: I7fa521e8378eb1b651f54b5acf835eacd4f0816c
Signed-off-by: default avatarJaehong <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/25825Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
parent b1e5fda5
......@@ -159,7 +159,7 @@ bool oc_find_ping_resource(oc_endpoint_t *endpoint,
oc_response_handler_t handler, void *user_data);
/**
@brief Function for discovers on a ping resource.
@brief Function for send ping message to remote endpoint.
@param endpoint The endpoint of the Cloud.
@param interval The interval value for keep-alive.
@param handler To refer to the request sent out on behalf of calling this API.
......@@ -170,7 +170,7 @@ bool oc_send_ping_request(oc_endpoint_t *endpoint, int interval,
oc_response_handler_t handler, void *user_data);
/**
@brief Function for discovers on a ping resource.
@brief Function for update value of ping interval.
@param endpoint The endpoint of the Cloud.
@param interval Integer array for update the interval.
@param length The length of the interval array.
......
......@@ -76,7 +76,7 @@ oc_sign_up_with_auth(oc_endpoint_t *endpoint, const char *auth_provider,
return _oc_sign_up(endpoint, auth_provider, auth_code, NULL, NULL,
device_index, handler, user_data);
}
#endif /*.ST_APP_OPTIMIZATION */
#endif /* ST_APP_OPTIMIZATION */
static bool
oc_sign_inout(oc_endpoint_t *endpoint, const char *uid,
......@@ -193,7 +193,7 @@ oc_delete_device(oc_endpoint_t *endpoint, const char *uid, int device_index,
return oc_do_delete(OC_RSRVD_DEVICE_URI, endpoint, query, handler, LOW_QOS,
user_data);
}
#endif /*.ST_APP_OPTIMIZATION */
#endif /* ST_APP_OPTIMIZATION */
bool
oc_refresh_access_token(oc_endpoint_t *endpoint, const char *uid,
......@@ -281,4 +281,4 @@ oc_send_ping_update(oc_endpoint_t *endpoint, const int *interval, int length,
return oc_do_post();
}
#endif /*.ST_APP_OPTIMIZATION */
#endif /* ST_APP_OPTIMIZATION */
......@@ -87,7 +87,7 @@ rd_publish(oc_endpoint_t *endpoint, oc_link_t *links, int device_index,
return status;
}
#endif /*.ST_APP_OPTIMIZATION */
#endif /* ST_APP_OPTIMIZATION */
#ifndef ST_APP_OPTIMIZATION
bool
......@@ -134,7 +134,7 @@ rd_publish_with_device_id(oc_endpoint_t *endpoint, oc_link_t *links,
return oc_do_post();
}
#endif /*.ST_APP_OPTIMIZATION */
#endif /* ST_APP_OPTIMIZATION */
bool
rd_publish_all(oc_endpoint_t *endpoint, int device_index,
......@@ -191,7 +191,7 @@ rd_delete(oc_endpoint_t *endpoint, oc_link_t *links, int device_index,
return rd_delete_with_device_id(endpoint, links, uuid, handler, qos,
user_data);
}
#endif /*.ST_APP_OPTIMIZATION */
#endif /* ST_APP_OPTIMIZATION */
#ifndef ST_APP_OPTIMIZATION
bool
......@@ -212,4 +212,4 @@ rd_delete_with_device_id(oc_endpoint_t *endpoint, oc_link_t *links,
return oc_do_delete(OC_RSRVD_RD_URI, endpoint, query, handler, qos,
user_data);
}
#endif /*.ST_APP_OPTIMIZATION */
\ No newline at end of file
#endif /* ST_APP_OPTIMIZATION */
\ No newline at end of file
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