From 967cd39ae8559bb91d161d843918d30a41ae457d Mon Sep 17 00:00:00 2001 From: Habib Virji Date: Sun, 6 Mar 2016 20:29:17 +0000 Subject: [PATCH] Update ocstack.c cbData comments C API cbData currently implies response is only when whole process is completed. C++ API OCPlatform.h holds the details correctly for resourceHandler. Jira Issue: IOT-678 Change-Id: I5ce19a03fe44189679ae05346fdfcb21f72d1b37 Signed-off-by: Habib Virji Reviewed-on: https://gerrit.iotivity.org/gerrit/5467 Tested-by: jenkins-iotivity Reviewed-by: Jon A. Cruz --- resource/csdk/stack/include/ocstack.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resource/csdk/stack/include/ocstack.h b/resource/csdk/stack/include/ocstack.h index 641086f..d03d5f9 100644 --- a/resource/csdk/stack/include/ocstack.h +++ b/resource/csdk/stack/include/ocstack.h @@ -134,7 +134,9 @@ OCStackResult OCProcess(); * well-known multicast IP address, the qos will be forced to ::OC_LOW_QOS * since it is impractical to send other QOS levels on such addresses. * @param cbData Asynchronous callback function that is invoked by the stack when - * discovery or resource interaction is complete. + * discovery or resource interaction is received. The discovery could be + * related to filtered/scoped/particular resource. The callback is + * generated for each response received. * @param options The address of an array containing the vendor specific header options * to be sent with the request. * @param numOptions Number of header options to be included. -- 2.7.4