platform/upstream/iotivity.git
5 years agoFixes for scan in VD 35/195235/1 accepted/tizen/unified/20181212.062520 submit/tizen/20181212.005641
agrkush [Sun, 9 Dec 2018 18:23:35 +0000 (23:53 +0530)]
Fixes for scan in VD

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/358
(cherry picked from commit d7a3c45d3ab7d4a0ee01a3a4fb639f5ba7f366f8)

Change-Id: Ifa2d29429b9e0b4b57635d1e948477284dc23397
Signed-off-by: agrkush <kush.agrawal@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoRPK API update 34/195234/1
Oleksii Beketov [Thu, 19 Jul 2018 13:38:43 +0000 (16:38 +0300)]
RPK API update

Callback for RPK master key declaration corrected

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/301
(cherry picked from commit da0a7f68cb47d41a0496161ce46d9a3f3b6a74d0)

Change-Id: I3d4b0d37388de91f771b5f6f111270d38b95f62a
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoFix for crash in JniOnPostListener 33/195233/1
Harish Kumara M [Wed, 5 Dec 2018 08:48:51 +0000 (14:18 +0530)]
Fix for crash in JniOnPostListener

Crash was due to post response received on deleted JniOnPostListener
object. This change make sure of valid JniOcResource object when CRUDN
callback invoked from core stack layer.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/360
(cherry picked from commit 494f1578d7edceec084dd42b59c3198bdd2fb6a8)

Change-Id: I5c7d42cbfaa522f2c4707cb0271422eecbd5b396
Signed-off-by: Harish Kumara M <h.marappa@samsung.com>
Signed-off-by: pilli manikanta <p.manikanta@partner.samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoRevert "[CONPRO-1333] Fix for crash in virtual device" 32/195232/1
Harish Kumara M [Tue, 4 Dec 2018 14:08:35 +0000 (19:38 +0530)]
Revert "[CONPRO-1333] Fix for crash in virtual device"

This reverts commit 3f24e6e008ba6de12fe6ef8dd45cf4a096bc528c.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/0633a03bbee706e9d07010f6107f9f3bc648ae68
(cherry picked from commit 0633a03bbee706e9d07010f6107f9f3bc648ae68)

Change-Id: I8890b28943a37717c94bea1cbe1be51f38f4459a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoGetPstatIsop() API fix 31/195231/1
Vitalii Irkha [Fri, 7 Dec 2018 10:36:17 +0000 (12:36 +0200)]
GetPstatIsop() API fix

Check pointer to NULL  before using

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/356
(cherry picked from commit b4f5ee6139689949be8e9b191172e97973a4fe03)

Change-Id: I622552d46b2d7bb22ec8f1b01820c07b672cc645
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoUpdate Snapshot History (2018-11-22 & 2018-11-28) 29/195029/1
Amit KS [Mon, 10 Dec 2018 06:45:31 +0000 (12:15 +0530)]
Update Snapshot History (2018-11-22 & 2018-11-28)

Change-Id: I57cadda13d0b43e3c1be705a27caa4b16c754264
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoUpdate Snapshot(2018-12-05) 53/194853/1 accepted/tizen/unified/20181210.060235 submit/tizen/20181209.235818
Amit KS [Fri, 7 Dec 2018 11:22:33 +0000 (16:52 +0530)]
Update Snapshot(2018-12-05)

Change-Id: Id7b5660b7a106e16c1cc72face0efbe078fe59ac
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoChange scan and connect sequence for Tizen LE Client (VD). 52/194852/1
agrkush [Wed, 5 Dec 2018 14:57:22 +0000 (20:27 +0530)]
Change scan and connect sequence for Tizen LE Client (VD).

1. Scan Will be initiated at time of starting le client.
2. Connect will be initiated before sending data.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/355
(cherry picked from commit 1929cb2f5ba51de21343857dc30dcefa370a6f80)

Change-Id: I3d69cc621185daa4c5580ceb545ce8d4c5eebde5
Signed-off-by: agrkush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoAdd vd specific caleclient code 51/194851/1
agrkush [Thu, 22 Nov 2018 13:55:40 +0000 (19:25 +0530)]
Add vd specific caleclient code

Change-Id: I9939f7748733c4290ed4eed1781a5d218fe2ec48
Signed-off-by: agrkush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoFix build break in JNI layer 50/194850/1
Harish Kumara M [Wed, 5 Dec 2018 14:36:48 +0000 (20:06 +0530)]
Fix build break in JNI layer

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/354
(cherry picked from commit 896a6e15761a50d7c34ce01d75b674015f4871fd)

Change-Id: Ibde2c0ef310afb276b22ada1bd4adac329f6dc36
Signed-off-by: Harish Kumara M <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoCheck Device Operational State 60/194560/1 accepted/tizen/5.0/unified/20181206.055549 submit/tizen_5.0/20181206.000945
Vitalii Irkha [Wed, 5 Dec 2018 12:17:46 +0000 (14:17 +0200)]
Check Device Operational State

Add API - OCGetDeviceOperationalState() to get isop value of pstat.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/353
(cherry picked from commit 2c2d19d2012093aee3fe1fb7e83e24f19871dbe7)

Change-Id: Icc64e0d8767dbb98620860955c84004418505531
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoOXM notify CB 16/194516/1
Oleksii Beketov [Mon, 3 Dec 2018 12:08:56 +0000 (14:08 +0200)]
OXM notify CB

Added selected OXM notification callback

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/336
(cherry picked from commit 57e8641fcc434d15a4d078bd0d8a4b036c99d140)

Change-Id: I29faaa328082eb4ac41a47c5a1024ff9e04b3392
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd OTM select callback 15/194515/1
Oleksii Beketov [Thu, 29 Nov 2018 12:33:36 +0000 (14:33 +0200)]
Add OTM select callback

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/334
(cherry picked from commit 532f133abc97e9a165ced0fd94b24d513362237c)

