platform/upstream/iotivity.git
8 years agoAdd collection payload to send a request
HyunJun Kim [Tue, 8 Mar 2016 23:16:49 +0000 (08:16 +0900)]
Add collection payload to send a request
for including each resource information(attributes).

- Client side can send a message
  which each resource information is stored in one message.

Change-Id: I45a65dc66dfcec9288b858864b6c83906d341756
Signed-off-by: HyunJun Kim <hyunjun2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5583
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
(cherry picked from commit 8d222b6e6aa9c73a12e07d23385b23cc22b8debd)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7705
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoFix for jira IOT-1042.
G S Senthil Kumar [Wed, 23 Mar 2016 13:06:44 +0000 (18:36 +0530)]
Fix for jira IOT-1042.

Resolving the issue of incorrectly shown allowed values in
"Modify Array Attribute Value" UI dialog of Service Provider Plug-in.

Change-Id: Ie652d5bc1185f51d2c52a55b72ded68e38c32664
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6227
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit d2d8a8af2478b16bb85b9e56234adfdbace188b3)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7695
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoFix for Jira IOT-1044.
G S Senthil Kumar [Thu, 24 Mar 2016 10:15:11 +0000 (15:45 +0530)]
Fix for Jira IOT-1044.

Resolved UI issues which occurred when changing attribute values
from Simulator plug-ins in Eclipse Mars IDE.

Change-Id: Ibd2e0c7c5cfc314dddaba551958a86258d3188f0
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6267
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit c310e8bc34ea435ec8a7a5a5487f7341e61493e1)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7693
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years ago[IOT-1039]Fixed for jira issue.
jyong2.kim [Thu, 24 Mar 2016 10:35:01 +0000 (19:35 +0900)]
[IOT-1039]Fixed for jira issue.

It is fix for a RH android sample application.
When the call terminate RH android sample, It expected to return success but return error.
terminate API is try to terminate a thread, but it was already terminated at other api.

Change-Id: I52b79252f1d952917729f7716d381303b57501a6
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6287
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 8db0090a12cd8d994cc87d919f1329eb4fdbbc68)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7691

8 years ago[IOT-1040] Fixed for jira issue about RH android.
jyong2.kim [Thu, 24 Mar 2016 23:02:57 +0000 (08:02 +0900)]
[IOT-1040] Fixed for jira issue about RH android.

prevented crash when init is called with null String at address.

Change-Id: I390fdd036e6afae44af36d935564b2fa5045d990
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6307
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 9cbaf9309f0f671b899641a3ed2286621b5b6ed5)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7687

8 years ago[IOT-993] Remove limit of payload size handling
Habib Virji [Thu, 24 Mar 2016 22:10:42 +0000 (22:10 +0000)]
[IOT-993] Remove limit of payload size handling

It cannot go beyond two level of increasing the payload size and it a[[ear it can go for handling bigger size.

Change-Id: I303f29563b32ba25d2f5e92a28f3a0ecac46ea60
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6305
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mushfiqul Islam <i.mushfiq@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 8e60cf6d33f5d9c4c0f308ea79784effda409109)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7685
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years ago[Resource-Encapsulation] Fixed the Tizen sample app build issue.
Jay Sharma [Mon, 28 Mar 2016 15:57:39 +0000 (21:27 +0530)]
[Resource-Encapsulation] Fixed the Tizen sample app build issue.

- Updated "NestedAttributeClientApp" Tizen app.

Change-Id: I3cf63257fe3e23dde2cf1998ebccbb9d25de8388
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7409
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 875624d06e0e1496ccace06fc09e29e5092b1ae7)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7681

8 years ago[IOT-1070][IOT-1071] RC-Android: check for null or empty parameters
Markus Jung [Mon, 4 Apr 2016 06:05:12 +0000 (15:05 +0900)]
[IOT-1070][IOT-1071] RC-Android: check for null or empty parameters

Check for null or empty parameters. Throwing IllegalArgumentException.

Change-Id: I15822ee0ad6e572ab51b8f85efc666a8e43bc320
Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7567
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: JungHo Kim <jhyo.kim@samsung.com>
(cherry picked from commit bb9d6c566b9dc7998f69395bc4b3f1d8bc8fd610)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7677
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years ago[Easy-Setup] Updated README file for Mediator Android app.
Jay Sharma [Thu, 7 Apr 2016 07:50:09 +0000 (13:20 +0530)]
[Easy-Setup] Updated README file for Mediator Android app.

- Updated for using SECURITY feature.

Change-Id: I3d99696e60b2d817617cf1c80205dafd2768b62a
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7655
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 943305507880a8cbb4cbef16e2362b128b504d3f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7671

8 years agoUpdated the MANIFEST content of simulator plugins.
G S Senthil Kumar [Wed, 6 Apr 2016 05:48:05 +0000 (11:18 +0530)]
Updated the MANIFEST content of simulator plugins.

Changed the version of plugins from 1.0.0 to 1.1.0.
Also specified the vendor as OCF.

Change-Id: Ic12f18a939530e75045c5f274b4e4d2dd1724d46
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7629
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 8eb5af23e34861e55e82f385cb3beb3dbedd4703)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7675

8 years agoAdded sonames to libs when build target is android.
coderhyme [Tue, 5 Apr 2016 05:01:17 +0000 (22:01 -0700)]
Added sonames to libs when build target is android.

This is because the dynamic linker of android 6.0 requires soname.
see https://developer.android.com/intl/ko/about/versions/marshmallow/android-6.0-changes.html#behavior-runtime.

