Amit KS [Thu, 13 Dec 2018 06:08:02 +0000 (11:38 +0530)]
Update Snapshot(2018-12-12)
Change-Id: Iff828a16a5f988b9ce6623ff12fab3082b192cce
Signed-off-by: Amit KS <amit.s12@samsung.com>
sourav bhuwalka [Tue, 11 Dec 2018 17:22:33 +0000 (22:52 +0530)]
Adding more samsung specific properties
Changes:
1.Backward compatibility for "mnmo", "lang", "ctry", "loc" properties.
2.Adding OC_LOW_QOS_WITH_TCP to OCQualityOfService.
3.Adding support for new samsung specific properties:
4."x.com.samsung.serverid", "x.com.samsung.timezoneid",
5."x.com.samsung.saapiserver", "x.com.samsung.saauthserver",
6."x.com.samsung.sadsc", "x.com.samsung.hidden", "x.com.samsung.hubid"
7.Adding new WiFi Auth type - FT_PSK
8.Setting DeviceID seed while configuring stack.
9.Redundant m_observeCacheList removed from ResourceCacheManager.
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/364
(cherry picked from commit
1f00a113fcf6a7f65144d259ec4f39aac7288e02)
Change-Id: I569713fa6badc4c3c3f902ee2a9a879ddf9d228c
Signed-off-by: sourav bhuwalka <s.bhuwalka@samsung.com>
Signed-off-by: Harish Kumara M <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 12 Dec 2018 04:07:46 +0000 (13:07 +0900)]
Merge tizen_5.0 codes into tizen_4.0
Change-Id: If56f871c86a24372cf63fe2ff42055ffbbd72fe6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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: I8507a8dfde06b508ef628223ba79a9941870f35b
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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>
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>
Amit KS [Mon, 5 Nov 2018 09:01:13 +0000 (14:31 +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: I8016503fce412b41769f0a0938e8811b6528c3f3
Signed-off-by: Amit KS <amit.s12@samsung.com>
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>
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>
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>
Amit KS [Wed, 17 Oct 2018 11:28:01 +0000 (16:58 +0530)]
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Amit KS [Tue, 7 Aug 2018 10:38:24 +0000 (16:08 +0530)]
Update Snapshot(2018-07-25)
Change-Id: If937062d031cb11025c64fb2de3df172babbfaa0
Signed-off-by: Amit KS <amit.s12@samsung.com>
Vitalii Irkha [Tue, 24 Jul 2018 13:53:55 +0000 (16:53 +0300)]
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>
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>
Vitalii Irkha [Tue, 17 Jul 2018 13:36:20 +0000 (16:36 +0300)]
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: Vitalii Irkha <v.irkha@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
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>
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>
DoHyun Pyun [Thu, 19 Jul 2018 07:01:28 +0000 (16:01 +0900)]
Enable Multiple Ownership feature
Change-Id: I620596c3995f9d4e6efc77d2d3d02168acdee80a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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>
senthil.gs@samsung.com [Tue, 3 Jul 2018 15:44:48 +0000 (21:14 +0530)]
[CONPRO-1272] 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>
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>
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>
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>
Vitalii Irkha [Mon, 25 Jun 2018 15:33:11 +0000 (18:33 +0300)]
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>
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>
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)
Change-Id: Id514a242e34d7a20df2845c09a757b3d26c9604a
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: I6c3c50a01403333cbf7231e627e5886c149c779a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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: I490b8f481a33849e13186e3354e1fb01f9f7321c
Signed-off-by: Amit KS <amit.s12@samsung.com>
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>
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>
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: Ied3fbb138fe095a1e4a9eb51016e59c2be5730e5
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: Iaf400494a782ee55520bbb5cf8be3cce1051ff38
Signed-off-by: harish_kumar <harish.191@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: If7a9f5cc5ec977e2a41070a81a759ec040f3092f
Signed-off-by: v.riznyk <v.riznyk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
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>
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>
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>
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>
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: If8437048cf4f4065643e6c4aae0be8f6f1782ed0
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Mon, 23 Apr 2018 00:18:07 +0000 (00:18 +0000)]
Merge "Update Snapshot(2018-04-18)" into tizen_4.0
Pyun DoHyun [Mon, 23 Apr 2018 00:17:59 +0000 (00:17 +0000)]
Merge "Creating socket everytime when network bearer changes (#285)" into tizen_4.0
Pyun DoHyun [Mon, 23 Apr 2018 00:17:51 +0000 (00:17 +0000)]
Merge "Replace tizen BLE internal APIs with public" into tizen_4.0
Amit KS [Fri, 20 Apr 2018 09:42:10 +0000 (15:12 +0530)]
Update Snapshot(2018-04-18)
Change-Id: Iad584923b715758bfc78821ed9d5fe1d8773e02c
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: I5af2a47c925d03b50b5802229754f7f4d317be76
Signed-off-by: Kush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: I2cd45780dbc29d83fbf7f69e758245cde0fe7f2a
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
DoHyun Pyun [Fri, 20 Apr 2018 00:28:14 +0000 (09:28 +0900)]
Revert "Exclude ASAN build until applying iotivity upstream patchset"
This reverts commit
16c21438c1c7aa6f41883d2eb0364d88957778a0.
Change-Id: I6ec1787fc0bf18e8b5733b51e1b3f9f2823c992a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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: I71c2a33ca6823231b60cdd4bc9c8e4b9a28ec7d3
Signed-off-by: Oleg Ogurtsov <o.ogurtsov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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: I8b4d84992093286193f1837104226d23aacbcb43
Signed-off-by: Kush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
Amit KS [Thu, 12 Apr 2018 12:44:09 +0000 (18:14 +0530)]
Update Snapshot(2018-04-12)
Change-Id: Icf03ee34887acc7f1d24237c10ae5d4be595818f
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: I27ec81c8ff5f9d887c8308e2042f744e6fabee29
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
Amit KS [Fri, 6 Apr 2018 05:23:17 +0000 (10:53 +0530)]
Update Snapshot(2018-04-05)
Change-Id: I921f2c5c1db1ef9ec6cddd53f626812063f3752b
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: I6e2cbc6c26ec23fc8cf308c44b6ae377b123fcb2
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: Ie08c4ff7c0b621d36d755a2eb3e027a1d4b5b81e
Signed-off-by: Oleksiy Volkov <a.volkov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Amit KS [Thu, 29 Mar 2018 08:54:29 +0000 (14:24 +0530)]
Update Snapshot(2018-03-28)
Change-Id: I2d87bcd58fdc132510c9ae29f6d742519056a26d
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: Ib382218f0ee064c11d3897bb927263522291d9e0
Signed-off-by: Harry <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
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: I56512847cb3411db81bd93eb55a4dc1c34a25d83
Signed-off-by: Harry <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
DoHyun Pyun [Thu, 22 Mar 2018 23:58:35 +0000 (08:58 +0900)]
Update Snapshot(2018-03-21)
Change-Id: I21746fbb81f7a52365c7b7bb985cd9d69afcf733
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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: I47a49d2371cf098084ac23b53ad48d32a0119ab4
Signed-off-by: Kush <kush.agrawal@samsung.com>
DoHyun Pyun [Thu, 8 Mar 2018 08:01:51 +0000 (17:01 +0900)]
Exclude ASAN build until applying iotivity upstream patchset
Change-Id: I65a1937c55cd325165748dfa3031e08dd191fd2c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Amit [Wed, 7 Mar 2018 10:16:42 +0000 (15:46 +0530)]
Update Snapshot(2018-03-07)
Change-Id: I35d861f82f1394b9c6c8b3b1caa2342142deecf7
Signed-off-by: Amit <amit.s12@samsung.com>
Amit [Thu, 1 Mar 2018 05:34:12 +0000 (11:04 +0530)]
Update Snapshot(2018-02-28)
Change-Id: I9d2c734411d787921ddcca028f5208557625f957
Signed-off-by: Amit <amit.s12@samsung.com>
Amit [Thu, 22 Feb 2018 13:33:05 +0000 (19:03 +0530)]
Update snapshot(2018-02-21)
Change-Id: If48db62676078c273b7e10feb9a4cc67f8307453
Signed-off-by: Amit <amit.s12@samsung.com>
DoHyun Pyun [Sun, 18 Feb 2018 23:46:20 +0000 (08:46 +0900)]
Update snapshot(2018-02-14)
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Change-Id: Ic77e28b59b36b46925832b3734870a4d2c6faf6e
Hongkuk, Son [Thu, 8 Feb 2018 04:37:16 +0000 (13:37 +0900)]
Update snapshot(2018-02-07)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I953fe651d854d3013b9b9f689ef6b7b0e166e16f
Hongkuk, Son [Wed, 31 Jan 2018 10:29:07 +0000 (19:29 +0900)]
Update snapshot(2018-01-31)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I2a12ea6904874b5158458d4882688709a0158575
Hongkuk, Son [Wed, 24 Jan 2018 15:19:51 +0000 (00:19 +0900)]
Update snapshot(2018-01-24)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ib5c6f3801761bdf022ebf8a56291e104cc5e6e4d
Hongkuk, Son [Thu, 18 Jan 2018 02:39:28 +0000 (11:39 +0900)]
Update snapshot(2018-01-17)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I0d71eee704b1b6e88d483b6c2771e5cce6750886
Hongkuk, Son [Thu, 11 Jan 2018 01:38:06 +0000 (10:38 +0900)]
Update snapshot(2018-01-10)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I8e376f3660a9b36ae8ffcba30ca591293be6f913
Hongkuk, Son [Wed, 10 Jan 2018 08:09:40 +0000 (17:09 +0900)]
[CONPRO-1181] Continue De-Initialize BLE even some BLE-API fails as per fw guidelines
- manually patched from below pull request because of VD PVR schedule
- [UPDATE] https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/226
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I88e508f7a1f2ce449e397cace30ea10128522d7d
Hongkuk, Son [Mon, 8 Jan 2018 06:35:38 +0000 (15:35 +0900)]
[CONPRO-1181] Continue De-Initialize BLE even some BLE-API fails as per fw guidelines
- manually patched from below pull request because of VD PVR schedule
- https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/226
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Iab0a3e521043b5716495a332cf38b061acc9cd90
Hongkuk, Son [Thu, 4 Jan 2018 10:42:08 +0000 (19:42 +0900)]
Update snapshot(2018-01-04)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I4f4ee78d3bd2474fcbabc5a2abd41b9ea10b55d2
kmook [Thu, 28 Dec 2017 06:44:16 +0000 (15:44 +0900)]
[CONPRO-1176] iotivity crash during CAReceiveMessage
- manually patched from below pull request because of VD PVR schedule
- https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/215
Signed-off-by: kmook <kmook.choi@samsung.com>
Change-Id: I58811d5a50211aeaddf06c5cdab751a5ca31b8eb
kmook [Tue, 26 Dec 2017 09:03:00 +0000 (18:03 +0900)]
[CONPRO-1172] allocates too much memory
- rollback a patch to solve segmentation fault issue
- https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/206(rollback)
Change-Id: Ie822028ec2469e87d96bbf72a25b0019fb5e8b65
Signed-off-by: kmook <kmook.choi@samsung.com>
Hongkuk, Son [Mon, 25 Dec 2017 08:11:22 +0000 (17:11 +0900)]
[CONPRO-1172] allocates too much memory
- manually patched from below 2 pull requests because of VD PVR schedule
- https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/206
- https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/209
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I71e81ee3c74c0a31623e5713352a44afd123a846
Hongkuk, Son [Wed, 20 Dec 2017 12:28:49 +0000 (21:28 +0900)]
Update snapshot(2017-12-20)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I04303750581f9349f4694ba903c8e2f6379c91d4
Hongkuk, Son [Thu, 14 Dec 2017 08:56:51 +0000 (17:56 +0900)]
Update snapshot(2017-12-14)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Iec053ef8f5cc87812aec9c884b1e811f85682de7
Hongkuk, Son [Thu, 7 Dec 2017 05:28:41 +0000 (14:28 +0900)]
Update snapshot(2017-12-06)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Idef59156a36f5d2e636a7487f140f8c236f5bf8d
Hongkuk, Son [Thu, 30 Nov 2017 01:46:27 +0000 (10:46 +0900)]
Update snapshot(2017-11-29)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ife7d3cee9f401c54bcc48923e330fda7f78f064e
Hongkuk, Son [Fri, 24 Nov 2017 01:55:24 +0000 (10:55 +0900)]
Update snapshot(2017-11-23)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I1f1159259819400edca8bc384bbc8c883168abbf
Hongkuk, Son [Wed, 15 Nov 2017 02:43:11 +0000 (11:43 +0900)]
Update snapshot(2017-11-14)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ic39e3e0fcc79a7cf38d00721cfe9fcfafce0b3c6
Hongkuk, Son [Thu, 9 Nov 2017 08:05:21 +0000 (17:05 +0900)]
Update snapshot(2017-11-08)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Icbbce23a651f542fe2bf3c98ba4eb3d6bb96274a
Hongkuk, Son [Fri, 3 Nov 2017 01:53:07 +0000 (10:53 +0900)]
Update snapshot(2017-11-02)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ie9cb19fca33409447339e50e9c5f07e6f11aaf1a
Hongkuk, Son [Thu, 2 Nov 2017 02:42:13 +0000 (11:42 +0900)]
Update snapshot(2017-10-25)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ib6b6b8772dd1e136c49393b0dafb8f721d6a42fc
Hongkuk, Son [Thu, 12 Oct 2017 06:55:24 +0000 (15:55 +0900)]
Update snapshot(2017-10-11)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I0682f26c3c6d0989210a8b7ddfac1485cc10671b
Hongkuk, Son [Tue, 10 Oct 2017 07:50:03 +0000 (16:50 +0900)]
Update snapshot(2017-10-04)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: If984cf1623bb9bd5dbb4d68920404e0513828f86
Hongkuk, Son [Fri, 29 Sep 2017 07:33:43 +0000 (16:33 +0900)]
replace : iotivity -> iotivity-sec
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I2832a4cf81d6a312442a5548fa4baa7a8959d7cc
Jooseok Park [Fri, 30 Jun 2017 11:52:25 +0000 (20:52 +0900)]
Remove unused pkg dependancy
Change-Id: I310c2e37d0a94c3c9cf3191b8162abc873ceb316