Change-Id: Ifa6e264c2a900a5927ff15ec240a45f210ca9b59
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agofreed payload in OCSendKeepAliveRequest 14/194514/1
samanway-dey [Tue, 27 Nov 2018 16:35:00 +0000 (22:05 +0530)]
freed payload in OCSendKeepAliveRequest

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/346
(cherry picked from commit 80cddcb478a802a2d7b6705eeb0624caca15d660)

Change-Id: Id86c7fce30d9f5a2fa137ac6ca8be89005ab3c29
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years ago[CONPRO-1333] Fix for crash in virtual device 13/194513/1
pilli manikanta [Wed, 28 Nov 2018 09:10:22 +0000 (14:40 +0530)]
[CONPRO-1333] Fix for crash in virtual device

Post response received on deleted JniOnPostListener object.
Binding weak reference of JniOnPostListener gives safe way
for checking the existance of JniOnPostListener object.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/347
(cherry picked from commit 3f24e6e008ba6de12fe6ef8dd45cf4a096bc528c)

Change-Id: Ie2305571e562202b69374bfc7960b2d5689b624d
Signed-off-by: pilli manikanta <p.manikanta@partner.samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years ago[CONPRO-1343] Removing unused code 12/194512/1
sourav bhuwalka [Tue, 20 Nov 2018 14:38:55 +0000 (20:08 +0530)]
[CONPRO-1343] Removing unused code

Here g_connectionHandler and g_adapterHandler are removed as they are always NULL and will never be called.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/340
(cherry picked from commit b5974992e15c5b95e6db4c8f3c905adc9d1560f9)

Change-Id: I656da132c3d3f948e0f84230d456476fca968f10
Signed-off-by: sourav bhuwalka <s.bhuwalka@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years ago[CONPRO-1333] Revert DTLS credential CB 11/194511/1
Oleksii Beketov [Tue, 20 Nov 2018 16:43:53 +0000 (18:43 +0200)]
[CONPRO-1333] Revert DTLS credential CB

Revert DTLS PSK callback in case of OTM error

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/341
(cherry picked from commit 12f722ea759780424b8f6ed184b7b8688a6b1f45)

Change-Id: I6d4aaee03415e831bf0452f917e7e917985d9d93
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years ago[CONPRO-1354] Add length checks 10/194510/1
Oleksii Beketov [Mon, 19 Nov 2018 17:15:52 +0000 (19:15 +0200)]
[CONPRO-1354] Add length checks

Added length checks before memcopies
in CheckInvalidDERSignature()

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/338
(cherry picked from commit f5bffc12019316989827988b13b5f18b87842a2f)

Change-Id: Ide87962a20a9154808a6de5ec739b0cf0c9ae735
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoRemove Presence macro in header files. 09/194509/1
agrkush [Thu, 15 Nov 2018 13:16:06 +0000 (18:46 +0530)]
Remove Presence macro in header files.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/337
(cherry picked from commit 8fa624930b9fb15f47857c83af4afe9f72b4e734)

Change-Id: I4f7929890431af2834696652d948a3ec0895823d
Signed-off-by: agrkush <kush.agrawal@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoDouble confirmation logic removed 08/194508/1
Oleksii Beketov [Fri, 9 Nov 2018 12:39:33 +0000 (14:39 +0200)]
Double confirmation logic removed

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/036235a192380ad9fbf1840113d4d99c24021b4d
(cherry picked from commit 036235a192380ad9fbf1840113d4d99c24021b4d)

Change-Id: Icbeed810aaff3f016a71e10cf039046925863b3c
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAbsent client's certificate CB 07/194507/1
Oleksii Beketov [Wed, 7 Nov 2018 13:21:00 +0000 (15:21 +0200)]
Absent client's certificate CB

Added callback to get user's confirmation
in case of absent client's certificate

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/334
(cherry picked from commit 4fb53e4bd30ff8bb94642c27195eccbe5276d949)

Change-Id: Id7f597ef75721de7291725510767241f0e0c2d37
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMerge "[CONPRO-1337] Disabled Presence Feature"" into tizen_5.0
Pyun DoHyun [Wed, 5 Dec 2018 05:44:30 +0000 (05:44 +0000)]
Merge "[CONPRO-1337] Disabled Presence Feature"" into tizen_5.0

5 years ago[CONPRO-1356]Calling GetMtuSize for Tizen 01/194301/1 accepted/tizen/5.0/unified/20181203.061734 submit/tizen_5.0/20181203.021553
DoHyun Pyun [Mon, 3 Dec 2018 02:14:19 +0000 (11:14 +0900)]
[CONPRO-1356]Calling GetMtuSize for Tizen

Change-Id: I901ea18d20b63127632983f0715055052236a78d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years ago[CONPRO-1337] Disabled Presence Feature" 60/193360/1
DoHyun Pyun [Mon, 19 Nov 2018 22:59:35 +0000 (07:59 +0900)]
[CONPRO-1337] Disabled Presence Feature"

For disabling presence, DISABLE_PRESENCE=1, flag
should be defined at time of scons build.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/325
(cherry picked from commit cc5a552d03e658c6b04886cd0586ed57cd3bdac1)

Change-Id: Ifc5b84a29e17ad43fe30c40b2afed6c02933c0f8
Signed-off-by: Amit KS <amit.s12@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoRevert "[CONPRO-1337] Disabled Presence Feature" 47/193147/1 accepted/tizen/5.0/unified/20181116.080142 submit/tizen_5.0/20181115.083511
DoHyun Pyun [Thu, 15 Nov 2018 08:14:53 +0000 (17:14 +0900)]
Revert "[CONPRO-1337] Disabled Presence Feature"

