Parkhi [Wed, 7 Sep 2016 06:12:45 +0000 (15:12 +0900)]
Changed svr db file for certification provisioning.
Change-Id: I189cd935ca3255f3b7823f59040cb17a0cb55443
Signed-off-by: Parkhi <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11487
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
amar [Wed, 7 Sep 2016 04:19:11 +0000 (09:49 +0530)]
corrected menu option
Change-Id: Iaaf88464ca1eca36edc78707dce826688ba1b7f9
Signed-off-by: amar <amar.sri@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11471
Reviewed-by: Md. Imtiaz Hossain <imtiaz.h@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
Randeep Singh [Tue, 6 Sep 2016 13:11:45 +0000 (18:41 +0530)]
[IOT-1246] Resolved exception error
Change-Id: I69a1c072634e688d35617708aec3e7c32acd3878
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11441
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Md. Imtiaz Hossain <imtiaz.h@samsung.com>
jihwan.seo [Wed, 7 Sep 2016 06:50:15 +0000 (15:50 +0900)]
update TCP & ARDUINO filter in secure mode
Change-Id: I14a9d6a24b8dcac6acd7f92fbe5afee58297fdca
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11491
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Philippe Coval [Mon, 29 Aug 2016 14:06:33 +0000 (16:06 +0200)]
linux: Fix ./autobuild.py linux to build only for linux
Change-Id: Id40055ef67c1d86ec92b7939cb757f9865b12262
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11075
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Ajay Saini <ajay.saini@intel.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
sy01.youn [Tue, 6 Sep 2016 07:51:22 +0000 (16:51 +0900)]
Add WITH_TCP and WITH_CLOUD option in common build script files for tizen easy-setup sample app.
Change-Id: I909dc85679693342ae840bc229d1157a9f250d7a
Signed-off-by: sy01.youn <sy01.youn@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11421
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
jihwan.seo [Tue, 6 Sep 2016 08:17:53 +0000 (17:17 +0900)]
Revert "Enable disabled Configure unit tests in OCPlatformTest."
This reverts commit
3e1e7340107bbbd6cffe4e4159b5fd2c5e1e9fc0.
Change-Id: I751a67d585bafeaf075e3718429836eb89c8a27e
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11425
Reviewed-by: byonggon chun <bg.chun@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
David Antler [Thu, 1 Sep 2016 21:46:06 +0000 (14:46 -0700)]
Fix Arduino CI
This should fix an issue with Arduino CI introduced through a
false-positive result.
Change-Id: I0255e8f78038557ececc7e0a1ff9741a9140f346
Signed-off-by: David Antler <david.a.antler@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11307
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
Jihun Ha [Wed, 7 Sep 2016 01:49:59 +0000 (10:49 +0900)]
Add a path for header inclusion for security provisioning manager functionality.
Within https://gerrit.iotivity.org/gerrit/#/c/11283/, provisioningdatabasemanager.h
has been moved to resource/csdk/security/provisioning/include/internal/.
To cope with this change, this path should be included to one of our SConcript.
Change-Id: I27c97c3d2b50394a6892d6fd94641042e4640fb4
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11467
Reviewed-by: Jongho Park <jh8397.park@samsung.com>
Reviewed-by: Heewon Park <h_w.park@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Randeep Singh [Tue, 6 Sep 2016 12:42:34 +0000 (18:12 +0530)]
Added SetDoxmDeviceId() API.
- Patch #1 : Initial upload.
- Patch #2 : 1. Move the PDM related files to SRM layer.
Becuase PDM PAI is required from DOXM to check owned device list.
2. Add logic to check OTM state.
Change-Id: Ib21a2984fde0f1aa4fc98e5fc246d56ef15456c8
Signed-off-by: Chul Lee <chuls.lee@samsung.com>
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11283
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
saurabh.s9 [Mon, 5 Sep 2016 06:52:44 +0000 (12:22 +0530)]
Build scripts updated for android build issue for connectivity layer
Change-Id: Ia8781f4adbf39529c763521bc6dcfb5c5b4a78c1
Signed-off-by: saurabh.s9 <saurabh.s9@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11399
Reviewed-by: Ashwini Kumar <k.ashwini@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
Heewon Park [Fri, 2 Sep 2016 05:39:43 +0000 (14:39 +0900)]
Updated cloud provisioning retry logic.
- For mediator can retry cloud-provisioning process, when missed response packet of post.
Change-Id: Id38ab1b2fe37580f590880ff8b96d28eea948a19
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11245
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Jihun Ha [Mon, 5 Sep 2016 05:54:36 +0000 (14:54 +0900)]
Fix a logic to filter out an exception in createRemoteEnrollee API for Android
If a resource does not have a "oic.wk.prov" resource type, createRemoteEnrollee
API should return a NULL pointer. However, this exception has not been
handled in jni implementation. To resolve this problem, this patch make
this exception returned to android layer, properly.
Change-Id: I70d9dfbcd6cd21757e4f594abbc99902dc367681
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11395
Reviewed-by: Jongho Park <jh8397.park@samsung.com>
Reviewed-by: Sijae Kim <sijae.kim@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Minji Park [Tue, 6 Sep 2016 04:09:04 +0000 (13:09 +0900)]
fix resource-container unit test
- default callback waiting time
and test resource type for discovery test changed.
Change-Id: I1f659d488b418a7359ccfce857deb3eff6a8bb3c
Signed-off-by: Minji Park <minjii.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11411
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Ziran Sun [Tue, 23 Aug 2016 14:08:26 +0000 (15:08 +0100)]
Enable disabled Configure unit tests in OCPlatformTest.
Since all the functionalities called in these unit tests
are now available, enable these tests. Verification via
local tests has been done before enable any of these tests.
Change-Id: Ie5086e3394460452dd92199629017b30f1ef0030
Signed-off-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10809
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sungkyu Ko <sungkyu.ko@samsung.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Philippe Coval [Tue, 30 Aug 2016 07:38:22 +0000 (09:38 +0200)]
gtest: Hotfix to prevent download failure
gtest-1.7.0.zip (md5=
2d6ec8ccdf5c46b05ba54a9fd1d130d7) is gone from:
https://googletest.googlecode.com/files/gtest-1.7.0.zip
So let's switch to a mirrored file:
http://pkgs.fedoraproject.org/repo/pkgs/gtest/gtest-1.7.0.zip/
2d6ec8ccdf5c46b05ba54a9fd1d130d7/gtest-1.7.0.zip
Note, now upstream project moved to:
https://github.com/google/googletest/archive/release-1.7.0.zip
But archive structure is different (configure is missing),
so a additional works are needed,
maybe it worth to be done on latest release instead (1.8.0 ATM).
Change-Id: Ib1cf308fb2d3a15bdf69246cccfd379234bbce22
Bug: https://jira.iotivity.org/browse/IOT-820
Origin: https://gerrit.iotivity.org/gerrit/#/c/11119/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11119
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Jaewook Jung [Mon, 5 Sep 2016 05:50:30 +0000 (14:50 +0900)]
Revert "Generate iotivity_config.h at build time"
This reverts commit
dbcc3f47fe5abd2102750cdd3ace7f92619e8dd0.
Change-Id: I1fe54489a0d73940ca74f4abd293608c255fe645
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11393
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
Heewon Park [Fri, 2 Sep 2016 05:33:37 +0000 (14:33 +0900)]
Add ifdef the code which utilizes TLS-supported APIs
provisionTrustCertChain API of Provisioning Manager is ONLY defined where TLS is supported. In easy setup, that API is used for transferring a certificate to Enrollee. So if TLS is not supported, this procedure SHOULD be skiped and not defined, even.
Change-Id: I2006d2025c794aab616cea8fb3e6144cace86b49
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11263
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
Ashwini Kumar [Thu, 1 Sep 2016 14:20:44 +0000 (19:50 +0530)]
Resolved Tizen build issue
Link issue for privisioning sample in C++
undefined reference to OCLog
Change-Id: I49b0d5197dc164c7d132af88e9a3250387850b14
Signed-off-by: Ashwini Kumar <k.ashwini@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11297
Reviewed-by: Jongsung Lee <js126.lee@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
KIM JungYong [Sun, 4 Sep 2016 23:06:10 +0000 (08:06 +0900)]
Fix for build of resource container.
When build of resource container occurred build fail
by reason of can not found strlen function.
For the above reason, Standard string header is included on Configuration file.
Change-Id: I102d0e7ca5925fba59ebe95ae860517dc65328ab
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11369
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Jay Sharma [Thu, 1 Sep 2016 11:02:50 +0000 (16:32 +0530)]
[RE] Android Application build error fix.
Change-Id: Id04435b3a34ebcc0fb06f001c16b6fa63674a57a
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11275
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-by: Abhishek Pandey <abhi.siso@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
cc [Fri, 2 Sep 2016 13:57:35 +0000 (22:57 +0900)]
Required to check consumer unitest
Consumer unittest will be upgraded.
Change-Id: I758fa0ffc1e54874858fda23e76d34293c18dbd2
Signed-off-by: cc <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11347
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Hun-je Yeon [Sat, 3 Sep 2016 15:57:18 +0000 (00:57 +0900)]
Merge branch 'notification-service'
This patch includes the updated C++ and Android API for notification-service
Change-Id: Id25a4c1aed886a1e77c29625aac895054cb397cc
Signed-off-by: Hun-je Yeon <hunje.yeon@samsung.com>
nikhil.a [Sat, 3 Sep 2016 13:33:53 +0000 (19:03 +0530)]
Updated Android for new API Changes
1. Modified the Consumer and Provider design and callbacks mechanism in JAVA and JNI.
2. Updated the API name changes.
3. Refracted the code
Change-Id: I51ea2eab73b575e67f336c46af9d330d0f8f8941
Signed-off-by: nikhil.a <nikhil.a7@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11355
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
abitha.s [Sat, 3 Sep 2016 07:08:39 +0000 (12:38 +0530)]
Updated C++ wrapper for new API Changes
1. Modified the Consumer and Provider design and callbacks mechanism for adding subscribtion controlability .
2. Updated the API name changes.
3. Refracted the code
4. Added Provider State and Policy Info for Provider Object.
5. Added copy constructors for Topic and Provider object
6. Added Doxygen comments
7. Updated the Sample application to use Updated APIs
Change-Id: If071b098a9dd836c335d1d621e2e561845b593e6
Signed-off-by: abitha.s <abitha.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11353
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
Philippe Coval [Tue, 26 Jul 2016 17:10:02 +0000 (19:10 +0200)]
build: Propagate log facilities using pkgconfig
If built with LOGGING option,
logging facilities will be available to user using pkgconfig.
Refactored SConscript to be more extensible using a defines list too.
Bug: http://lists.iotivity.org/pipermail/iotivity-dev/2016-July/005104.html
Change-Id: I93c92dd35f4060e46d31bbe80e773b548d92fcd8
Origin: https://gerrit.iotivity.org/gerrit/#/c/9783/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9783
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Philippe Coval [Thu, 1 Sep 2016 07:30:34 +0000 (09:30 +0200)]
build: Update version to 1.2.0
As master is now based on 1.2.0-RC1, match planned release number.
Change-Id: Id16c97b76b92aabf0699ca81d70a3abb3bdb0cf0
Bug: https://jira.iotivity.org/browse/IOT/fixforversion/10501
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11261
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
jihwan.seo [Thu, 1 Sep 2016 12:02:49 +0000 (21:02 +0900)]
clean up some string parameter for MQ callback
Change-Id: Ia721b4efd2d9c18514f8e1ce3025f63952902b6e
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11281
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
David Antler [Fri, 26 Aug 2016 21:39:56 +0000 (14:39 -0700)]
Generate iotivity_config.h at build time
This patch lightens the burden for those wishing to integrate the
IoTivity CSDK into their project.
- Remove (almost) all HAVE_*_H from the command line.
- Build new file: resource/c_common/iotivity_config.h
- Include "iotivity_config.h" in headers which #include
platform-specific header files.
- Added out/*/*/*/include/c_common/iotivity_config.h which will
include the HAVE_*_H build flags.
- Export files from out/*/*/*/include/c_common/windows/include/*.h
Change-Id: Ib8a7e83c8ceb025c29b11284ee2912f95c930ca6
Signed-off-by: David Antler <david.a.antler@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10989
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Soemin Tjong <stjong@microsoft.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Uze Choi [Fri, 2 Sep 2016 13:02:03 +0000 (13:02 +0000)]
Merge "Merge branch 'master' into notification-service" into notification-service
cc [Fri, 2 Sep 2016 11:35:26 +0000 (20:35 +0900)]
Fix bug about string input
Unexpected topic message is set by fgets operation.
Change-Id: I4a7ac3d1a91baa0025426967fb54a13d3f58156d
Signed-off-by: cc <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11341
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
cc [Thu, 1 Sep 2016 13:53:53 +0000 (22:53 +0900)]
Update resource protocol specification
Resource attributes are updated as the resource model
defined by spec document.
Change-Id: Ia20601345c4b327bf002c515696837bd84893fa5
Signed-off-by: cc <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11293
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
cc [Fri, 2 Sep 2016 11:57:41 +0000 (20:57 +0900)]
Merge branch 'master' into notification-service
Presence patch is adapted
Change-Id: Id4aa4ac5e0ff7dbbec2ca788f215b7d329a3a29e
Signed-off-by: cc <ch79.cho@samsung.com>
KIM JungYong [Fri, 2 Sep 2016 09:58:29 +0000 (18:58 +0900)]
Update Consumer C APIs.
1) Parameter as NSProvider structure is changed C string providerId.
2) NSTopicLL is seperated from NSProvider structure.
3) Topic releated API is renamed and changed return type.
4) NSUnsubscribe API is commented out.
Conflicts:
service/notification/examples/linux/notificationconsumer.c
Change-Id: Ib46ed952cdab58cb9f95eaeb4e405b7da4adeb2f
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11335
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
KIM JungYong [Fri, 2 Sep 2016 05:23:42 +0000 (14:23 +0900)]
Modify to call of provider state callback.
When incomming the subscription result,
consumer service callback to upper layer every result message
although some of message was duplicated.
Provider state callback is fixed for call once as provider state(allow/deny) changed.
Change-Id: I5a8094092b33e569716475aa60b574ee5eb0e913
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11325
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
YounghyunJoo [Fri, 2 Sep 2016 04:05:44 +0000 (13:05 +0900)]
Modify Notification Consumer Example
- After deciding to remove discovry callback, discovery info is notified throgh the Provider Changed CallBack.
- we modify example code to possible to check its functionality.
Change-Id: I36af6597fa15b31d5665f2e4a0c4db2c11a8319c
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11315
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
jaesick.shin [Fri, 2 Sep 2016 06:17:59 +0000 (15:17 +0900)]
change strcpy to strncpy.
strcpy function is unsafe.
Change-Id: Ifd679a4b9804861da409d4318b69502992d8ef90
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11327
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
jaesick.shin [Fri, 2 Sep 2016 05:43:02 +0000 (14:43 +0900)]
Add logic for NS_FAIL Case in API.
Add NS_FAIL case in API.
Change-Id: I597cf9ed3c76aa2621aacef36305beb01130d11a
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11323
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
jaesick.shin [Fri, 2 Sep 2016 04:40:48 +0000 (13:40 +0900)]
Bug fixes for Unlock.
Bug fixes unlock logic for NSProviderDeleteConsumerTopic Function.
Change-Id: Ibe27134f38b8e12b0d767df03aabd049f16431b9
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11317
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
jaesick.shin [Fri, 2 Sep 2016 04:02:22 +0000 (13:02 +0900)]
Change dereference code.
Added check logic for dereference code.
Change-Id: If34fe346803b7ccc9c3eb21056790c1e030bd14a
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11313
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
jaesick.shin [Fri, 2 Sep 2016 03:50:56 +0000 (12:50 +0900)]
Replace conditional compilation marcro WITH_CLOUD and bug fixed.
Macro RD_CLIENT is replaced with WITH_CLOUD.
The codes related to cloud service is not compiled according to
the conditional compilation with the marcro.
modify topic notification filter for remote message
This patch is bug-fix which adds topic notification filter for remote msg.
Change-Id: Ib61957dac3a193706386be5e121e5efdb2bbada8
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11311
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
jaesick.shin [Thu, 1 Sep 2016 01:18:59 +0000 (10:18 +0900)]
Resolve memory leak for unittest.
change strdup to global variables.
Change-Id: Ida35b98ad5fb5be8add9fa12b481cb8a2bee4dcb
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11235
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
KIM JungYong [Thu, 1 Sep 2016 11:53:11 +0000 (20:53 +0900)]
Modify subscribe presence query.
Changed query is calculated to receive presence message on ipv6.
Change-Id: I53db76230b96dc12a3174de37b14fa0044eafc67
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11279
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
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
44e8750f7f2aa96d8c313cd757c96211ddc65571)
Reviewed-on: https://gerrit.iotivity.org/gerrit/11321
KIM JungYong [Tue, 30 Aug 2016 07:04:29 +0000 (16:04 +0900)]
Fix bug for Cloud service of consumer service.
For connect to Cloud, making uri, parsing address, constructing query was fixed.
Address converter is modified for TCP requests.
Change-Id: I714ce22e53ba05aab7f1be1512ccddfe46cdeb78
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11113
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
nikhil.a [Mon, 29 Aug 2016 12:49:21 +0000 (18:19 +0530)]
Added CreateMessage API in Android APIs
1) CreateMessage API added for ProviderService
2) Addition of JNI code for the respective API
3)Refactoring of code
Change-Id: I53c44c09580028b4ec0631b47f31c5b8abb47535
Signed-off-by: nikhil.a <nikhil.a7@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11053
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Abitha Shankar <abitha.s@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit
dfb5ff844c058fdbbafb530326e1935cae17673e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/11277
Reviewed-by: Uze Choi <uzchoi@samsung.com>
cc [Thu, 1 Sep 2016 05:41:23 +0000 (14:41 +0900)]
Move non-public struct
TopicList struct and Attribute keys are moved to internal struct module.
Change-Id: Iab8d9c7a308eb107f12f59cc5cf999d092f58642
Signed-off-by: cc <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11253
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
YounghyunJoo [Thu, 1 Sep 2016 05:46:28 +0000 (14:46 +0900)]
Modify Svace Issue
- Fix bug for checking NSResult is validate
- Fix bug for value null check
Change-Id: Ie0cab2ae4d7487a3f0ef310fda938893f4fe84ef
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11251
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
KIM JungYong [Thu, 1 Sep 2016 11:53:11 +0000 (20:53 +0900)]
Modify subscribe presence query.
Changed query is calculated to receive presence message on ipv6.
Change-Id: I53db76230b96dc12a3174de37b14fa0044eafc67
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11279
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
YounghyunJoo [Mon, 29 Aug 2016 12:56:43 +0000 (21:56 +0900)]
Modify consumer logic for updating provider information
- Add synchronization logic for cache update in NSConsumerInternalTaskController.
- Adapt its synchronization logic, when subscription succeed is checked/updated.
Change-Id: I746a3d3602eab3ac570a6d2ddfcdd4b7dce8e18a
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11055
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
KIM JungYong [Tue, 30 Aug 2016 00:22:53 +0000 (09:22 +0900)]
Update consumer logic for stopped provider.
When the provider was stopped service,
consumer service will feedback to upperlayer on ProviderChangedCallback but non-feedback before.
This patch enable feedback when stopped provider service.
And enum value of NS_STOPPED is added.
NSResponse enum structure is renamed with NSProviderState.
Change-Id: I7fdd2ca1d3ba0b534c74b0fbc6719616daab2f67
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11091
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Abhishek Sharma [Thu, 18 Aug 2016 05:50:50 +0000 (11:20 +0530)]
Coap Over TCP support for Tizen
Change-Id: If1a7d61aa6499282182138d188b0e600133f49c1
Signed-off-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10583
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Jihun Ha [Wed, 31 Aug 2016 14:15:31 +0000 (23:15 +0900)]
Update QoS configuration to HIGH in Mediator android app
High QoS makes CoAP request to be CON message.
Change-Id: I14cfcf0304a095cdc5947a224f734856a72629da
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11223
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Andrii Shtompel [Thu, 1 Sep 2016 02:12:49 +0000 (11:12 +0900)]
CAIsTlsMessage fix
Wrong param was put to CAIsTlsMessage
This causes problems with TLS
Change-Id: Ie65bc9c2fea10d7741ce14c24b0d723b58f098f1
Signed-off-by: Andrii Shtompel <a.shtompel@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11239
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
jaesick.shin [Wed, 31 Aug 2016 08:00:36 +0000 (17:00 +0900)]
Add unittest for NSUnregistertopic Case.
check the Unregistertopic case.
Change-Id: I0f182ce9b9e8b60b708740a35ea0880f1c537344
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11207
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
jaesick.shin [Wed, 31 Aug 2016 06:57:04 +0000 (15:57 +0900)]
Add unitest and change invalid function name.
1. Add unittest for NSProviderRegisterTopic case.
2. change invalid function name in NSProviderInterface.h
second patch is comment changed only.
third patch included,
change invalid testcase name.
Change-Id: Iacbc8466c1f2f204b81ff5db28015ef9f5762858
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11195
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
jaesick.shin [Wed, 31 Aug 2016 08:05:21 +0000 (17:05 +0900)]
Remove warning code in Provider Side.
remove warning code only.
Change-Id: I12f4ffc235817110e8a71c42f80d642569efb7f2
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11209
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
jaesick.shin [Thu, 1 Sep 2016 00:56:05 +0000 (09:56 +0900)]
Bug fixes for mutex unlock.
Add mutex unlock for NSProviderDeleteConsumerTopic function
in NSPrvoiderMemoryCache.c
Change-Id: I9286c3fdb897409f298defab40d7479db13a2f06
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11233
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Jee Hyeok Kim [Thu, 1 Sep 2016 06:43:09 +0000 (15:43 +0900)]
Update response payload parser for samples
1. Update response payload parser for samples
to print all variables
2. Cleanup code
Change-Id: I7fc6f583c43ce4dd6f5a4bf43a3990b4f86d5371
Signed-off-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11247
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
hyuna0213.jo [Wed, 31 Aug 2016 04:39:01 +0000 (13:39 +0900)]
Changed OcException message in JniOcPlatform
If the function is not supported, we return Not supported message
not fail.
Change-Id: I43b96d6a7c1948a629dfc07a0b557e67987c8733
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11175
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
cc [Thu, 1 Sep 2016 01:45:29 +0000 (10:45 +0900)]
Modify topic notification filter for remote message
This patch is bug-fix which adds topic notification filter for remote msg.
Change-Id: I90ae060ab2a5385fdd3c66c2614c5dd4933d83ab
Signed-off-by: cc <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11237
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
YounghyunJoo [Mon, 29 Aug 2016 12:56:43 +0000 (21:56 +0900)]
Modify consumer logic for updating provider information
- Add synchronization logic for cache update in NSConsumerInternalTaskController.
- Adapt its synchronization logic, when subscription succeed is checked/updated.
Change-Id: I746a3d3602eab3ac570a6d2ddfcdd4b7dce8e18a
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11201
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
YounghyunJoo [Wed, 31 Aug 2016 08:50:55 +0000 (17:50 +0900)]
Fix bugs for copy provider
- Modify incompatible type casting
Change-Id: Ic2695c85c1b4c6070089d46dbb9179d6cb9baae1
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11211
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
YounghyunJoo [Tue, 30 Aug 2016 05:32:03 +0000 (14:32 +0900)]
Modify bug which is related provider copy issue
some APIs which is received NSProvider pointer as an API parameter
after calling and Processing these APIs, NSProvider was removed.
to prevent this problem, as a first step in the API, we added the logic to copy provider.
Change-Id: I3523691ec4992dc9dbf0b0824a4e2ff4df133568
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11199
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
abitha.s [Fri, 26 Aug 2016 11:52:21 +0000 (17:22 +0530)]
1. Modified the Accepted Providers Consumers list to return references
2. Added API to setTopic in Message for setting via application
3. Updated Logs
Change-Id: Id3b37c148c3e96d391224ccb5cf75a57c40ced6f
Signed-off-by: abitha.s <abitha.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10965
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit
4bc6feed319d383524a70662318d25eb4bb14266)
Reviewed-on: https://gerrit.iotivity.org/gerrit/11041
jaehyun Cho [Fri, 5 Aug 2016 02:16:15 +0000 (11:16 +0900)]
Added CA BLE packet format changed codes
description : https://jira.iotivity.org/browse/IOT-1210
Change-Id: I6f886989e8fdc14fd5128e0c96f1de3f7687bffe
Signed-off-by: jaehyun Cho <jaehyun3.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9979
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>
Jaewook Jung [Tue, 30 Aug 2016 11:29:38 +0000 (20:29 +0900)]
Update Android sample app related to group&invite
Change-Id: I5b0fd0e1c2297b50bd72cbcba53745cfc6b58329
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11143
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
nikhil.a [Mon, 29 Aug 2016 12:49:21 +0000 (18:19 +0530)]
Added CreateMessage API in Android APIs
1) CreateMessage API added for ProviderService
2) Addition of JNI code for the respective API
3)Refactoring of code
Change-Id: I53c44c09580028b4ec0631b47f31c5b8abb47535
Signed-off-by: nikhil.a <nikhil.a7@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11053
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Abitha Shankar <abitha.s@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
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>
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>
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>
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>
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>
jaesick.shin [Mon, 29 Aug 2016 04:45:55 +0000 (13:45 +0900)]
Remove MessagList in Provider side.
MessageList is unused in provider side.
second patch remove the white space.
Change-Id: I078166aa44eaaa0886edab1832536911352abbda
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11037
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
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>
(cherry picked from commit
2f8564431591e37493985629ffee7a90dfbfe4f6)
Reviewed-on: https://gerrit.iotivity.org/gerrit/11035
YounghyunJoo [Tue, 30 Aug 2016 05:32:03 +0000 (14:32 +0900)]
Modify bug which is related provider copy issue
some APIs which is received NSProvider pointer as an API parameter
after calling and Processing these APIs, NSProvider was removed.
to prevent this problem, as a first step in the API, we added the logic to copy provider.
Change-Id: I3523691ec4992dc9dbf0b0824a4e2ff4df133568
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11107
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>