Change-Id: I6908631d7bb734df262a86c98e3699af5fccfc14
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7595
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years ago[Simulator] Specified the run-time path and provided 64-bit support
G S Senthil Kumar [Wed, 6 Apr 2016 07:12:35 +0000 (12:42 +0530)]
[Simulator] Specified the run-time path and provided 64-bit support
for eclipse plugins.

1. Added support to use eclipse plugins on 64-bit linux machines.
   Created seperate folder under /libs in plugins for
   32-bit and 64-bit libraries.
   Updated the MANIFEST file to load the libraries
   corresponding to the underlying architecture.
2. Specified the run-time path to help the loader to find the
   dependent libraries of oc in resource/src/SConscript
   for simulator to avoid the need to set the LD_LIBRARY_PATH
   to run the plugins.
3. Moved the code to load the simulator libraries
   from plugins to Java SDK.

Change-Id: Ia9b9e8542c4e82c18768dcc25c9ae727614ff7bf
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7631
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 315181862e61115c82470920fdf4ff9d0e07f447)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7673

8 years agoAdded necessary error log in LE server for android.
jihwan.seo [Fri, 8 Apr 2016 07:46:17 +0000 (16:46 +0900)]
Added necessary error log in LE server for android.

Change-Id: I8c2c62f0a324c6cff5cd8787b9c164f3db93b507
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7723
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[IOT-1043] [RI] Canceling observation using RESET is not working
hyuna0213.jo [Fri, 8 Apr 2016 07:27:25 +0000 (16:27 +0900)]
[IOT-1043] [RI] Canceling observation using RESET is not working

Related JIRA ticket : https://jira.iotivity.org/browse/IOT-1043

Change-Id: I7f984fe8f649af0681352fed14f8a37d73b2eba9
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Signed-off-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7451
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sungkyu Ko <sungkyu.ko@samsung.com>
Reviewed-by: Gihong Kim <k1358.kim@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7719
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agochanged code to close the socket generated when initializing.
hyuna0213.jo [Fri, 8 Apr 2016 01:17:29 +0000 (10:17 +0900)]
changed code to close the socket generated when initializing.

changed code to close the socket generated when initializing.

Change-Id: Ib3f45bfb6f49f14b04088cfcff936e68d7ddb88c
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7707
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoFinished moving check for failure to connect over
jihwan.seo [Thu, 7 Apr 2016 13:50:14 +0000 (22:50 +0900)]
Finished moving check for failure to connect over
to bt_le_adapter/android/calenwmonitor.c.

Change-Id: Ic12e8278653774e9fc2bc1005136643bc16cf401
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7657
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Tested-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed code to get token about the empty message
hyuna0213.jo [Mon, 28 Mar 2016 08:25:07 +0000 (17:25 +0900)]
fixed code to get token about the empty message

fixed code to get token about the empty message

Change-Id: Ifbe334f42457c1b2ba801d92cdca540433689938
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7387
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>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7433
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoremove unnecessary startScan logic.
jihwan.seo [Thu, 31 Mar 2016 12:02:13 +0000 (21:02 +0900)]
remove unnecessary startScan logic.

it doesn't need to scan when disconnected LE anymore.
since scenario was changed for support manual disconnect API.

Change-Id: I9fb36953d0dc209f7c7dda5c8ad2a3a05b61f0cb
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7499
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit 00c308854d882d4be3c35438b293b7b34ee850ef)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7517
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agomodified target message type related blockwise transfer.
hyuna0213.jo [Thu, 24 Mar 2016 06:36:13 +0000 (15:36 +0900)]
modified target message type related blockwise transfer.

according to a spec, uses of the block options in conjunction
with multicast messages are for further study. so I modified to not
pass the blockwise transfer logic in case of the multicast message.

Change-Id: I2913dc7fc608e6da007071fd325c76931cf02325
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6253
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>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7375
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoadded BLE connection State callback routine in common
jihwan.seo [Tue, 5 Apr 2016 00:05:16 +0000 (09:05 +0900)]
added BLE connection State callback routine in common

Change-Id: I9bb7e2df9acf4b885cb4db6e97f2e3a20fe86d3d
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7587
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoFix issuse related unregisterReceiver
Jaehong Jo [Tue, 5 Apr 2016 11:15:59 +0000 (20:15 +0900)]
Fix issuse related unregisterReceiver

In EDR, BLE, NFC Adapter

Change-Id: I6102c96c1cad58e8124b75c848a498621d250e96
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7615
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agomodified reasonable log message for connectionStateChanged state
jihwan.seo [Mon, 4 Apr 2016 03:15:13 +0000 (12:15 +0900)]
modified reasonable log message for connectionStateChanged state

Change-Id: I3bf080c1b002211b2af4f9e03225a01a7e93f248
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7557
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit 405827da21e88977ffc3855dec0b546ee33fc0e2)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7599

8 years agoFix issue related SVACE in oickeepalive
Jaehong Jo [Thu, 31 Mar 2016 07:16:52 +0000 (16:16 +0900)]
Fix issue related SVACE in oickeepalive

Change-Id: I4c788411bcd8eb4251d292e0bf56ab470dfcafc1
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7481
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit ede0115adf224edcca0d80c6f7f87140c0de8451)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7611
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoAdd activity for NFC Transport.
Jaehong Jo [Mon, 21 Mar 2016 00:23:00 +0000 (09:23 +0900)]
Add activity for NFC Transport.

The activity required for the NFC adapter.

Change-Id: Id735532944dfb2f496043620c0b7b3230d534957
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6111
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>
(cherry picked from commit 40fad8c44605a63a8c4943f5da5f62ea0535caf8)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7613

8 years agoFix a wrong conditional statement in oicgroup
Jihun Ha [Mon, 4 Apr 2016 01:12:16 +0000 (10:12 +0900)]
Fix a wrong conditional statement in oicgroup

