projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update snapshot(2018-01-17)
[platform/upstream/iotivity.git]
/
service
/
easy-setup
/
enrollee
/
src
/
resourcehandler.c
diff --git
a/service/easy-setup/enrollee/src/resourcehandler.c
b/service/easy-setup/enrollee/src/resourcehandler.c
index
d3dc37b
..
bebd813
100755
(executable)
--- a/
service/easy-setup/enrollee/src/resourcehandler.c
+++ b/
service/easy-setup/enrollee/src/resourcehandler.c
@@
-1516,12
+1516,12
@@
OCEntityHandlerResult OCEntityHandlerCb(OCEntityHandlerFlag flag,
{
if (OC_REST_GET == entityHandlerRequest->method)
{
{
if (OC_REST_GET == entityHandlerRequest->method)
{
- OIC_LOG(
DEBUG
, ES_RH_TAG, "Received GET request");
+ OIC_LOG(
INFO
, ES_RH_TAG, "Received GET request");
ehRet = ProcessGetRequest(entityHandlerRequest, &payload);
}
else if (OC_REST_PUT == entityHandlerRequest->method)
{
ehRet = ProcessGetRequest(entityHandlerRequest, &payload);
}
else if (OC_REST_PUT == entityHandlerRequest->method)
{
- OIC_LOG(
DEBUG
, ES_RH_TAG, "Received PUT request");
+ OIC_LOG(
INFO
, ES_RH_TAG, "Received PUT request");
//PUT request will be handled in the internal implementation
if (g_ESEasySetupResource.handle != NULL)
//PUT request will be handled in the internal implementation
if (g_ESEasySetupResource.handle != NULL)
@@
-1536,7
+1536,7
@@
OCEntityHandlerResult OCEntityHandlerCb(OCEntityHandlerFlag flag,
}
else if (OC_REST_POST == entityHandlerRequest->method)
{
}
else if (OC_REST_POST == entityHandlerRequest->method)
{
- OIC_LOG(
DEBUG
, ES_RH_TAG, "Received OC_REST_POST from client");
+ OIC_LOG(
INFO
, ES_RH_TAG, "Received OC_REST_POST from client");
if (g_ESEasySetupResource.handle != NULL)
{
ehRet = ProcessPostRequest(entityHandlerRequest, &payload);
if (g_ESEasySetupResource.handle != NULL)
{
ehRet = ProcessPostRequest(entityHandlerRequest, &payload);
@@
-1562,6
+1562,7
@@
OCEntityHandlerResult OCEntityHandlerCb(OCEntityHandlerFlag flag,
response.persistentBufferFlag = 0;
// Send the response
response.persistentBufferFlag = 0;
// Send the response
+ OIC_LOG(INFO, ES_RH_TAG, "Invoking OCDoResponse");
if (OCDoResponse(&response) != OC_STACK_OK)
{
OIC_LOG(ERROR, ES_RH_TAG, "Error sending response");
if (OCDoResponse(&response) != OC_STACK_OK)
{
OIC_LOG(ERROR, ES_RH_TAG, "Error sending response");
@@
-1581,6
+1582,8
@@
OCEntityHandlerResult OCEntityHandlerCb(OCEntityHandlerFlag flag,
OIC_LOG(DEBUG, ES_RH_TAG, "Received OC_OBSERVE_DEREGISTER from Mediator");
}
}
OIC_LOG(DEBUG, ES_RH_TAG, "Received OC_OBSERVE_DEREGISTER from Mediator");
}
}
+
+ OIC_LOG(INFO, ES_RH_TAG, "ES OCEntityHandlerCb OUT");
return ehRet;
}
return ehRet;
}