projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[IOT-1413,IOT-1415] Fixed request handling bugs for /oic/ping resource
[platform/upstream/iotivity.git]
/
resource
/
csdk
/
stack
/
include
/
internal
/
ocresourcehandler.h
diff --git
a/resource/csdk/stack/include/internal/ocresourcehandler.h
b/resource/csdk/stack/include/internal/ocresourcehandler.h
index
fbc1b9b
..
60bca1b
100644
(file)
--- a/
resource/csdk/stack/include/internal/ocresourcehandler.h
+++ b/
resource/csdk/stack/include/internal/ocresourcehandler.h
@@
-71,16
+71,21
@@
typedef enum
/** "/oic/gateway" .*/
OC_GATEWAY_URI,
#endif
/** "/oic/gateway" .*/
OC_GATEWAY_URI,
#endif
-
#ifdef WITH_PRESENCE
+#ifdef WITH_PRESENCE
/** "/oic/ad" .*/
OC_PRESENCE,
/** "/oic/ad" .*/
OC_PRESENCE,
-
#endif
+#endif
#ifdef MQ_BROKER
/** "/oic/ps" .*/
OC_MQ_BROKER_URI,
#endif
#ifdef MQ_BROKER
/** "/oic/ps" .*/
OC_MQ_BROKER_URI,
#endif
+#ifdef TCP_ADAPTER
+ /** "/oic/ping" .*/
+ OC_KEEPALIVE_RESOURCE_URI,
+#endif
+
/** Max items in the list */
OC_MAX_VIRTUAL_RESOURCES //<s Max items in the list
/** Max items in the list */
OC_MAX_VIRTUAL_RESOURCES //<s Max items in the list