strlen(actionTypeStr) at line 790 was always 0, which is not what it meant
to be. After assign a proper string to actionTypeStr, then strlen() function
should be used.

Change-Id: I2ac7dd5750f54f59eb16e9469fc4dcec5259bcc9
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7553
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit d7c32ded070bccb20868674705a521f82964990f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7563

8 years agoBug Fix - the Object Array Value in the Palyload was not cloned properly.
Jay Oh [Fri, 1 Apr 2016 02:36:30 +0000 (11:36 +0900)]
Bug Fix - the Object Array Value in the Palyload was not cloned properly.

- Object type (String) value was not checked
- Modification : add the case handling for OCREP_PROP_OBJECT

Change-Id: I8fe9c1fc7fec43648d2127284169af225a6a2bb0
Signed-off-by: Jay Oh <junghyun.oh@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7475
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit c53351f54d4e619dcdef8e703c586e2fcea65c9e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7555
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoto enable manual disconnect callback for android BLE client
jihwan.seo [Mon, 4 Apr 2016 10:29:33 +0000 (19:29 +0900)]
to enable manual disconnect callback for android BLE client

Change-Id: I7254b9485393957b8b823aeb0d6e19dde10911de
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7577
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoenabled ScanResponse for Advertising in BLE server
jihwan.seo [Fri, 1 Apr 2016 00:34:03 +0000 (09:34 +0900)]
enabled ScanResponse for Advertising in BLE server

long device name can be used
though using ScanResonse Advertise data.

Change-Id: I42a60591577cd54b7de109a15b096c080bb43667
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7523
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Easy-Setup] Fixed JIRA issue IOT-1064
Jay Sharma [Fri, 1 Apr 2016 16:00:26 +0000 (21:30 +0530)]
[Easy-Setup] Fixed JIRA issue IOT-1064

Change-Id: I1f2184ed17fb262628e52d4171d6579577158973
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7537
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 266464719a5e3ae4d59acab1089d98e9b831873b)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7547

8 years ago[Tizen SVACE] Fixed svace issues for tizen enrollee
Sandipan Patra [Fri, 1 Apr 2016 13:33:44 +0000 (19:03 +0530)]
[Tizen SVACE] Fixed svace issues for tizen enrollee

Change-Id: I26b5692362dea51fc4a729415066e4aaf035e728
Signed-off-by: Sandipan Patra <sandipan.p@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7533
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit d96195c119d605892061660dc754bd6793e49dfa)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7545

8 years ago[Arduino SVACE] Fixed svace issue for arduino
Sandipan Patra [Fri, 1 Apr 2016 12:05:44 +0000 (17:35 +0530)]
[Arduino SVACE] Fixed svace issue for arduino

Change-Id: Iee5e7bea013be0e04c5c5898ace716e6f5a8bd80
Signed-off-by: Sandipan Patra <sandipan.p@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7529
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit a89533748ea97c745be2ea7d68564f41cbdbe8c2)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7541

8 years ago[Easy-Setup] Fixed SVACE issues for Android [Mediator]
Jay Sharma [Fri, 1 Apr 2016 11:06:12 +0000 (16:36 +0530)]
[Easy-Setup] Fixed SVACE issues for Android [Mediator]

Change-Id: Ia0f3c0ec84e6129fafb8e4334b10b493977222b5
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7525
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 7444144fef76c258a0354781439d29487de89ed5)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7539

8 years agoFix for SVACE reported issues on Simulator Java layer.
G S Senthil Kumar [Fri, 1 Apr 2016 12:32:47 +0000 (18:02 +0530)]
Fix for SVACE reported issues on Simulator Java layer.

Resolved SVACE issues on java sdk and ServiceProvider and ClientController
plugins.

Change-Id: I1ba0b937deef1cf7f7a8d37de6fe0192eb07a82f
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7531
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit fef6c484910e41b52f38857b13584664a7dd9799)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7543

8 years agoRemove an vulnerability for using strcat() function in oicgroup
Jihun Ha [Fri, 1 Apr 2016 07:38:34 +0000 (16:38 +0900)]
Remove an vulnerability for using strcat() function in oicgroup

Rather than strcat function, strncat function with a consideration of
a maximum length of string is better to be used for security reason.

Change-Id: I12b76ef4c149c66fac2b6b2963feef86d760d85f
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7521
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years ago[Easy-Setup] Fixed SVACE issues.
Jay Sharma [Thu, 31 Mar 2016 14:41:37 +0000 (20:11 +0530)]
[Easy-Setup] Fixed SVACE issues.

Change-Id: Id2722e42ac6958e57a46f6cb8480395788697b10
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7501
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit bd4708f5b3a1fc5b522a3128c0d374d44eb56568)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7513
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoFixed unused variable static warning
Shashank Shekhar Shukla [Wed, 30 Mar 2016 05:00:43 +0000 (10:30 +0530)]
Fixed unused variable static warning

Change-Id: I8dc129a9063b744229fd2ea7b6916e5ae8272a77
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7455
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoUpdate a resource type of SceneMember resource
Jihun Ha [Fri, 11 Mar 2016 01:48:28 +0000 (10:48 +0900)]
Update a resource type of SceneMember resource

The current public OIC spec.(v0.9.9) has introduced the resource type,
wrongly. It would be "oic.wk.scenemember".

Change-Id: I768c086f75f0bf281558e582cdee264ddc16709c
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5697
Reviewed-by: JungYong KIM <jyong2.kim@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 30a06e1d82cb7fb12035eb189746ef78ed8c1dae)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5711