This reverts commit 127c4d9e2773e22cb3f4d6ffd8a568fa67312ec2.

Change-Id: I2690b11b0fb187f6fbf8348c36beb218c449f307
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMerge branch 'tizen' into tizen_5.0 58/192458/1
DoHyun Pyun [Mon, 5 Nov 2018 23:40:17 +0000 (08:40 +0900)]
Merge branch 'tizen' into tizen_5.0

Change-Id: I2e4b961e2a7e5f197c35c9d463a18181bd107658
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoUpdate Snapshot(2018-11-02) 15/192415/1 submit/tizen/20181106.005005
Amit KS [Mon, 5 Nov 2018 09:47:01 +0000 (15:17 +0530)]
Update Snapshot(2018-11-02)

Change-Id: Ia29a6f7b9bb72add9e72a5a379a8db72985fe4b9
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoBLE Adapter code updated for Tizen-4.0 14/192414/1
Amit KS [Mon, 5 Nov 2018 09:41:30 +0000 (15:11 +0530)]
BLE Adapter code updated for Tizen-4.0

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/331
(cherry picked from commit d38432e9d10f45248bd908cdac10a21fa55e0ab1)

Change-Id: I2c2064842acedac91bcad20944c4c910f16a8228
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years ago[CONPRO-1337] Disabled Presence Feature 10/192410/1
Amit KS [Mon, 5 Nov 2018 06:12:57 +0000 (11:42 +0530)]
[CONPRO-1337] Disabled Presence Feature

For disabling presence, DISABLE_PRESENCE=1, flag
should be defined at time of scons build.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/325
(cherry picked from commit cc5a552d03e658c6b04886cd0586ed57cd3bdac1)

Change-Id: I895cdc110bbec1c62d3e4bafbb70fabf329210f1
Signed-off-by: Amit KS <amit.s12@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years ago[CONPRO-1337] Disabled Presence Feature 04/192404/1
Amit KS [Mon, 5 Nov 2018 06:12:57 +0000 (11:42 +0530)]
[CONPRO-1337] Disabled Presence Feature

For disabling presence, DISABLE_PRESENCE=1, flag
should be defined at time of scons build.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/325
(cherry picked from commit cc5a552d03e658c6b04886cd0586ed57cd3bdac1)

Change-Id: I895cdc110bbec1c62d3e4bafbb70fabf329210f1
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoImplicit typecast fix for vd build 47/192347/1
Amit KS [Thu, 1 Nov 2018 10:05:35 +0000 (15:35 +0530)]
Implicit typecast fix for vd build

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/332
(cherry picked from commit 543625f924cd772f6d2fb37523b4378b364ee85a)

Change-Id: If333b26bbac68ed575d1a9b88f5518b4f86dffd1
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoUpdate Snapshot(2018-10-17) 84/191484/1 submit/tizen/20181021.233752 submit/tizen/20181029.002425
Amit KS [Wed, 17 Oct 2018 11:34:18 +0000 (17:04 +0530)]
Update Snapshot(2018-10-17)

Change-Id: Iadee3e75c9f28e0c67c00dac83752502b8aa57ef
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoAdded API for SSOList in SC Easysetup 83/191483/1
agrkush [Wed, 17 Oct 2018 07:50:51 +0000 (13:20 +0530)]
Added API for SSOList in SC Easysetup

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/330
(cherry picked from commit ee54128ab52b613734213d16cdbaebb0c9c1c409)

Change-Id: I5841fd01f0fd831bf8b7269db1fd305746ab9437
Signed-off-by: agrkush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years ago[CONPRO-1273] Add LINKFLAGS 82/191482/1
Amit KS [Wed, 17 Oct 2018 11:28:01 +0000 (16:58 +0530)]
[CONPRO-1273] Add LINKFLAGS

 1. Remove '-fPIE, -pie' compile option from CCFLAGS
 2. Add LINKFLAGS '-Wl, -z, -relro'

 https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/329
 (cherry picked from commit 7115d71236b6a1c947f93dec0c84762937150c5b)

