platform/upstream/iotivity.git
8 years agoFix crash issue when called unsubscribePresence.
hyuna0213.jo [Thu, 1 Sep 2016 00:12:08 +0000 (09:12 +0900)]
Fix crash issue when called unsubscribePresence.

Adding null initialization code.

Change-Id: I2d52b1fa479dd1956f089d202aa01fcc7da09e52
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11069
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoModify cloud URI for sample
cc [Tue, 30 Aug 2016 05:04:59 +0000 (14:04 +0900)]
Modify cloud URI for sample

The default URIs are changed for sign-up, sign-in, token and refresh.

Change-Id: I06e60ba7733b59089c89fd031ab811e7a4191760
Signed-off-by: cc <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11103
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoFix defects detected by SVACE system in easy setup
Heewon Park [Wed, 31 Aug 2016 06:25:51 +0000 (15:25 +0900)]
Fix defects detected by SVACE system in easy setup

Change-Id: I8f69f7d083bd5b7a77c146e67b471614a911b7a3
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11191
Reviewed-by: Hemant Mahsky <h.mahsky@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoFix wrong comparison statement in Easy setup.
Jihun Ha [Tue, 30 Aug 2016 13:15:04 +0000 (22:15 +0900)]
Fix wrong comparison statement in Easy setup.

mRemoteEnrollee can not be converted to boolean. Thus, it should
be changed to null checking statement.

Change-Id: Iec38fa2995fbc70b97e37e7b9318a19a82f0c2fb
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11157
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoAdd message queue, group&invite sample for cloud
Jee Hyeok Kim [Mon, 29 Aug 2016 03:56:35 +0000 (12:56 +0900)]
Add message queue, group&invite sample for cloud

1. Add message queue clients
2. Add group & invite samples
3. cleanup existing clients

Change-Id: Ibe107a979e3cee253c4a74bbbc991da934371bc2
Signed-off-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11099
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoUpdate unit test for cloud RD
Minji Park [Tue, 30 Aug 2016 08:35:51 +0000 (17:35 +0900)]
Update unit test for cloud RD

- fix unit test for resource presence in RD

Change-Id: I658e8952723d49a849a8c8b148790546979e2fd3
Signed-off-by: Minji Park <minjii.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11123
Reviewed-by: Eunok Shin <eunok.shin@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
8 years agoUpdate SConscript of connectivity-abstraction
hyuna0213.jo [Tue, 30 Aug 2016 04:20:17 +0000 (13:20 +0900)]
Update SConscript of connectivity-abstraction

currently bt_edr_adapter is not supported on linux platform.
but if TARGET_TRANSPORT=ALL is used, all adapters are included.

Change-Id: I4439154a4f08c5e040b7a63f104052c6a5aa1097
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11111
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoremoved #ifdef preprocessor wrapping #define
Jaewook Jung [Thu, 11 Aug 2016 08:28:50 +0000 (17:28 +0900)]
removed #ifdef preprocessor wrapping #define

Wrapping #define preprocessor with #ifdef doesn't have any influence.
It is unnecessary. Rather it could have a riskiness for redefinition.

Change-Id: I8262b288d75988de0b96d6879358d830d5de848a
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10261
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoPort simpleserverHQ and simpleclientHQ to Windows
Anisha Aggarwal [Tue, 23 Aug 2016 21:02:06 +0000 (14:02 -0700)]
Port simpleserverHQ and simpleclientHQ to Windows

Change-Id: I481987321f27b52780d6c907886dd1d1276039c8
Signed-off-by: Anisha Aggarwal <anisha.aggarwal@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10829
Reviewed-by: David Antler <david.a.antler@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofix bug on JniOnObserveListener related to AccountManager
Jaewook Jung [Tue, 30 Aug 2016 09:29:33 +0000 (18:29 +0900)]
fix bug on JniOnObserveListener related to AccountManager

Change-Id: I5d5f77838c66aff4cfe1c4bbf7d04d5386a222f2
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11129
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed potential issue for Android JNI
jihwan.seo [Wed, 31 Aug 2016 04:11:48 +0000 (13:11 +0900)]
fixed potential issue for Android JNI

Change-Id: I798b87fde00886061f53536c8c464e1cf7861e0d
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11171
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoresolve build warnings in base layer related to logging
Jaewook Jung [Wed, 31 Aug 2016 04:36:42 +0000 (13:36 +0900)]
resolve build warnings in base layer related to logging

resolve build warnings in base layer related to logging

Change-Id: Ia80a4f05d563e4ae8f7d65b4407cc66092caf20e
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11173
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago1) Modified JNI to fix few issues.
nikhil.a [Sun, 28 Aug 2016 16:08:10 +0000 (21:38 +0530)]
1) Modified JNI to fix few issues.

2) Update cpp-wrapper code causing issue with JAVA API's.

Change-Id: I55b5b0d85fce9011287868773e17144f9ce4ea61
Signed-off-by: nikhil.a <nikhil.a7@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11005
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit dfd2b5b33435d137d2344482bba6d9d5710e8823)
Reviewed-on: https://gerrit.iotivity.org/gerrit/11039
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years agofixed string coverter for callback parameter related MQ APIs
jihwan.seo [Tue, 30 Aug 2016 08:04:31 +0000 (17:04 +0900)]
fixed string coverter for callback parameter related MQ APIs

both CreateMQTopic and DiscoveryMQTopics callback
had wrong coverter for uri parameter.

