Changed the /oic/ping resource registration condition
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Mon, 7 Mar 2016 06:35:36 +0000 (15:35 +0900)
committerJee Hyeok Kim <jihyeok13.kim@samsung.com>
Fri, 11 Mar 2016 02:19:53 +0000 (02:19 +0000)
commit47c277017baf1e4bed04f2b84132b2cc87bdfcfa
tree2166ecdc32cbb2207a91757812836e4adbc8691d
parent8d222b6e6aa9c73a12e07d23385b23cc22b8debd
Changed the /oic/ping resource registration condition

In order to register /oic/ping resource in case host is not client,
I modified the keepalive init/terminate logic.

Change-Id: I29c42249b5af9363517bde971b74e8f80e8fbaa4
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5571
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
resource/csdk/stack/include/internal/oickeepalive.h
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/src/oickeepalive.c