8 years ago[Tizen Enrollee] Removing GUI Enrollee Sample
Sandipan Patra [Tue, 29 Mar 2016 11:20:33 +0000 (16:50 +0530)]
[Tizen Enrollee] Removing GUI Enrollee Sample

Change-Id: I4c6dd1656d8ce184107e2bd5aa79a6c4b8c2475e
Signed-off-by: Sandipan Patra <sandipan.p@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7441
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hemant Mahsky <h.mahsky@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7461

8 years agoFixed build issue by including condition_variable header
Philippe Coval [Mon, 7 Mar 2016 11:19:05 +0000 (12:19 +0100)]
Fixed build issue by including condition_variable header

Problem was observed while building on Tizen:2.4:Mobile (g++ 4.9.2):

    error: 'condition_variable' in namespace 'std' does not name a type
    std::condition_variable cond;

Change-Id: I03b03af4693738c6a852b0d03b6d6a2744a87109
Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/for-upstream
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5493
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mats Wichmann <mats@osg.samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoadded tizen bt error codes
junghun kim [Tue, 29 Mar 2016 10:44:36 +0000 (19:44 +0900)]
added tizen bt error codes

Change-Id: I8c3ed85ec147e4c7961ef266086b461044c4e78d
Signed-off-by: junghun kim <jhun1105.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7437
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>
8 years agomodified BT on/off monitoring logic in EDR Adapter
jihwanseo [Wed, 23 Mar 2016 07:54:41 +0000 (16:54 +0900)]
modified BT on/off monitoring logic in EDR Adapter

- added checking EDR disconnected event
- added the connection management logic to remove disconnected
  device information from list
- removed unnecessary code

Change-Id: I3a6f1c81e039cad530d063da6476aed72ae693e5
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6177
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Easy-Setup] Fixed arduino issue.
Jay Sharma [Wed, 30 Mar 2016 04:20:48 +0000 (09:50 +0530)]
[Easy-Setup] Fixed arduino issue.

Change-Id: I3b167eccaa5835288b5a560f070882df996aeb9e
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7453
Reviewed-by: Sandipan Patra <sandipan.p@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit bdbfe9ec9c30249ee3d7eece8c47b6979e41448e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7457
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoremoved CASample App for CA
jihwanseo [Mon, 28 Mar 2016 07:16:18 +0000 (16:16 +0900)]
removed CASample App for CA

since simpleserver and simpleclient can be covered it.
remove all sample sources.

Change-Id: Ib5960c0e9ee3ef8093718f0dd5f0e93b3db8e16f
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Signed-off-by: Abhishek Sharma <ce.abhishek@samsung.com>
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7381
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Tim Kourt <tim.a.kourt@intel.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7463

8 years agoRedefinition of Macro removed
Manoj Gupta [Tue, 29 Mar 2016 03:50:52 +0000 (09:20 +0530)]
Redefinition of Macro removed

Change-Id: I6f55225e1c4121eed45ccf13194da51cdced645d
Signed-off-by: Manoj Gupta <manoj.g2@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7421
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoFix a bug of RCSResourceObject.
coderhyme [Tue, 29 Mar 2016 10:06:54 +0000 (03:06 -0700)]
Fix a bug of RCSResourceObject.

The problem was that when handler is canceled, segfault ocuured.

Change-Id: I04f4bae70db986245566f97f8388dc39254fb828
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7435
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 47bdb4f412a029164aa8f96d3464b1b3039e1979)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7443

8 years agoRemoved unnecessary files in connectivity abstraction
hyuna0213.jo [Tue, 22 Mar 2016 01:10:44 +0000 (10:10 +0900)]
Removed unnecessary files in connectivity abstraction

deletes unnecessary files from clond-interface branch.

Change-Id: I6d6e59384f4a2b792e91e6a72d750893a47628fd
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6159
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
(cherry picked from commit e4d5358fa4f4fcddc7d660b0b2538c299ed3e1c0)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7427

8 years agowrong format specifier
Manoj Gupta [Tue, 29 Mar 2016 03:58:48 +0000 (09:28 +0530)]
wrong format specifier

Change-Id: Ibb26c371648dd14aa5b34d0f6015b60d4e341c11
Signed-off-by: Manoj Gupta <manoj.g2@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7423
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
8 years agoProper Format Specifier for unsigned value
Manoj Gupta [Tue, 29 Mar 2016 03:37:03 +0000 (09:07 +0530)]
Proper Format Specifier for unsigned value

Change-Id: I032228b4ab2bd1e8e8636d6dce30b345d9be3959
Signed-off-by: Manoj Gupta <manoj.g2@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7419
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoCompile Time Warnings Removed
Manoj Gupta [Mon, 28 Mar 2016 14:01:55 +0000 (19:31 +0530)]
Compile Time Warnings Removed

Change-Id: Iec076f09552514418e97d78b574204a9786c6277
Signed-off-by: Manoj Gupta <manoj.g2@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7403
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agomodified start Multicast Server logic of android BLE.
jihwan.seo [Thu, 17 Mar 2016 04:58:30 +0000 (13:58 +0900)]
modified start Multicast Server logic of android BLE.

Change-Id: I22dc91b6361da26830490dbf7c5b773473ccd4e8
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5993
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit 9a79a0333d52b0435f17eae84662a828a021a3c7)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6113

8 years agoEnabled OIC_LOG_BUFFER for Tizen
vimala.v [Tue, 22 Mar 2016 06:25:09 +0000 (11:55 +0530)]
Enabled OIC_LOG_BUFFER for Tizen