Change-Id: I71f01a473ed5133880e2e50c2d0df7c1c7a7cad6
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11117
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoUpdate Android Sample App for MQ in simplebase
jihwan.seo [Wed, 24 Aug 2016 06:48:57 +0000 (15:48 +0900)]
Update Android Sample App for MQ in simplebase

Change-Id: I6a2373e7a97b67ff8723491843fa3959cb0cc840
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10863
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoRemoving unit test Error
sahil bansal [Wed, 31 Aug 2016 10:42:28 +0000 (16:12 +0530)]
Removing unit test Error

Change-Id: I49a5bf51b5ee7aeb1b74fc4386964f609834266c
Signed-off-by: sahil bansal <sahil.bansal@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11215
Reviewed-by: Jongsung Lee <js126.lee@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
Tested-by: Randeep Singh <randeep.s@samsung.com>
8 years agoAdded C++ wrapper for cert provisioning apis
Randeep Singh [Sat, 27 Aug 2016 09:02:12 +0000 (14:32 +0530)]
Added C++ wrapper for cert provisioning apis

[Patch #2,#3] Updated code according to review comments.
           Moved saveTrustCertChain to OCSecure as static api.

Change-Id: I8fe3fa316a6c4822f642ad0094d97585f77253d5
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10997
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years ago[IoTivity Simulator] Updated the eclipse plugins to load the 1.2.0+RC1 1.2.0-RC1
Senthil Kumar G S [Tue, 30 Aug 2016 15:38:42 +0000 (21:08 +0530)]
[IoTivity Simulator] Updated the eclipse plugins to load the
connectivity abstraction library.

Previouly CA was built as a static library but now its built as a
shared library.
Due to this, simulator eclipse plugins should explicitly load it
and update the manifest file.

Also the run-time path should be specified to help the loader to find the
dependent libraries of octbstack in resource/csdk/SConscript
for simulator to avoid the need to set the LD_LIBRARY_PATH
to run the plugins (Similar to one of our previous changes
https://gerrit.iotivity.org/gerrit/#/c/7673/).

Change-Id: I153934ecff71e9978e4726c017cdb816c96b96d6
Signed-off-by: Senthil Kumar G S <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11163
Reviewed-by: Harish Marappa <h.marappa@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoUpdate mediator android sample app.
Heewon Park [Tue, 30 Aug 2016 07:24:02 +0000 (16:24 +0900)]
Update mediator android sample app.

     - chage sign in/up logic using accountmanager.
     - add cloud security logic.

Conflicts:

        service/easy-setup/sampleapp/mediator/android/EasySetup/app/src/main/assets/oic_svr_db_client.dat

Change-Id: I88784ca27a13fdf841fcba73a460c78baf46415f
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11059
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoUpdate certificate-provisioin & acl-provision
Heewon Park [Mon, 29 Aug 2016 08:30:25 +0000 (17:30 +0900)]
Update certificate-provisioin & acl-provision

Conflicts:

        service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/CloudProp.java

Change-Id: Iddb5023ddfee34190502223a7f63c15c7230d988
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10905
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoFix a faulty logic in parsing a received query and in setting a URI string
sy01.youn [Tue, 30 Aug 2016 06:03:58 +0000 (15:03 +0900)]
Fix a faulty logic in parsing a received query and in setting a URI string

When the request is sent with an empty query string, ehRequest->query is
empty string, which is interpreted as a default interface. This patch adds
a conditional statement to handle this case.
Additionally, due to https://gerrit.iotivity.org/gerrit/#/c/9111/ patch,
OCRepPayloadSetUri API is going not to be used in a simple resource like
wifi, cloudserver, and devConf resource. So, OCRepPayloadSetPropString
is used to write an URI of the resource.

Change-Id: Ie815e752007767881cef51018453e52c1a0e5863
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Signed-off-by: sy01.youn <sy01.youn@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11045
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agocomment out the cpp-layer unittest in notificiation service.
jaesick.shin [Tue, 30 Aug 2016 10:35:13 +0000 (19:35 +0900)]
comment out the cpp-layer unittest in notificiation service.

unittest is failed.
after resolve and then commit.

Change-Id: I99dcc4189e4b1b0205c51c17a87b5513efc74c61
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11139
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoresolve build warnings in base layer for linux
Jaewook Jung [Thu, 25 Aug 2016 06:25:04 +0000 (15:25 +0900)]
resolve build warnings in base layer for linux

resolve build warnings in base layer for linux
(unused parameter, comparison warning..)

Change-Id: I91e69af57ec653260ebddf4d89d5a5d5fcc0ffe4
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10895
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoadd with_tcp in auto build
jihwan.seo [Thu, 11 Aug 2016 07:07:13 +0000 (16:07 +0900)]
add with_tcp in auto build

Change-Id: I1aa7dfebe8d971f6ea45ddeb362f25d0e3a66d5f
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10251
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoIOT-1213 Fix build failure for test build
George Nash [Fri, 12 Aug 2016 21:49:27 +0000 (14:49 -0700)]
IOT-1213 Fix build failure for test build

When building with TEST=1 the build failed reporting
multiple environments were trying to build the target 'ut'

This was a hardcoded dummy target that is used to force the
unit tests to run.  The dummy target was switched from the
hardcoded 'ut' name to use the name of the unit test so two
environments don't think they are building the same target.

Change-Id: I9ac35752f0a1c7acf902bf0087a212833bf5a6a5
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10443
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed presence for multicast
jihwan.seo [Thu, 25 Aug 2016 08:37:05 +0000 (17:37 +0900)]
fixed presence for multicast

Change-Id: Ifed4256e1a2dfe66e70d53afb9d624dc5d406d80
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10915
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoTCPServer's CAReceiveMessage fix
Andrii Shtompel [Wed, 10 Aug 2016 15:12:08 +0000 (18:12 +0300)]
TCPServer's CAReceiveMessage fix

Details:
1. This change allows to correctly receive data even if some senders
   do not send all required data

[Patch #3] Return KeepAlive support

Cherry-pick to master https://gerrit.iotivity.org/gerrit/#/c/10235/
It was already reviewed by several people including module maintainer

Change-Id: I42831d75dd39d8c3ca91607157807cf022f01231
Signed-off-by: Andrii Shtompel <a.shtompel@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10839
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoadd specific comment for entity handler result usage.
jihwan.seo [Tue, 23 Aug 2016 06:40:15 +0000 (15:40 +0900)]
add specific comment for entity handler result usage.

Change-Id: I08ba3a5c529ed82da23c43e97ff2e5cc79c4c92a
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10775
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoyocto: use LDFLAGS if defined in build environment
Philippe Coval [Mon, 29 Aug 2016 13:16:13 +0000 (15:16 +0200)]
yocto: use LDFLAGS if defined in build environment

Without this change, extra flags like "--hash-style=gnu"
 will be ignored and quality checks will fail.

Reported message is:
  ERROR: iotivity-* do_package_qa: QA Issue:
  No GNU_HASH in the elf binary:
  '*/samples/opt/iotivity/examples/plugins/zigbee/iotivityandzigbeeserver'
  (...)
  ERROR: iotivity-* do_package_qa: QA run found fatal errors. Please consider fixing them.
  ERROR: iotivity-* do_package_qa: Function failed: do_package_qa
  (...)
  Summary: There were 8 ERROR messages shown, returning a non-zero exit code.

Bug: https://lists.yoctoproject.org/pipermail/yocto/2016-August/031442.html
Bug-AGL: https://jira.automotivelinux.org/browse/SPEC-158
Change-Id: Ifa240817c768df3a7d154d36b699de8ca0f0307a
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11073
Reviewed-by: Kishen Maloor <kishen.maloor@intel.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Tested-by: Dave Thaler <dthaler@microsoft.com>
8 years agoAdd Fragment for cloud test
jihwanseo [Fri, 19 Aug 2016 07:46:48 +0000 (16:46 +0900)]
Add Fragment for cloud test

Include AccountManager, Resource Directory, Message Queue

Change-Id: I9bf2c582b817152880c26d5bcd5d2e7d1d7186af
Signed-off-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10663
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agofix android Build Scons for Security
jihwan.seo [Mon, 29 Aug 2016 09:58:50 +0000 (18:58 +0900)]
fix android Build Scons for Security

Change-Id: I30a868beac8e1268ccc73da1f8a1c61a206f819e
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11033
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoUpdate TestCase for MQ C++ API
jihwan.seo [Mon, 29 Aug 2016 06:51:57 +0000 (15:51 +0900)]
Update TestCase for MQ C++ API

As some MQ APIs are changed, update their TC.

Change-Id: I93eb31b2efba0d635db493aefb8817922f4f9538
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11023
Tested-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
8 years agoOCRepPayloadSetUri API can use before OCRepPayloadAppend().
Jack Lee [Tue, 30 Aug 2016 02:17:33 +0000 (11:17 +0900)]
OCRepPayloadSetUri API can use before OCRepPayloadAppend().
OCRepPayloadSetUri API can not decide whether Payload is
collection or not.

Change-Id: I5790e5c3b0a4eb88451ad759cb6ec441c15d5ec9
Signed-off-by: Jack Lee <jjack.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11095
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Tested-by: Habib Virji <habib.virji@samsung.com>
8 years ago[IOT-1226] Updating code for reset case without client knowledge
saurabh.s9 [Thu, 25 Aug 2016 12:20:51 +0000 (17:50 +0530)]
[IOT-1226] Updating code for reset case without client knowledge

Change-Id: I24af255c499dd6502d5a4186c4bad7a2ede7225a
Signed-off-by: saurabh.s9 <saurabh.s9@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10919
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Heewon Park <h_w.park@samsung.com>
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
8 years agonotifypaylaod format fixed in InviteManager
Jung Seungho [Tue, 30 Aug 2016 01:26:23 +0000 (10:26 +0900)]
notifypaylaod format fixed in InviteManager

Change-Id: If85652d2eca70bd6ba5b02b74cb75947d201df10
Signed-off-by: Jung Seungho <shonest.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11093
Reviewed-by: Yeonghun Nam <yeonghun.nam@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
8 years agoFix bug for storage update to provider.
KIM JungYong [Mon, 29 Aug 2016 12:20:43 +0000 (21:20 +0900)]
Fix bug for storage update to provider.

The provider will update two type of information,
one of information is connection information, and others is topic list.
It is problem that whole infomation was updated although just one of information updated.
In this patch, update logic is seperated updating infomation.

Change-Id: I0fe1062791ac43fadadbba04311b903c44678a1e
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11051
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoUpdate validation check logic on Android SDK.
Heewon Park [Mon, 29 Aug 2016 06:13:24 +0000 (15:13 +0900)]
Update validation check logic on Android SDK.

Change-Id: Ia0b2d1f7027ee68343a8de715ece26267a0c4dbf
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10951
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years agoUsing shared library instead of static on linux platform
hyuna0213.jo [Wed, 10 Aug 2016 01:00:43 +0000 (10:00 +0900)]
Using shared library instead of static on linux platform

Using shared library instead of static on linux platform

Change-Id: Ie6023095990150f4f840a41ad8fac9f7ef89482f
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10209
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoUpdate createRemoteEnrollee function.
Heewon Park [Mon, 29 Aug 2016 06:07:31 +0000 (15:07 +0900)]
Update createRemoteEnrollee function.

 - easy-setup support only OCResource which is through UDP Adapter.

Change-Id: I97fb7b63d5bd78cf613bf2d0049859361e28b8b5
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10949
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years agoUpdate a CBOR encoding logic for RD publish payload
hyuna0213.jo [Thu, 25 Aug 2016 23:58:39 +0000 (08:58 +0900)]
Update a CBOR encoding logic for RD publish payload

- ins value has to be included to publish resouce even in case of zero
- update rdclient sample

Change-Id: I84eef889b90bea2d814e336a3ad77de952b59f6a
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10927
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoRemove unused enum eAccessPolicy
cc [Fri, 26 Aug 2016 13:12:01 +0000 (22:12 +0900)]
Remove unused enum eAccessPolicy

The unnessary enum data is removed.

Change-Id: I6d55405827a365689a5a8d452dd400464b1fbd16
Signed-off-by: cc <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10971
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoFix Default ACL
Jongmin Choi [Wed, 17 Aug 2016 09:47:45 +0000 (18:47 +0900)]
Fix Default ACL

Remove unnecessary entries from ACL
Remove "ad", "amacl", "dpairing", "pconf"

Patch #1: Initial upload

Change-Id: Id7cd0c2f7d6891332499decc8acd378eda6a5f5f
Signed-off-by: Jongmin Choi <jminl.choi@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10551
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
8 years agofix compile error caused on windows build
Jaewook Jung [Mon, 29 Aug 2016 04:40:23 +0000 (13:40 +0900)]
fix compile error caused on windows build

fix compile error caused on windows build

Change-Id: I589f505dc002a9940f2a5253345be96f70acaed5
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11011
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoFix unit test of notification provider service.
KIM JungYong [Fri, 26 Aug 2016 10:53:46 +0000 (19:53 +0900)]
Fix unit test of notification provider service.

unit test bug is fixed at notification provider service.

Change-Id: I83882ceb626be56fc47d5da2cb6eda60e17207e9
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10961
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years ago[IOT-1230] Resolving tizen platform build issue with mbedtls library included
saurabh.s9 [Sat, 27 Aug 2016 08:25:35 +0000 (13:55 +0530)]
[IOT-1230] Resolving tizen platform build issue with mbedtls library included

Change-Id: Ie48369da681590464421231763159ded5d484def
Signed-off-by: saurabh.s9 <saurabh.s9@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10995
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Reviewed-by: Dmitriy Zhuravlev <d.zhuravlev@samsung.com>
8 years ago[IOT-1220] Fix struct packing for Windows
Dan Mihai [Fri, 19 Aug 2016 17:11:00 +0000 (10:11 -0700)]
[IOT-1220] Fix struct packing for Windows

__pragma(pack(1)) changes packing across all the following structs in
the current source code file. So depending on including dtls.h or not,
we were getting structs either packed with natural alignment, or with
1 byte alignment, unpredictably.

Change-Id: Ica19a26f4173f7baabe7ee7da2dd6c5d3830558e
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10683
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: David Antler <david.a.antler@intel.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
8 years ago[IOT-1209] Fix provisioningclient for Windows
Dan Mihai [Mon, 8 Aug 2016 15:33:05 +0000 (08:33 -0700)]
[IOT-1209] Fix provisioningclient for Windows

1. Include security provisioning code and data just in octbstack.dll,
   instead of duplicating it in provisioningclient.exe.

2. Use octbstack.def instead of dllexport/dllimport, because dllexport
   and dllimport are too fragile.

Change-Id: Ic96e249e71563824ae943883168cae2e56e10937
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9993
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-by: David Antler <david.a.antler@intel.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
8 years agoCorrected CASelectNetwork() result check for stack initialization
hyuna0213.jo [Fri, 26 Aug 2016 04:38:42 +0000 (13:38 +0900)]
Corrected CASelectNetwork() result check for stack initialization

In the case CA status is not initialized, CASelectNetwork() is not
called.

Change-Id: I6588b639e35a7f84c69a52550fe601fb9747c76f
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10939
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoAdd WITH_TCP test in simpleserver/simpleclient for android
jihwan.seo [Wed, 17 Aug 2016 08:41:02 +0000 (17:41 +0900)]
Add WITH_TCP test in simpleserver/simpleclient for android

Change-Id: Ib9e8cf1939525e125f26edcbdcf234fc24681bf3
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10547
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years ago[IOT-1237] [IOT-1225] [IOT-1233] Resolving build issue related to mbedtls
Dmitriy Zhuravlev [Fri, 26 Aug 2016 04:54:07 +0000 (07:54 +0300)]
[IOT-1237] [IOT-1225] [IOT-1233] Resolving build issue related to mbedtls

Change-Id: I73f1b46f149328c2c9ee8467bb6605b3b165b717
Signed-off-by: saurabh sharma <saurabh.s9@samsung.com>
Signed-off-by: Dmitriy Zhuravlev <d.zhuravlev@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10881
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
8 years agoAdd a missed c header file
Youngjae Shin [Tue, 16 Aug 2016 05:12:16 +0000 (14:12 +0900)]
Add a missed c header file

  Although sample programs use the ocpayload.h, the header was not
  installed.

Change-Id: Ibb9c92b540fc0365b81acbbd29d8b73ee170235d
Signed-off-by: Youngjae Shin <yj99.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10485
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
8 years agoModify Consumer Logic to call the Provider Changed CB
YounghyunJoo [Tue, 23 Aug 2016 06:14:22 +0000 (15:14 +0900)]
Modify Consumer Logic to call the Provider Changed CB

- remove if statement which should be modified when change to Provider Changed CB from Accepted CB

Conflicts:
        service/notification/src/consumer/NSConsumerInternalTaskController.c

Change-Id: Icb4b0afe55f2589a9d5bdcc6b8655f8f3a59fdd5
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10943
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoIOT-1186 Fix OCRepPayloadSetUri to return error if it is not a collection.
Arena [Mon, 1 Aug 2016 14:57:16 +0000 (23:57 +0900)]
IOT-1186 Fix OCRepPayloadSetUri to return error if it is not a collection.

Change-Id: I26d4454462eb70b9b6fa2c4a2902d094653ce30e
Signed-off-by: Arena Son <codeholic.arena@gmail.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9111
Reviewed-by: JaeKeun Lee <jjack.lee@samsung.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Tested-by: Habib Virji <habib.virji@samsung.com>
8 years agoBug fixes for memory leak in NSProviderMemoryCache.
jaesick.shin [Thu, 25 Aug 2016 07:20:00 +0000 (16:20 +0900)]
Bug fixes for memory leak in NSProviderMemoryCache.

Add free logic for memory leak in NSStorageWrite function.

Change-Id: Ifd8ef3b08cc61e798255be5f472df6e9d4e3575a
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10901
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoRemoved clientCB delete logic when we received error from CA
hyuna0213.jo [Thu, 11 Aug 2016 08:08:20 +0000 (17:08 +0900)]
Removed clientCB delete logic when we received error from CA

If we remove clientCB when we received error message from CA,
we cann't receive the other response message in case request message
is sent over multi transport. so clientCB shouldn't be removed.

Change-Id: I5289fe4892a32f7da1d84cf3f50493e260e4eada
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10257
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoRemove keepalive entry before sending the request for disconnection.
hyuna0213.jo [Mon, 22 Aug 2016 06:17:30 +0000 (15:17 +0900)]
Remove keepalive entry before sending the request for disconnection.

Remove keepalive entry before sending the request for disconnection.

Change-Id: Ia56436309a46ef1e2e690cbd7425a5d7284ad60c
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10715
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoFixed line endings in the gradlew script
George Nash [Wed, 10 Aug 2016 17:30:08 +0000 (10:30 -0700)]
Fixed line endings in the gradlew script

The gradlew script must have linux style line endings.
This is need to avoid a 'No such file or directory'
error.

Change-Id: Idcd2b46fb61e5e2b938f46963eb2f298c8a3436d
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10237
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Tim Kourt <tim.a.kourt@intel.com>
Reviewed-by: Larry Sachs <larry.j.sachs@intel.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agofix build error caused on specific compiler
Jaewook Jung [Fri, 26 Aug 2016 02:25:19 +0000 (11:25 +0900)]
fix build error caused on specific compiler

After I modified the constructor of OCResourceRequest to resolve build warning,
(https://gerrit.iotivity.org/gerrit/#/c/10887/)
some compiler cause compile error. So I fixed it.

Change-Id: Iaa96a574750dde7da1972cfea412df5c36b566f7
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10933
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoonResponseReceived bug fixed in Account proxy
Jung Seungho [Fri, 26 Aug 2016 03:56:46 +0000 (12:56 +0900)]
onResponseReceived bug fixed in Account proxy

Change-Id: I5a94a648c2d206bba9953cb4ebaf1486dcfb57c3
Signed-off-by: Jung Seungho <shonest.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10937
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
8 years agoAdd resouce publish request, response handling in cloud interface
Minji Park [Thu, 25 Aug 2016 07:01:30 +0000 (16:01 +0900)]
Add resouce publish request, response handling in cloud interface

- resource publish request and response handling added in CI
  to append routing info to href

Change-Id: I4040d142648cab5a87a5241fc489530c6294ab32
Signed-off-by: Minji Park <minjii.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10897
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
8 years agoresolve build warnings for android
Jaewook Jung [Thu, 25 Aug 2016 07:42:12 +0000 (16:42 +0900)]
resolve build warnings for android

resolve build warnings for android

Change-Id: I2c7bf77635deffc26e1ed1005750842f26e1730f
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10903
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoResolved build warning for linux
hyuna0213.jo [Thu, 25 Aug 2016 04:00:23 +0000 (13:00 +0900)]
Resolved build warning for linux

fix build warning about incompatible pointer type.

Change-Id: Ia903a071440fcd347deecf9909e1ccde6c44ad10
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10891
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoresolve build warning on constructor of OCResourceRequest
Jaewook Jung [Thu, 25 Aug 2016 00:45:32 +0000 (09:45 +0900)]
resolve build warning on constructor of OCResourceRequest

resolved build warning caused by missing initializer for each member
in OCResourceRequest class.

Change-Id: I723cb36010ed84e6b532c7d842ee8f438674ed78
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10887
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed warning for Android build
jihwan.seo [Thu, 18 Aug 2016 05:33:55 +0000 (14:33 +0900)]
fixed warning for Android build

Change-Id: I9e992a42f275dd6f36e43a0eb98a32688c686ba9
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10577
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoClean compilar warnings
George Nash [Fri, 5 Aug 2016 18:40:34 +0000 (11:40 -0700)]
Clean compilar warnings

[unused-variable] warning removed from
    policyengine.c
    caipserver.c
    ocresource.c
[unused-but-set-variable] warning removed from
    psinterface.c
    policyengine.c
[return-type] warning removed from
    psinterface.c
[sign-compare] warning removed from
    doxmresource.c

Change-Id: I44b633871e78a2baf9d0595dff926834581160c9
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10087
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoAccountManager bug fixed
Jung Seungho [Thu, 25 Aug 2016 08:25:46 +0000 (17:25 +0900)]
AccountManager bug fixed

replace userInfo.getUuid() with userUuid that already created.

Change-Id: Icc08e33499c7b15663359ea76a4073fb75d5e92c
Signed-off-by: Jung Seungho <shonest.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10907
Reviewed-by: Yeonghun Nam <yeonghun.nam@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
8 years agoUpdate security-provisioning logic
Jihun Ha [Thu, 25 Aug 2016 02:27:02 +0000 (11:27 +0900)]
Update security-provisioning logic

 - add client's security-DB reset logic when server's security-DB is deleted

Change-Id: I0e6eadd9effb17e12da2c528ceb41ccb551a20a4
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10761
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years agoReplace normal Tag in Log with Easy Setup specified Tag
Heewon Park [Thu, 25 Aug 2016 07:16:39 +0000 (16:16 +0900)]
Replace normal Tag in Log with Easy Setup specified Tag

 - using wrong TAG.

Change-Id: If4e01e3e7d66116e69ffe7e76fb8a2d875de4eb9
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10899
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoadd JNI methods related to group&invite
Jaewook Jung [Thu, 18 Aug 2016 13:41:33 +0000 (22:41 +0900)]
add JNI methods related to group&invite

As I added new C++ APIs related to group and invite, I implemented JNI
methods too.
(https://gerrit.iotivity.org/gerrit/#/c/10149/)

Change-Id: I48be652cec7eb6d85cd8e406481e62a7d3f2dc5f
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10625
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoMerge remote-tracking branch 'origin/notification-service'
cc [Thu, 25 Aug 2016 04:56:19 +0000 (13:56 +0900)]
Merge remote-tracking branch 'origin/notification-service'

Topic feature is added.

Change-Id: I2dd9127d274e2f8d11c19abdabda7188517410da
Signed-off-by: cc <ch79.cho@samsung.com>
8 years agoModify response logic for NSTopicEntityHandler.
jaesick.shin [Wed, 24 Aug 2016 08:48:59 +0000 (17:48 +0900)]
Modify response logic for NSTopicEntityHandler.

two times, send response.

second patch included,
remove the DoResponse for error case.

Change-Id: Ife6e8b87868afa6307ed82ca41430b1837c56798
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10879
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoUpdated JAVA and JNI API's for Topic Resource
nikhil.a [Wed, 24 Aug 2016 15:53:08 +0000 (21:23 +0530)]
Updated JAVA and JNI API's for Topic Resource

1. Added JAVA APIs related to topic resource for provider and consumer
2. Added JNI for respective Java API's
3. Minor changes for cpp-wrapper

Change-Id: I459c70b64529040010d099bf239d42863b1417c2
Signed-off-by: nikhil.a <nikhil.a7@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10883
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoUpdated Topic resource changes for C++ wrapper
abitha.s [Fri, 12 Aug 2016 08:47:21 +0000 (14:17 +0530)]
Updated Topic resource changes for C++ wrapper

1. Modified the Topic resource and Topic LL changes in Provider and Consumer
2. Updated the APIs for Topic resource in C++ wrapper
3. Updated the sample application for calling Topic APIs

patch 1 : initial commit
patch 2 : updated commit message
patch 3 : updated review comments
patch 4 : updated commit message
patch 5 : removed NSAccessPolicy struct

Change-Id: I737bef2eebb129c5f13034d990398d75dd13b3b7
Signed-off-by: abitha.s <abitha.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10623
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Chihyun Cho <ch79.cho@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoFix bug for Find provider using Address.
KIM JungYong [Wed, 24 Aug 2016 04:41:12 +0000 (13:41 +0900)]
Fix bug for Find provider using Address.

When finding provider using address,
search logic do invalid type casting for provider connection information.
For the above reason, Provider was never finding with address on storage.
In this patch, invalid type casting is fixed.

Change-Id: I6cde6c9b85e589501cb3ae7567246e631d5e9a65
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10845
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoModify cloud interface
cc [Mon, 22 Aug 2016 07:00:12 +0000 (16:00 +0900)]
Modify cloud interface

Cloud interface and APIs are modified according to cloud module changes.
And configurations related to the interface are changed.

Conflicts:
service/notification/examples/linux/notificationconsumer.c

Change-Id: I0c7cb16dd19596cda90c0eef2a6332cc6a5532ae
Signed-off-by: cc <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10717
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoBug fixes for unlock mutex.
jaesick.shin [Wed, 24 Aug 2016 08:42:09 +0000 (17:42 +0900)]
Bug fixes for unlock mutex.

Add unlock mutex NSStorageDelete.

Change-Id: I52795aff7395051b00f60f764163cda85e318be1
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10877
Reviewed-by: Chihyun Cho <ch79.cho@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoAdd explanatory comments for doxygen in easy setup
Jihun Ha [Wed, 24 Aug 2016 03:03:57 +0000 (12:03 +0900)]
Add explanatory comments for doxygen in easy setup

Add comments in easy setup class.
Additionally, header files of internal classes moves to src folder so that
they are excluded in doxygen file.

Change-Id: I7b4b46de0206bf81d19812e9236d1fe4afd4b1a7
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10843
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoAccountManager bug fixed (private group creation)
yeonghun.nam [Wed, 24 Aug 2016 08:05:38 +0000 (17:05 +0900)]
AccountManager bug fixed (private group creation)

1. add device logic is fixed (when the other device of a user once signed up)

Change-Id: Ic35638e457b504514e0aa0e14b61517881c05c72
Signed-off-by: yeonghun.nam <yeonghun.nam@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10875
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
8 years agoAdd Consumer Logic to update observe result for each connections
YounghyunJoo [Wed, 24 Aug 2016 05:10:58 +0000 (14:10 +0900)]
Add Consumer Logic to update observe result for each connections

- Modify to update result additionally in case of observe fail during while loop

Change-Id: I272db06e182e0ded3c227de571fa15cd736feabe
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10853
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Chihyun Cho <ch79.cho@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoAdd new RD API to support a specific device id.
hyuna0213.jo [Mon, 22 Aug 2016 11:26:51 +0000 (20:26 +0900)]
Add new RD API to support a specific device id.

Add new RD API to support a specific device id.

Change-Id: Ifa6cf02752ad53e180818bceef0ac75650875889
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10739
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoUpdate readme files for cloud
Jee Hyeok Kim [Wed, 24 Aug 2016 05:34:23 +0000 (14:34 +0900)]
Update readme files for cloud

1. Update readme files for cloud
   (CI, RD, AS, MQ)

2. Update readme file for sample client

Change-Id: I3459192c3d43d4a3e6621980b881ac5e7876ce68
Signed-off-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10855
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoFix wrong API call in easy setup
Jihun Ha [Wed, 24 Aug 2016 07:10:23 +0000 (16:10 +0900)]
Fix wrong API call in easy setup

getESCloudState is removed in https://gerrit.iotivity.org/gerrit/#/c/10685/.
Instead, getESResult is used.

Change-Id: I5972ba99508230b53e42e1b6f0a0281a81d48076
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10867
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years agoAdd logic to handle GET/POST request with various interface
Jihun Ha [Wed, 24 Aug 2016 06:48:24 +0000 (15:48 +0900)]
Add logic to handle GET/POST request with various interface

Provisioning resource supports Baseline, link-list, batch interface and
each interface expects a different payload format. This patch is to handle
this.

Change-Id: If6513b4442377a3493d80f68bc04050e58f889c7
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10865
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoremoved unnecessary enum value for message queue.
jihwan.seo [Thu, 18 Aug 2016 07:38:32 +0000 (16:38 +0900)]
removed unnecessary enum value for message queue.

Change-Id: I75393da0348cdc32cf3ea08c0b81709d6820cdb6
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10589
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agofixed to convert Result issue related OC_EH_VALID, OC_STACK_SLOW_RESOURCE
jihwan.seo [Fri, 19 Aug 2016 07:52:41 +0000 (16:52 +0900)]
fixed to convert Result issue related OC_EH_VALID, OC_STACK_SLOW_RESOURCE

when return value in entity handler is set OC_EH_VALID, OC_EH_SLOW,
Error response was sent automatically.

Change-Id: Ica8042aab4e91ec8d276cde1ee2b8e6cd4216997
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10779
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoSend ack response when the request is CON for presence
hyuna0213.jo [Tue, 23 Aug 2016 01:15:53 +0000 (10:15 +0900)]
Send ack response when the request is CON for presence

If resource-client subscribe presence with CON, resource-server
should send the response message to stop the retransmission.

Change-Id: I90008dffc6a8940c9f1645c27d4ded6efa6d9421
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10755
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoChange uri from 'ocf' to 'oic'
Jaehong Jo [Mon, 22 Aug 2016 05:57:30 +0000 (14:57 +0900)]
Change uri from 'ocf' to 'oic'

According to a OCF spec.
And associated with the patch below.
https://gerrit.iotivity.org/gerrit/#/c/10581/

Change-Id: I74cab69eb1b0a0b241591c0e48ee5fe63ce3f54d
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10713
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Eunok Shin <eunok.shin@samsung.com>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoadded APIs related to group&invite on OCAccountManager
Jaewook Jung [Fri, 29 Jul 2016 08:34:31 +0000 (17:34 +0900)]
added APIs related to group&invite on OCAccountManager

According to the OCF cloud specification, I implemented new 15 APIs
related to group and invite.
: createGroup, getGroupList, deleteGroup, joinGroup, addDeviceToGroup,
  getGroupInfo, leaveGroup, deleteDeviceFromGroup, observeGroup,
  cancelObserveGroup, observeInvitation, cancelObserveInvitation,
  sendInvitation, cancelInvitation, deleteInvitation

Change-Id: I29e4cb8839d254a58be48b04d0fef35e6fbb2867
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10149
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoModify cloud client buildscript
Jee Hyeok Kim [Wed, 24 Aug 2016 05:43:48 +0000 (14:43 +0900)]
Modify cloud client buildscript

1. Uncomment cloud client build script.

Change-Id: Icbf836be13684322f96bd2791c916da9790ed516
Signed-off-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10857
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoUse global variable to pass the event from ca jni to app in android
hyuna0213.jo [Mon, 15 Aug 2016 23:29:22 +0000 (08:29 +0900)]
Use global variable to pass the event from ca jni to app in android

Use global variable to not create the local variable when we received
event from stack.

Change-Id: I013d916e531568f0668eb1ee850d234591607465
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10467
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoRead CA cert from SVR DB for TLS
Jongmin Choi [Thu, 18 Aug 2016 08:17:06 +0000 (17:17 +0900)]
Read CA cert from SVR DB for TLS

Read and use CA cert from SVR DB for TLS
assuming that SVR DB has a Trust CA credential

Patch #1: Initial upload
Patch #2: API Renamed
Patch #3-4: Support for reading multiple cred & encoding types

Change-Id: Ibc930d6c8b0fa436077f1f71336489e0fb1e1ac6
Signed-off-by: Jongmin Choi <jminl.choi@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10601
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
8 years agoUpdate the OCRemoveDeviceWithUuid API to delete the target device information
Chul Lee [Thu, 18 Aug 2016 14:09:20 +0000 (23:09 +0900)]
Update the OCRemoveDeviceWithUuid API to delete the target device information
in case of target device not discovered.

Change-Id: Ie6b95a5ce322bb21e64cf7f350640293391cf018
Signed-off-by: Chul Lee <chuls.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10629
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Heewon Park <h_w.park@samsung.com>
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
8 years agoRestrict topic list control when Provider does not have permission.
jaesick.shin [Tue, 23 Aug 2016 09:44:00 +0000 (18:44 +0900)]
Restrict topic list control when Provider does not have permission.

If provider does not have the comsumer subscription accept capability
following topic related API should not work.
1. NSProviderSelectTopic
2. NSProviderUnselectTopic

Change-Id: I197a60a0aae5eef3226f3766f1b793594628a9f9
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10795
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoModify invalid type for NSPostConsumerTopics.
jaesick.shin [Tue, 23 Aug 2016 09:27:04 +0000 (18:27 +0900)]
Modify invalid type for NSPostConsumerTopics.

change int to int64_t.

Change-Id: Iba4a1897cfb1e234da8574849e3fa739eaaaad8c
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10793
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agomodify logic for OC_REST_POST of topic.
jaesick.shin [Tue, 23 Aug 2016 07:21:41 +0000 (16:21 +0900)]
modify logic for OC_REST_POST of topic.

1. Accepter is provider case :
   - our service is not support sendtopiclist from OC_REST_POST
2. // Accepter is consumer.
   - our service is support sendtopiclist from OC_REST_POST

Change-Id: I4e2090197f388892e831071e7d3ff600494261c7
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10781
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoModify logic for related Topic.
jaesick.shin [Tue, 23 Aug 2016 06:25:17 +0000 (15:25 +0900)]
Modify logic for related Topic.

This patch included
add OCDoReponse for NSEntityHandlerTopicCb.
add DeleteConsumerTopicList.
When the topic entityhandler OC_REST_POST is requested,
the function is called NSPostConsumerTopics.
At this time, delete a list of consumer who have a provider,
and make a new selection topiclist.

second patch included.
modify comment out.

Change-Id: Ib5eba3809dfc199bc2ab93008e32591da1312060
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10773
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoModify Consumer example & Logic to copy provider
YounghyunJoo [Wed, 24 Aug 2016 04:57:41 +0000 (13:57 +0900)]
Modify Consumer example & Logic to copy provider

- Modify example code to test Topic
- Modify Logic to copy provider during processing topic

Change-Id: I4a6ca0d2d0c203fcfb76af00cc4c05b745d498e0
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10783
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoRemove unnecessary flags in script files when building iotivity & easy setup targeted...
sy01.youn [Tue, 23 Aug 2016 22:57:59 +0000 (07:57 +0900)]
Remove unnecessary flags in script files when building iotivity & easy setup targeted to Tizen.
Also remove unused tizen script files.
In addtion, security related function is activated in Tizen Enrolle Sample App. (which was commented before)
Tested on Tizen Mobile Z3, and it works well.

Change-Id: If70424c31949aa22210b64c45003983ea56a8594
Signed-off-by: sy01.youn <sy01.youn@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10833
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years agoAdd Logic to store NSProvider subscribe information after subscribing
YounghyunJoo [Tue, 23 Aug 2016 11:58:11 +0000 (20:58 +0900)]
Add Logic to store NSProvider subscribe information after subscribing

- fix bug for non-storing issue
- fix bug logic which does not push task into the queue when received presence stopped

Change-Id: I0ba93229bfa02361def5bfbf357043ec05e5a4f1
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10759
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years agoFix sign up error in AccountResource
Jung Seungho [Wed, 24 Aug 2016 01:02:20 +0000 (10:02 +0900)]
Fix sign up error in AccountResource

Change-Id: I85d3190534ef795d1669ec72209f675c4b7cbb5d
Signed-off-by: Jung Seungho <shonest.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10835
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>