Change-Id: Ie713ebcf02c0b526730d7cd94f0d2c0ae69852ce
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoFix for SVACE issue. (#326) 81/191481/1
harish.191@samsung.com [Thu, 11 Oct 2018 09:18:35 +0000 (14:48 +0530)]
Fix for SVACE issue. (#326)

[CONPRO-1305] Fix for SVACE issue.

1. Add condition to stop receive negative value.
2. Check condition for thread creation successful.
3. Check return value of function.
4. Update type mismatch value assigned.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/326
(cherry picked from commit cb27ef5e3947ffc529630e0792eff21f4d081f12)

Change-Id: I44aca78703df3fbbe61bd0772760df22fd6c3db9
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoUpdate sc_enrollee.c 80/191480/1
kush.agrawal@samsung.com [Wed, 3 Oct 2018 08:07:00 +0000 (13:37 +0530)]
Update sc_enrollee.c

cherry picked from commit 352502d7d0ed803fa124e3f1502047be066ab52f

Change-Id: I8cb30184e34f086d965ad0a39767fcdeaf23d438
Signed-off-by: agrkush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoUpdate ESSCCommon.h 79/191479/1
kush.agrawal@samsung.com [Wed, 3 Oct 2018 08:02:03 +0000 (13:32 +0530)]
Update ESSCCommon.h

cherry picked from commit a3e28f7512d6ad220f04eb8cc7fd2ac77f30f0f8

Change-Id: I25c8b42d74bc07e2b45d00a58adebc238ba83767
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoUpdate Snapshot(2018-10-03) 29/190729/1 submit/tizen/20181009.235403
Amit KS [Fri, 5 Oct 2018 04:01:42 +0000 (09:31 +0530)]
Update Snapshot(2018-10-03)

Change-Id: I9c3c89830e4c251f833667013610e41c2768330e
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoAdding candidateAP information. Following Samsung Specific Property is added : 28/190728/1
agrkush [Wed, 3 Oct 2018 07:52:22 +0000 (13:22 +0530)]
Adding candidateAP information. Following Samsung Specific Property is added :

Property Name: Candidate AP List Information
Key: "x.com.samsung.candidateaps"
Type: Object Array (Containing ssid, passphrase, channel and bssid).
Access Mode: Read Write
Description: Candidate AP List information

Changes made at Mediator and Enrollee Side (Samsung specific source).

Linux Sample apps updated and verified (Samsung Specific Sample Apps)

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/323
(cherry picked from commit 839c794eda36bc5428933fef26613db1acdad040)

Change-Id: Ia2cc7d6f421c1a0e4f500b820fc11c217d67bf2e
Signed-off-by: agrkush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoAdded API to disable starting advertisement automatically 27/190727/1
Amit KS [Wed, 26 Sep 2018 05:39:00 +0000 (11:09 +0530)]
Added API to disable starting advertisement automatically

And Advertisement data can be set just before starting - Review Comment fixed

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/315
(cherry picked from commit 1d853ecc267d2f76d0695aefffd02d6d5ed50a95)

Change-Id: Id0dddf2487750f045ef5ad8c26d277b762c14d89
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoAdded API to disable starting advertisement automatically 26/190726/1
Amit KS [Tue, 18 Sep 2018 11:37:33 +0000 (17:07 +0530)]
Added API to disable starting advertisement automatically

And Advertisement data can be set just before starting - Review Comment fixed

Change-Id: Ia82e648ae5ebf138a4311c83a0ed8d259d7b6e80
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoAdded API to disable starting advertisement automatically 25/190725/1
Amit KS [Fri, 24 Aug 2018 16:25:11 +0000 (21:55 +0530)]
Added API to disable starting advertisement automatically

And advertisement data can be set just before starting
Following Two Pathces are integrated
1.Added API to disable starting advertisement automatically [Problem] There is no possibility to don't start advertisement.
  It is always started automatically. [Cause & Measure] Advertisement is started automatically in CAStartLEGattServer

2.Advertisement data can be set just before starting
  [Problem] It's not possible to set advertisement data after bluetooth is enabled but before advertising is started.
  [Cause & Measure] current implementation assumes setting advertisement data before turning on BT.
  This feature adds possibility to set function that will be called just before starting advertising

Change-Id: I773bbfc7bb53306609812ec9600d86d29e35d27e
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoFixed add missing compile secure option for iotivity library 88/190688/1
Amit KS [Thu, 4 Oct 2018 13:39:34 +0000 (19:09 +0530)]
Fixed add missing compile secure option for iotivity library

Change-Id: Ieff02dd71def5f5151c9ea7cea476f9389e2ac93
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoUpdate Snapshot(2018-09-12) 87/190687/1
Amit KS [Thu, 4 Oct 2018 04:44:45 +0000 (10:14 +0530)]
Update Snapshot(2018-09-12)

Change-Id: Ia58b6689eb52425d499eb303bc4f8ede6e0cd4cc
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoNew APIs for editing resource and interfaces types 86/190686/1
Harish Kumara M [Thu, 16 Aug 2018 11:19:44 +0000 (16:49 +0530)]
New APIs for editing resource and interfaces types

New APIs are introduced for modifying resource and interface
types bound to a resource. These new APIs clear currently bound
types and set newly passing resource/interface type.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/313
(cherry picked from commit 2ffab6058c93ff52d64bbbe6e8d29855916d3bcc)

Change-Id: I1e51823f1d46fdc042694f9213bde026974b9ae3
Signed-off-by: Harish Kumara M <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoUpdate Snapshot(2018-09-05) 85/190685/1
Amit KS [Thu, 4 Oct 2018 04:39:58 +0000 (10:09 +0530)]
Update Snapshot(2018-09-05)

Change-Id: If994c8ff2a83bdee1ebc1e9daaa00841e7af4b82
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoadd missing compile secure option for iotivity library 84/190684/1
harish_kumar [Fri, 15 Jun 2018 04:44:39 +0000 (10:14 +0530)]
add missing compile secure option for iotivity library

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/294
(cherry picked from commit ff3d8b68e7ad493ed9f52cc62faab0124409891d)

Change-Id: I13c83d33031ff774c2a66b8e7636e68d779e93b7
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoCONPRO-1320] Cleanup observers of deleted resource. 81/190681/1
Amit KS [Thu, 4 Oct 2018 15:00:41 +0000 (20:30 +0530)]
CONPRO-1320] Cleanup observers of deleted resource.

Observers were not cleane up for deleted resource, this
caused crash in trying to access deleted resource while
deleting these observers when TCP connection is closed.
Changes are made to clean up the observers while deleting
resource itself

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/318
(cherry picked from commit a7f8adbd8574db8b22a9fbf2340721ebac4c148e)

Signed-off-by: Harish Kumara M <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
Change-Id: I2860a6aaa6324b3ff55070860e8e6b0090f6d2eb

5 years agoUpdate Snapshot(2018-07-25) 17/186117/1
Amit KS [Tue, 7 Aug 2018 09:35:33 +0000 (15:05 +0530)]
Update Snapshot(2018-07-25)

Change-Id: I1907ac783dc812df5ff8ed16007ca7ff6cfab72a
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years ago [SVRDBEditor] Allow add MOM DOXM attribute 16/186116/1
Vitalii Irkha [Tue, 24 Jul 2018 13:53:55 +0000 (16:53 +0300)]
 [SVRDBEditor] Allow add MOM DOXM attribute

MOM DOXM attribute can be added via svrdbeditor

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/310
(cherry picked from commit 1ce338a37a447e42c23a86d64d9e96c6646a9217)