Change-Id: Ifdbfeb28d96ea417e5a7125a2e2eef2f8cacb7bd
Signed-off-by: vimala.v <vimala.v@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6163
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoclean up getting methodID from jni
jihwan.seo [Fri, 25 Mar 2016 07:34:37 +0000 (16:34 +0900)]
clean up getting methodID from jni

Change-Id: Ic6852d4f6195356cd35c1c4cabe3d3438ecbcd26
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6321
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoChanged the message transmission logic about CA_DEFAULT_ADAPTER
hyuna0213.jo [Mon, 21 Mar 2016 04:55:36 +0000 (13:55 +0900)]
Changed the message transmission logic about CA_DEFAULT_ADAPTER

if transport adapter type is set as CA_DEFAULT_ADAPTER,
CA transmit a message via all transport adapter after generating a pdu.
but CoAP over UDP and CoAP over TCP can be used to generating pdu
according to transport type. so transport type should be determined
before generating a pdu.

Change-Id: I1cd6adda7dd060239eb40d74c36a1fa69da619f5
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6115
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit 58f6af2f58862fc44ae516fbe952c5a713a12077)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6311

8 years ago[Easy-setup] Fixed Security feature
lankamadan [Mon, 28 Mar 2016 09:33:06 +0000 (18:33 +0900)]
[Easy-setup] Fixed Security feature

 - Updated Mediator and enrollee sample applications [Android, Linux,Tizen]
 - Updated iotivity.spec file
 - Updated tizen-sdb README file

Change-Id: I95a8540ced6c9b5ac5036afb2763aeb02ec24a09
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6303
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Conflicts:

service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.cpp

Conflicts:

service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c

Change-Id: I95a8540ced6c9b5ac5036afb2763aeb02ec24a09
Signed-off-by: lankamadan <lanka.madan@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6313
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sandipan Patra <sandipan.p@samsung.com>
8 years ago[Easy-Setup] Changed the enrollee's cpp files to c files
Jay Sharma [Mon, 21 Mar 2016 13:08:15 +0000 (18:38 +0530)]
[Easy-Setup] Changed the enrollee's cpp files to c files

- Updated the enrollee SDK.
- Updated the Linux Application

Change-Id: Ia7a42011f609870fb2654f2a324213c1fdee5720
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6133
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years agofixed some crash for NFC.
jihwan.seo [Fri, 25 Mar 2016 00:25:43 +0000 (09:25 +0900)]
fixed some crash for NFC.

Change-Id: I6abdd1cd99771a73876ffb5e8d2a9da40d2f19c0
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6309
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit 7a551aee2bb9927f89814f00ca276484a13b8e99)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6317
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agochanged block-wise transfer logic to process non-confirmable message
hyuna0213.jo [Fri, 11 Mar 2016 02:54:02 +0000 (11:54 +0900)]
changed block-wise transfer logic to process non-confirmable message

according to the block-wise transfer specification, block messages
should be transmitted with request-response pairs of information from
a resource representation. current block-wise transfer logic did not
handle non-confirmable message like a specification

Change-Id: I6305bf14166720638c86eae8dc21aa5903f5b7f4
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5699
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit 693cdb53dda5770677fd23ae4db0410ef51cf438)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6041
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Easy-Setup] Updated Mediator Java SDK.
Jay Sharma [Tue, 22 Mar 2016 07:11:53 +0000 (12:41 +0530)]
[Easy-Setup] Updated Mediator Java SDK.

- Added NULL check.

Change-Id: I72c8e64dc72559e254a4fd30dd363673127715f5
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6165
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit dcf0f77d36ec6aec16dcff466d75dd178eba8526)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6197
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years ago[IOT-1020], [IOT-1024], [IOT-1029], [IOT-1030] fixes
Markus Jung [Wed, 23 Mar 2016 06:50:14 +0000 (15:50 +0900)]
[IOT-1020], [IOT-1024], [IOT-1029], [IOT-1030] fixes

- param check for getConfiguredResourceParams API
- updated example configuration for Android sample of resource container
- removed getLibraryPath API from Android wrapper

Change-Id: Ib825240a2ebec7cfa0a61e1ae63e156408904bd6
Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6211
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 65878a4799f5d7c1b93b53f505b83d65171b1fd2)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6273
Reviewed-by: JungHo Kim <jhyo.kim@samsung.com>
8 years ago[IOT-1032][IOT-1033][IOT-1034] Fixed for an issue with android sample application.
coderhyme [Thu, 24 Mar 2016 08:51:22 +0000 (01:51 -0700)]
[IOT-1032][IOT-1033][IOT-1034] Fixed for an issue with android sample application.

It seems discovered resource is not what it should be in sample client.
It happens because method finding resource is changed.

Change-Id: Ib820319658038f7969fbd503b374c9d1933adb09
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6265
Reviewed-by: Markus Jung <markus.jung85@gmail.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit ec2b5f2446b8332078fdbb0ac0193d17b317a653)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6315

8 years agoadded some comment in here and there in pdu.h/c.
jihwan.seo [Tue, 22 Mar 2016 08:02:51 +0000 (17:02 +0900)]
added some comment in here and there in pdu.h/c.

Change-Id: Icc9fd12382d2d94f2909e383e780f8225115da3a
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6169
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Easy-setup] Commented check for Intended resource
Jay Sharma [Mon, 21 Mar 2016 03:37:25 +0000 (09:07 +0530)]
[Easy-setup] Commented check for Intended resource

- commented the condition for checking the intended resource in
  RemoteEnrolleeResource class.

Change-Id: I937c07d151eb503e238215ec60abe69ba83dde14
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6075
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit a0aa322df9df6e677cdbc8bc9afcc1bb09cb0862)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6121

8 years ago[Tizen Secure mode] Copy json file in rpm package
Sandipan Patra [Fri, 18 Mar 2016 10:21:27 +0000 (15:51 +0530)]
[Tizen Secure mode] Copy json file in rpm package

Change-Id: Ia5b9e0f45017e4f1b25b0538e613509de58eeb2f
Signed-off-by: Sandipan Patra <sandipan.p@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6073
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 127be1815683c9d0afc8d64cc9055e2f5eb6d112)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6119

8 years ago[Easy-Setup][IOT-1016] Fixed Jira issue.
Jay Sharma [Thu, 24 Mar 2016 07:27:54 +0000 (12:57 +0530)]
[Easy-Setup][IOT-1016] Fixed Jira issue.

Change-Id: I2690cd69ad35fd95759cdc66361e45c84b42a7f4
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6255
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 010f30dae73cbc522de79f6069571351de4391d0)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6271

8 years agoremove previous received data from ReceiveQueue for gatt server.
jihwan.seo [Mon, 14 Mar 2016 08:12:47 +0000 (17:12 +0900)]
remove previous received data from ReceiveQueue for gatt server.

and modified to adjust destroy thread.

Change-Id: I39043ae19527160a4f76d808a4a8e8b70d055f8a
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5843
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit 2a7b046b63032c419db682fa11ed2ad2bf84081e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6135
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago(IOT-997) modified checking scanned device for unicast
jihwan.seo [Tue, 22 Mar 2016 08:22:18 +0000 (17:22 +0900)]
(IOT-997) modified checking scanned device for unicast

Change-Id: I48854d19c95f0af6fe3a0e0f28d35a4127262ab1
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6171
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit 993cf22827e0d6ca6252ed93c48c164f46d0d54e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6191

8 years ago[Easy-setup] Unit test case fixes for Mediator SDK
Jay Sharma [Mon, 21 Mar 2016 12:19:09 +0000 (17:49 +0530)]
[Easy-setup] Unit test case fixes for Mediator SDK

Change-Id: I3a6d37b7aafb29aecf197f05b6bd801e7378996a
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6125
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years ago[IOT-1208] fix for jira issue
coderhyme [Wed, 23 Mar 2016 06:43:44 +0000 (23:43 -0700)]
[IOT-1208] fix for jira issue

It works as expected, server sample set sensor interface as its default interface. And the sensor interface does not support set request by the core spec.

I feel server and client sample should work as pair, which means sample server needs to support set request. So sample server is modified.

Change-Id: Ib2ff696c18ba5449300dff833d2dfdc7e2d7c8bb
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6209
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 45837c22238e8a2714a1db0cf19b6e202895011e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6247
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoFixed coding styles in TestBase.java of RE-android
coderhyme [Mon, 14 Mar 2016 12:28:23 +0000 (05:28 -0700)]
Fixed coding styles in TestBase.java of RE-android

Change-Id: I5cd88b6ee6c20312bc12d6c4082cbe046af5b13b
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5987
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years agoresolve jenkins build error in unit test case
hyuna0213.jo [Wed, 23 Mar 2016 07:22:47 +0000 (16:22 +0900)]
resolve jenkins build error in unit test case

Change-Id: I054b023d1d400f1baace456c929aa808dd41607f
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6215
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
8 years agoCorrected spelling mistake in Doxyfile
Shashank Shekhar Shukla [Sat, 12 Mar 2016 08:36:08 +0000 (14:06 +0530)]
Corrected spelling mistake in Doxyfile

Change-Id: Ic86f860117f6e492cda831b4c832f834a38e8a75
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5765
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
8 years agoFixed a bug in the cache module of RE
coderhyme [Mon, 14 Mar 2016 02:57:32 +0000 (19:57 -0700)]
Fixed a bug in the cache module of RE

If observation for a resource from a client is started, it should be canceled.
But there was a logic error that it isn't.

Change-Id: I2440c20999b7076bea5987ccbad3f0710269b3d9
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5807
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: JungYong KIM <jyong2.kim@samsung.com>
8 years agoCorrecting error case return value
sahil bansal [Thu, 17 Mar 2016 11:20:01 +0000 (16:50 +0530)]
Correcting error case return value

Change-Id: If1b1e8e0674ab37461f95a8fae0a22b026fe4ce6
Signed-off-by: sahil bansal <sahil.bansal@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6011
Reviewed-by: Joonghwan Lee <jh05.lee@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
8 years agoModify Ciphersuite code number
js126.lee [Sat, 19 Mar 2016 08:53:04 +0000 (17:53 +0900)]
Modify Ciphersuite code number

Accoding to conclusion of OCF Securit TG,
the code number of TLS_ECDH_anon_WITH_AES_128_CBC_SHA256 is changed to
0xFF00 as OCF Vendor Specific Ciphersuite.

Change-Id: I24456049608a8559bd8082ab359e4a2b3c0a00b8
Signed-off-by: js126.lee <js126.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6095
Reviewed-by: Kyungsun Cho <goodsun.cho@samsung.com>
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit a44f827d62aa56d4220eec869cd63ec73a829bbd)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6097
Tested-by: Randeep Singh <randeep.s@samsung.com>
8 years agofix error for create a new block data
Jaewook Jung [Thu, 17 Mar 2016 05:29:16 +0000 (14:29 +0900)]
fix error for create a new block data

Change-Id: I1a90bc9959e2049dd04d12ef90e5476608357681
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5995
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit f8bf221edc2b29a6684afe8be0b8fd735537f746)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6003

8 years agoFix for Klockwork issues
koushik.girijala [Tue, 8 Mar 2016 06:03:29 +0000 (11:33 +0530)]
Fix for Klockwork issues