Change-Id: I02cc8714d6c2ac418cb2d99c77c3c0e2220ebbf3
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoInstall missed header files by the build time reducing 15/186115/1
Amit KS [Tue, 7 Aug 2018 09:24:07 +0000 (14:54 +0530)]
Install missed header files by the build time reducing

Change-Id: Ided34d8b62455f9d48b54f8362bda8497dec2654
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years ago[SVRDBEditor] Edit Doxm MOM attribute 14/186114/1
Vitalii Irkha [Tue, 17 Jul 2018 13:36:20 +0000 (16:36 +0300)]
[SVRDBEditor] Edit Doxm MOM attribute

Added Edit mom functionality to svrdbeditor tool

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/307
(cherry picked from commit 86952a25462ae462e52af83368c153c00b4e8374)

Change-Id: Ieff8984afb72bdbad80281ed44967bfa8ac55440
Signed-off-by: Vice73d5846ecb99fb04e87860b94afbaeff0ddcb4talii Irkha <v.irkha@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoFix Wformat build error 24/185424/1 accepted/tizen/5.0/unified/20181102.025119 accepted/tizen/unified/20180801.080133 submit/tizen/20180801.001001 submit/tizen_5.0/20181101.000006
yhji [Mon, 30 Jul 2018 10:42:11 +0000 (19:42 +0900)]
Fix Wformat build error

Change-Id: Ie8d661436da8145de62f8a6c00d74fc6719fadd2
Signed-off-by: yhji <yhji.lee@samsung.com>
5 years agoUpdate Snapshot(2018-07-18) 02/184702/1
Amit KS [Fri, 20 Jul 2018 04:28:23 +0000 (09:58 +0530)]
Update Snapshot(2018-07-18)