Fixed issues reported in Klockwork run

Change-Id: I00e6a874ce53a0614ed20230d18f1470a2ec4904
Signed-off-by: koushik.girijala <g.koushik@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5909
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed initialization issue for connection state.
jihwan.seo [Wed, 9 Mar 2016 12:28:12 +0000 (21:28 +0900)]
fixed initialization issue for connection state.

Change-Id: I16b02d35ae36feacb6472a73796cb1b9e24636bb
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5631
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit 1b395d956b94afcc69a5a0c7d24a2f75042aa2a4)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5895

8 years agoAdd timeout into checking invalid input condition
js126.lee [Fri, 18 Mar 2016 06:40:08 +0000 (15:40 +0900)]
Add timeout into checking invalid input condition

- Patch 1: If timeout is 0, return error.
- Patch 2: Add unittest
- Patch 3: Modify file mode

Change-Id: I571615ffe4d00dc1feff94d9b39525eabc75d215
Signed-off-by: js126.lee <js126.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6061
Reviewed-by: Yonggoo Kang <ygace.kang@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit 92a40d711d88dddba9476640e8b8204c2f60b0ba)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6069
Tested-by: Randeep Singh <randeep.s@samsung.com>
8 years agoModified README-building-and-running-secure-IoTivity-stack.txt
Shashank Shekhar Shukla [Thu, 17 Mar 2016 08:10:25 +0000 (13:40 +0530)]
Modified README-building-and-running-secure-IoTivity-stack.txt

Change-Id: Ifd44d3b64b1e2643eda82146b6b1d4d9fb85d44e
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6005
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
8 years agoStatic Analysis correction of testcases
Shashank Shekhar Shukla [Fri, 18 Mar 2016 04:44:29 +0000 (10:14 +0530)]
Static Analysis correction of testcases

Change-Id: Idb52664e0ecc31c7d6f04f2cd8f46367c8b1e7f8
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6053
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoMAC address parsing in constructResourceObject()
jw0213.jung [Fri, 11 Dec 2015 06:58:35 +0000 (15:58 +0900)]
MAC address parsing in constructResourceObject()

When call the function constructResourceObject(..), the first parameter
is a string for a host address of the server.
The string could be a IPv4 form or IPv6 or MAC.
But there is no parsing logic for MAC address form(xx:xx:xx:xx:xx:xx).
Without this, MAC is parsed as IPv4 which does not work properly.
(the first block as IP address, the second one is port number, and
lasts are ignored)
So I added the MAC parsing logic with checking a validity of address.

Change-Id: I2fc5a14b400605c9255173bbddc2ff7a4bae0551
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5593
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit 613c5281e662dd8f693477fa001f9f5500fa8f2f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/4521

8 years agoAdding security json file to easysetup android assets folder
lankamadan [Fri, 18 Mar 2016 04:26:22 +0000 (13:26 +0900)]
Adding security json file to easysetup android assets folder

- This file is need for easysetup secured mediator for storing the creds and enrollee information

Change-Id: I3a11c332167dd3969f3fc9dee9b8455aebf8cc51
Signed-off-by: lankamadan <lanka.madan@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6051
Reviewed-by: Sandipan Patra <sandipan.p@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoUpdated Tizen easysetup readme with proper rpms names
lankamadan [Wed, 16 Mar 2016 10:35:19 +0000 (19:35 +0900)]
Updated Tizen easysetup readme with proper rpms names

Change-Id: I0f457d03afebae55005924d035a0762dbd5d7b66
Signed-off-by: lankamadan <lanka.madan@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5969
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit 3405b241ea43bfc6472e3f559033230e2dff812c)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6043
Reviewed-by: Sandipan Patra <sandipan.p@samsung.com>
8 years agoremoved warning in CA layer
Jaewook Jung [Fri, 4 Mar 2016 05:35:27 +0000 (14:35 +0900)]
removed warning in CA layer

Change-Id: Id7b89929a8497a041590b60e91f2ad33d51ce0c1
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5585
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit e1dffdd55cd2a6f3e18c5bf5eb6a348e3bfef9fc)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5403

8 years ago[Tizen Secure Mode] Tizen enrollee build using security mode enabled
lankamadan [Thu, 17 Mar 2016 08:45:14 +0000 (17:45 +0900)]
[Tizen Secure Mode] Tizen enrollee build using security mode enabled

Change-Id: I5a4d91e5e56863a9a859f681202f52828207a00a
Signed-off-by: Sandipan Patra <sandipan.p@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5611
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit cacf88d328ec0a4efb2bc4024d3a102abf9e13d0)

Change-Id: I5a4d91e5e56863a9a859f681202f52828207a00a
Signed-off-by: lankamadan <lanka.madan@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5803
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoCorrected compile time warning of unused variables
Shashank Shekhar Shukla [Sat, 12 Mar 2016 09:22:21 +0000 (14:52 +0530)]
Corrected compile time warning of unused variables

Change-Id: Ic875af1273f0c6dc2907479e8ae5203e87435262
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5767
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoChanges related to accept socket initialization
hyuna0213.jo [Wed, 16 Mar 2016 02:28:43 +0000 (11:28 +0900)]
Changes related to accept socket initialization

Changed tcp adapter start logic to create accept socket only when
host is server.