Change-Id: Ic28205c52f6ffb421856a41dce21f5773651682c
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoSQLite OS specific support (#304) 01/184701/1
v.irkha@samsung.com [Mon, 9 Jul 2018 04:58:23 +0000 (07:58 +0300)]
SQLite OS specific support (#304)

Change SQL requests for WHERE statements with blob params.
(Details in [IOT-2775])

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/304
(cherry picked from commit 988f01a5cc090ef21dfde89352ceb47dd7be70bc)

Change-Id: If87ae5503fb2961601376bfd405c7949c1a5c28a
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoEnable Multiple Ownership feature 08/184608/1 accepted/tizen/unified/20180719.152651 submit/tizen/20180719.073852
DoHyun Pyun [Thu, 19 Jul 2018 06:59:47 +0000 (15:59 +0900)]
Enable Multiple Ownership feature

Change-Id: Ib28d8cfee76ad94791f9177ccd1ad6d9c7b9aa82
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoUpdate Snapshot(2018-07-04) 95/183395/1
Amit KS [Thu, 5 Jul 2018 06:36:40 +0000 (12:06 +0530)]
Update Snapshot(2018-07-04)

Change-Id: Id715c564d0c8404dca74f69fbad277ea7d7357fd
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoDisable the Multicast Action in Mobile Network Case. 94/183394/1
senthil.gs@samsung.com [Tue, 3 Jul 2018 15:44:48 +0000 (21:14 +0530)]
Disable the Multicast Action in Mobile Network Case.

Starting multicast server on all identified interfaces results in resource loss as many of identified interfaces may not have Multicast capability. It make sense to start multicast server on only active wifi connected interface for android platform.

This patch handles -
1. Create UDP sockets(Unicast and Multicast) and join multicast group only when there on active WiFi connection.
2. Whenever the WiFi connection comes up, UDP sockets will be closed, created, and joined to multicast group.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/296
(cherry picked from commit ce73d5846ecb99fb04e87860b94afbaeff0ddcb4)

Change-Id: Ib3586d77d3c0e96c990e3fb5a398e78b29a20be8
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoRPK: add length check 93/183393/1
Oleksii Beketov [Mon, 2 Jul 2018 12:01:02 +0000 (15:01 +0300)]
RPK: add length check

RPK master key length check and logging added

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/303
(cherry picked from commit c8d7cb113be986ad53aa1b498280530277597187)

Change-Id: Ia9d5a974476fee3d9fc64a2267c3b8db8ff3f7b4
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years ago[CONPRO-1300] Crash in CAdeinitSslAdapter 92/183392/1
Vitalii Irkha [Fri, 22 Jun 2018 09:49:41 +0000 (12:49 +0300)]
[CONPRO-1300] Crash in CAdeinitSslAdapter

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/299
(cherry picked from commit eb86d2e103dc826d90bbb364f45616e903d6d312)

Change-Id: I2db227c9d418b68a423e742fca3cd74e8d8c8105
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoUpdate Snapshot(2018-06-27) 66/182866/1
Amit KS [Thu, 28 Jun 2018 10:06:36 +0000 (15:36 +0530)]
Update Snapshot(2018-06-27)

Change-Id: Ifb00f0b5683c938b94c710836900d0ed6ab6cfcc
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years ago[CONPRO-1303] Memory leak for equal cred contents 65/182865/1
Vitalii Irkha [Mon, 25 Jun 2018 15:33:11 +0000 (18:33 +0300)]
[CONPRO-1303] Memory leak for equal cred contents

Fix the issue in AddCredential api

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/300
(cherry picked from commit 0538b11eb0600edbf18bc43af4c3493369f99e09)

Change-Id: I0211724897f604ba88dcfb33147cb219a502ef65
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoRPK OTM (#295) 64/182864/1
ol.beketov@samsung.com [Mon, 25 Jun 2018 11:17:03 +0000 (14:17 +0300)]
RPK OTM (#295)

Raw public key OTM added from client side

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/295
(cherry picked from commit bc07c41689f3f835cb14b9e8ad70c2298fa6c839)

Change-Id: Iafeb8d467c821eca3ad350eced73f57637349a71
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoCrash in OCProcessPresence (#298) 63/182863/1
kush.agrawal@samsung.com [Fri, 22 Jun 2018 14:00:08 +0000 (23:00 +0900)]
Crash in OCProcessPresence (#298)

* [CONPRO-1285]Crash in OCProcessPresence

There is a issue after freeing the clientcb
we are again accessing it.It can possibly crash.

So, to avoid this scenario we are using LL_FOREACH_SAFE
to iterate the list

Signed-off-by: agrkush <kush.agrawal@samsung.com>
* Update ocstack.c
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/298
(cherry picked from commit 578c6918d40d5bded028266ceb3a4aaf68d33623)
Signed-off-by: Amit KS <amit.s12@samsung.com>
Change-Id: Id514a242e34d7a20df2845c09a757b3d26c9604a

5 years agoInstall missed header files by the build time reducing patchset 10/181910/1 accepted/tizen/unified/20180619.142018 submit/tizen/20180619.021338
DoHyun Pyun [Tue, 19 Jun 2018 02:10:43 +0000 (11:10 +0900)]
Install missed header files by the build time reducing patchset

Change-Id: Ibb91b87e1353e8921c0d2e65d6bd073bf5224ba3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoApplying remove re-build command patchset in the public spec file 00/181800/1 submit/tizen/20180618.102358
Amit KS [Mon, 18 Jun 2018 08:45:54 +0000 (14:15 +0530)]
Applying remove re-build command patchset in the public spec file

In the build section, scons build is done. So we can use the result
on the install section without rebuild using scons.

Change-Id: I05254fddd617f7c4af35a16e07c584da2b020e03
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoMerge "Update Snapshot(2018-06-13)" into tizen
Pyun DoHyun [Mon, 18 Jun 2018 06:56:36 +0000 (06:56 +0000)]
Merge "Update Snapshot(2018-06-13)" into tizen

5 years agoMerge "Remove re-build command in the install section" into tizen
Pyun DoHyun [Mon, 18 Jun 2018 06:56:24 +0000 (06:56 +0000)]
Merge "Remove re-build command in the install section" into tizen

5 years agoMerge "Crash in CATerminate" into tizen
Pyun DoHyun [Mon, 18 Jun 2018 06:56:16 +0000 (06:56 +0000)]
Merge "Crash in CATerminate" into tizen

5 years agoMerge "Add missing stack errors to android code" into tizen
Pyun DoHyun [Mon, 18 Jun 2018 06:56:07 +0000 (06:56 +0000)]
Merge "Add missing stack errors to android code" into tizen

5 years agoMerge "Fix build error dlog string" into tizen
Pyun DoHyun [Mon, 18 Jun 2018 06:55:59 +0000 (06:55 +0000)]
Merge "Fix build error dlog string" into tizen

5 years agoUpdate Snapshot(2018-06-13) 60/181760/1
Amit KS [Wed, 13 Jun 2018 11:36:32 +0000 (17:06 +0530)]
Update Snapshot(2018-06-13)

Change-Id: Icd6f0c7e1f2c7295b125b86739533e18e131ed5b
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoRemove re-build command in the install section 59/181759/1
Amit KS [Mon, 18 Jun 2018 05:01:11 +0000 (10:31 +0530)]
Remove re-build command in the install section

In the build section, scons build is done. So we can use the result
on the install section without rebuild using scons.

Change-Id: I33d47209d0898d703dcedba6bfd00a91d959c9b6
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoCrash in CATerminate 58/181758/1
Veeraj Khokale [Thu, 7 Jun 2018 13:30:59 +0000 (19:00 +0530)]
Crash in CATerminate

The variable caglobals.tcp.terminate is used to signal the
receiver thread to stop. However using a volatile variable
to synchronize between threads is undefined behaviour as
per the C/C++ standards. In this particular case due to
cache coherence behaviour on SMP mobile(especially ARM)
multi core processors, the receiver thread is not guaranteed
to see the change to the terminate variable as soon as
adapter is terminated and this delay could cause an ANR.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/290
(cherry picked from commit 38101be161271b68cee847748d71fb4ded73bc5a)

Change-Id: Ib18b91b9efde71d4075c0ec9c9639ac8051df6b6
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoAdd missing stack errors to android code 57/181757/1
harish_kumar [Fri, 8 Jun 2018 12:36:05 +0000 (18:06 +0530)]
Add missing stack errors to android code

Add missing OCStackResult enum values to errorcode.java file
and JniUtils.h.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/291
(cherry picked from commit e2545fc58de379f686ac60c43cffb1d032620c77)

Change-Id: I0ddd8aadbf15366128c4b3ed30b3eb3eb4d85fc5
Signed-off-by: harish_kumar <harish.191@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoFix build error dlog string 56/181756/1
v.riznyk [Wed, 6 Jun 2018 10:03:38 +0000 (13:03 +0300)]
Fix build error dlog string

Patch was tested

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/289
(cherry picked from commit b1c8909fa7626bb06f8579aca6a3fb7cdb3ccef4)

Change-Id: I5c10ed7e0a74a8d16a007a0a83185dd8ea2390e1
Signed-off-by: v.riznyk <v.riznyk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years ago[CONPRO-1295] Fix build error dlog string 00/181100/1 accepted/tizen/unified/20180612.044134 submit/tizen/20180608.063112
v.riznyk [Wed, 6 Jun 2018 10:03:38 +0000 (13:03 +0300)]
[CONPRO-1295] Fix build error dlog string

Patch was tested
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/289
(cherry picked from commit b1c8909fa7626bb06f8579aca6a3fb7cdb3ccef4)

Change-Id: I816cf45ea6206929749b1ab8c395c985a72fa6be
Signed-off-by: v.riznyk <v.riznyk@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoUpdate Snapshot(2018-05-02) 60/177860/1
Amit KS [Fri, 4 May 2018 05:20:44 +0000 (10:50 +0530)]
Update Snapshot(2018-05-02)

Change-Id: I7d952ce967acdcd9fe305e5c00d48b1311982c30
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoClearing pending exceptions in JNI env 59/177859/1
Harry [Wed, 2 May 2018 13:33:34 +0000 (19:03 +0530)]
Clearing pending exceptions in JNI env

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/287
(cherry picked from commit 312f0a735dea35925da0d80a916d0d9cf542932e)

Change-Id: I2830f50706a5818375745a406d3ff4b7f8ecdb1c
Signed-off-by: Harry <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoUpdate Snapshot(2018-04-25) 58/177858/1
Amit KS [Fri, 4 May 2018 05:18:11 +0000 (10:48 +0530)]
Update Snapshot(2018-04-25)

Change-Id: I1b9d298f47b7be8efadb90d1c327467fc7b5e5fe
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoAdded Samsung Specific Property(sso list) for easy setup 56/177856/1
Kush [Mon, 16 Apr 2018 14:17:43 +0000 (19:47 +0530)]
Added Samsung Specific Property(sso list) for easy setup

Following Samsung Specific Property is added :
Resource: Device Configuration (rt = "oic.r.devconf")
Property Name: SSO List Information
Key: "x.com.samsung.ssolist"
Type: String (JSON value with array of string internally).
Access Mode: Read Only
Description: SSO List information

Changes made at Mediator and Enrollee Side (Samsung specific source).

Linux Sample apps updated and verified (Samsung Specific Sample Apps).

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/284
(cherry picked from commit 26aec98b390c57957416dff8c3e9a920299aad8a)

Change-Id: Ib5143bb96488820b01404c2ec68dcf04c9f6a02c
Signed-off-by: Kush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
5 years agoDisable TCP server role 97/177597/1
Veeraj Khokale [Wed, 25 Apr 2018 13:46:53 +0000 (19:16 +0530)]
Disable TCP server role

TCP server is used only in client role to connect to
cloud server. A critical vulnerability is reported when
ifw-thing process in TV connects to other device via
TCP(D2D) which can compromise the Policy engine. Therefore
disable TCP server role based on build configuration.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/286
(cherry picked from commit fbd41449a05001403bcf60169a3c780d97001e7a)

Change-Id: Iefdd1cf9ef9524cfb6cf48d1219b0b7e3e88bb9a
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoUpdate Snapshot(2018-04-18) 26/176626/1
Amit KS [Fri, 20 Apr 2018 09:30:46 +0000 (15:00 +0530)]
Update Snapshot(2018-04-18)

Change-Id: I2e6bc5d46d982406a7bef07b672b2b3093037dd6
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years agoCreating socket everytime when network bearer changes (#285) 25/176625/1
Kush Agrawal/SRI-Bangalore-Smart Living/./삼성전자 [Tue, 17 Apr 2018 15:18:55 +0000 (20:48 +0530)]
Creating socket everytime when network bearer changes (#285)

[CONPRO-1269] Creating socket everytime when network bearer changes

Socket was created only once but changed the logic for creating on every network change
When we are switching WifiAP or disconnect/connect again then we are not able to send unicast data from android side . It gives network unreachable error. So to avoid that we are closing and creating sockets again.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/285
(cherry picked from commit 285875048bda46b6ac1a742c25849d70234d7cd1)

Change-Id: I5387e2c49aac35de2c1608c24486644adb8328c1
Signed-off-by: Kush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years agoReplace tizen BLE internal APIs with public 24/176624/1
Veeraj Khokale [Thu, 12 Apr 2018 11:07:33 +0000 (16:37 +0530)]
Replace tizen BLE internal APIs with public

Tizen 4.0 build fails in case BLE internal API's are used,
therefore replace them with public API's. All changes are
made under the preprocess define TIZEN_4

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/282
(cherry picked from commit d66f237dc92c15a515332d0416f769d8e856bfe9)

Change-Id: I6b5f9e67209e70bd654db4182c5ef70220792459
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years agoFix Asan build errors (#281) 91/176391/1 accepted/tizen/unified/20180420.081822 submit/tizen/20180419.060512
dh79.pyun@samsung.com [Tue, 17 Apr 2018 06:31:54 +0000 (15:31 +0900)]
Fix Asan build errors (#281)

Remove duplicate variables
multiple definition of `g_ESEasySetupResource'
multiple definition of `g_ESDevConfResource'
multiple definition of `g_ESCoapCloudConfResource'
multiple definition of `g_ESWiFiConfResource'

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/281
(cherry picked from commit 0cbbcfa65ff14d751dd1193f75b7c20269e26991)

Change-Id: If5f4a7d87e95350d70187cb21e070c5193130487
Signed-off-by: Oleg Ogurtsov <o.ogurtsov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years ago[CONPRO-1269] Creating socket everytime when network bearer changes 71/176271/1
Kush [Tue, 10 Apr 2018 07:14:19 +0000 (12:44 +0530)]
[CONPRO-1269] Creating socket everytime when network bearer changes

Socket was created only once but changed the logic for creating on every network change

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/280
(cherry picked from commit eaa97ac11871f5536ca12e7ab2f9c848b4d99afd)

Change-Id: Iaeabe733b6b8728ae74b1903d49c9596dcf021e8
Signed-off-by: Kush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years agoUpdate Snapshot(2018-04-12) 18/175818/1
Amit KS [Thu, 12 Apr 2018 12:38:42 +0000 (18:08 +0530)]
Update Snapshot(2018-04-12)

Change-Id: I34509db28a4ab393675b6783b4a011f72989022f
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years agoCrash in OCProcessPresence() 17/175817/1
Veeraj Khokale [Fri, 6 Apr 2018 09:03:12 +0000 (14:33 +0530)]
Crash in OCProcessPresence()

1. Set presence to NULL incase allocation of timeout
array fails. This ensures that OCProcessPresence does
not process this cbNode, thereby preventing possible
NULL dereference of timeout.
2. Do not send request if timeout has reached/exceeded
the  PresenceTimeOutSize. This prevents a possible buffer
overrun in accessing the timeout array.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/279
(cherry picked from commit 22079af2bd0f22a80b98c3b17469c3b8ed601ede)

Change-Id: I9398fa4870a719eb0bbaa00102157e8487af5236
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years agoUpdate Snapshot(2018-04-05) 28/175028/1
Amit KS [Fri, 6 Apr 2018 05:15:26 +0000 (10:45 +0530)]
Update Snapshot(2018-04-05)

Change-Id: I24184456b2aff374d89f7bed23a6481cb1da9eee
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years agoUnset gatt callback in network monitor 27/175027/1
Veeraj Khokale [Tue, 3 Apr 2018 10:58:55 +0000 (16:28 +0530)]
Unset gatt callback in network monitor

Gatt connection state changed callback is set in the
network monitor (calenwmonitor.c) but is unset in the
gatt client (caleclient.c). Move this to network
monitor instead

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/278
(cherry picked from commit 961ff08710e7acd99277a335f7d9eeca2f68c16e)

Change-Id: I386499c475a241bca840610df823f84d1a74ee0d
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years ago"have choice" error of libmbedtls.so 17/174717/1 submit/tizen/20180404.002721
Vadym Riznyk [Fri, 30 Mar 2018 13:35:56 +0000 (16:35 +0300)]
"have choice" error of libmbedtls.so

delete +%{_libdir}/libmbedtls.so from iotivity-devel

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/277
(cherry picked from commit 3cd231da7e03a322dd10fbfee0b15582647c191e)

Change-Id: I264692bb5ce86cdbcabb11f84b1634b9a1991f8a
Signed-off-by: Oleksiy Volkov <a.volkov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoUpdate Snapshot(2018-03-28) 30/174230/1
Amit KS [Thu, 29 Mar 2018 07:23:59 +0000 (12:53 +0530)]
Update Snapshot(2018-03-28)

Change-Id: I5b107aa308a184b0ee70eef14a2e31d840273b4d
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years agoSynchronized observe notification using mutex. 23/174223/1
Harry [Thu, 22 Mar 2018 13:43:09 +0000 (19:13 +0530)]
Synchronized observe notification using mutex.

As InProcClientWrapper class creates separate thread for every
obseve callback, There is a chance that more than one thread enter
ObserveCache object and trying to modify m_attributes. More over
same m_attributes is being passed out or RE layer by const reference,
so application is using same member object m_attributes. Mutex allows
only one thread to modify m_attributes.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/276
(cherry picked from commit c87d0d4b14d22349c3563e7cd316d323d068e2ab)

Change-Id: Ibee9b9326e6d7a3be093bc387db70a7c8f9a626d
Signed-off-by: Harry <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years ago[CONPRO-1212] Removing invocation of lock_guard destructor. 19/174219/1
Harry [Wed, 31 Jan 2018 09:22:21 +0000 (14:52 +0530)]
[CONPRO-1212] Removing invocation of lock_guard destructor.

std::lock_guard follows RAII for std::mutex. Invoking
std::lock_guard<std::mutex>::~lock_guard() makes unlock
call twice on underlying mutex. As per the API documentation
calling unlock from thread which does not own lock results in
undefined behaviour.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/243
(cherry picked from commit fc681e089d3bbbbd16f90ad05d53208f9a1602d1)

Change-Id: I9ef2f3eed0e4989a7d73ad1ab40a3bae0a01a11c
Signed-off-by: Harry <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
6 years agoUpdate Snapshot(2018-03-21) 30/173630/1 accepted/tizen/unified/20180323.134348 accepted/tizen/unified/20180326.075305 submit/tizen/20180323.050258 submit/tizen/20180325.234529
DoHyun Pyun [Thu, 22 Mar 2018 23:58:35 +0000 (08:58 +0900)]
Update Snapshot(2018-03-21)

Change-Id: I4e58e8e3e61558da4d42132b411fd54a086c8cec
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years ago[CONPRO-1251]Updated typo error 72/173472/3
Kush [Tue, 20 Mar 2018 11:38:36 +0000 (17:08 +0530)]
[CONPRO-1251]Updated typo error

Changed interface declaration in ocobserve.h

Change-Id: If14e1de31caf31ed941c49570e37db8d3bf1a860
Signed-off-by: Kush <kush.agrawal@samsung.com>
6 years agoUpdate Snapshot(2018-03-07) 25/171825/1
Amit [Wed, 7 Mar 2018 11:38:24 +0000 (17:08 +0530)]
Update Snapshot(2018-03-07)

Change-Id: I79678d132217d7056f146a899e1768fb6d27e45a
Signed-off-by: Amit <amit.s12@samsung.com>
6 years agoUpdate Snapshot(2018-02-28) 20/171320/1
Amit [Thu, 1 Mar 2018 06:52:19 +0000 (12:22 +0530)]
Update Snapshot(2018-02-28)

Change-Id: Iac61820dccb00d3c775c0495468dcbb49722c47b
Signed-off-by: Amit <amit.s12@samsung.com>
6 years agoUpdate snapshot(2018-02-21) 44/170844/1
Amit [Thu, 22 Feb 2018 13:46:01 +0000 (19:16 +0530)]
Update snapshot(2018-02-21)

Change-Id: I0c6253b0fc7db9200b9c9281a5c1217e1a18dd9c
Signed-off-by: Amit <amit.s12@samsung.com>