Change-Id: If0c20f20e8bacdcca63b20e0b204e87c7d1e78df
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5941
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
(cherry picked from commit 895ffc47e860f4ae78577853b1f8e39fa708c79f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6001
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed the bug related to coap over tcp pdu creation.
hyuna0213.jo [Tue, 15 Mar 2016 05:58:46 +0000 (14:58 +0900)]
fixed the bug related to coap over tcp pdu creation.

The first nibble of the frame is used to indecate the length of
the options/payload. and if a value is 13, an 8-bit unsigned integer
follows the initial byte and indicates the length of options/payload
minus 13. even in case the length of options/payload is 13, an 8-bit
unsigned interger has to be used to indicate 0.

Change-Id: I580e126755ae4b3018fe7eb11eae34035b0efa6c
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5901
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
(cherry picked from commit 417ac656bad3f3c84f5cbbc8a4c88b5426a4fe1d)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5999
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoAdding unit test cases for direct pairing
sahil bansal [Sun, 13 Mar 2016 06:56:02 +0000 (12:26 +0530)]
Adding unit test cases for direct pairing

Change-Id: I5f140fcf7895b2e6b517b4588655a3be483c6bb1
Signed-off-by: sahil bansal <sahil.bansal@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5791
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit df3779aa30c5b105c7ab50799748b9770ea6cea7)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5997
Tested-by: Randeep Singh <randeep.s@samsung.com>
8 years agoCorrected warning of unused variable
Shashank Shekhar Shukla [Wed, 16 Mar 2016 10:29:18 +0000 (15:59 +0530)]
Corrected warning of unused variable

Change-Id: I9708256a325978de5d55ef8b9b12edd44337fa5b
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5967
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoCorrected empty body 'if' warning
Shashank Shekhar Shukla [Wed, 16 Mar 2016 10:19:30 +0000 (15:49 +0530)]
Corrected empty body 'if' warning

Change-Id: I6a7a8f0f1374e84bede366d4cc6b2d87c71eec94
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5965
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoCorrected spelling mistake in ReadMe
Shashank Shekhar Shukla [Sat, 12 Mar 2016 08:31:20 +0000 (14:01 +0530)]
Corrected spelling mistake in ReadMe

Change-Id: Ia4cde829f4596e13b1300d0b16b79bb7d5003cf3
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5761
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoRemove unnecessary code
Jaehong Jo [Wed, 9 Mar 2016 09:02:38 +0000 (18:02 +0900)]
Remove unnecessary code

And changed Tizen API

Change-Id: Iecc07d760926b1ce42554bdf9cb9fcfda38833c3
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5615
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Easy-Setup] Updated Doxygen and javadoc
Jay Sharma [Mon, 14 Mar 2016 12:21:05 +0000 (17:51 +0530)]
[Easy-Setup] Updated Doxygen and javadoc

- Updated Doxygen and javadoc updates for easysetup service based
  on latest folder structure

Change-Id: I4a3d888fb30a6a334aba3d7cd5fe4ed019b2ed75
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5825
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 0c97f909f863c325b2e4de71f0486b173617cf3e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5943

8 years agoFix for klocwork issues.
G S Senthil Kumar [Fri, 11 Mar 2016 16:29:28 +0000 (21:59 +0530)]
Fix for klocwork issues.

This change includes fix for all klocwork reported issues
in native and java layer.

Change-Id: Ibba5d478e64251636c8ef514c52b9e9bd6f36442
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5749
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 975f03206382a5a92a1bb6b02797716361103989)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5945

8 years agoIOT-945: Fixing segmentation fault issue
Markus Jung [Wed, 9 Mar 2016 09:53:06 +0000 (18:53 +0900)]
IOT-945: Fixing segmentation fault issue

- Using smart pointers for managing bundles
- Changing APIs to use smart pointers

NOTE: this patch breaks backward compatibility with previous APIs

Change-Id: Ibeb833c3a0381856ca96747404302ae4bc308a39
Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5661
Reviewed-by: Inga Stotland <inga.stotland@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: JungHo Kim <jhyo.kim@samsung.com>
(cherry picked from commit 6db3155bd07c9394a1e8409077d95aac709180aa)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5707

8 years agoAdded Unittests and Added LICENSE
jaesick.shin [Thu, 10 Mar 2016 01:56:45 +0000 (10:56 +0900)]
Added Unittests and Added LICENSE

Generate response test(Actuator Interface, Custom Interface)
InterfaceHandler.cpp file not contains LICENSE
Added LICENSE

Change-Id: I034f43f6524ed630ed806173ffa3db267308dec5
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5657
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: JungHo Kim <jhyo.kim@samsung.com>
(cherry picked from commit b683f1a68f66f9db2743fe20e8d9e3b92b6675c3)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5809

8 years agoAdd required header file in sceneserver and sceneclient
Jihun Ha [Fri, 11 Mar 2016 07:47:13 +0000 (16:47 +0900)]
Add required header file in sceneserver and sceneclient

I've added condition_variable header file because it is required
for some compilers.

Change-Id: I68655e613a10b3c8941fd743651d304999272160
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5715
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: JungHo Kim <jhyo.kim@samsung.com>
(cherry picked from commit 07a6497a5b51e0dd7e03008d4ede68de64df8b08)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5813

8 years agoRemoved unnecessary/duplicated code in connectivity abstraction
hyuna0213.jo [Wed, 9 Mar 2016 05:25:23 +0000 (14:25 +0900)]
Removed unnecessary/duplicated code in connectivity abstraction

remove unnecessary/duplicated code in connectivity abstraction
to increase unit tc coverage

Change-Id: Ifa589642b43f1590ed492a129a0af4a2cd954358
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5607
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5729
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
8 years agoMemory Leak of capi context resolved
Manoj Gupta [Tue, 8 Mar 2016 14:47:10 +0000 (20:17 +0530)]
Memory Leak of capi context resolved

Change-Id: I60857c492efdbf5890ad500cbeeb7b9138bfa73f
Signed-off-by: Manoj Gupta <manoj.g2@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5557
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>