summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-04-19Fix Asan build errors (#281)submit/tizen/20180419.060512accepted/tizen/unified/20180420.081822dh79.pyun@samsung.com15-11/+34
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>
2018-04-17[CONPRO-1269] Creating socket everytime when network bearer changesKush1-0/+7
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>
2018-04-12Update Snapshot(2018-04-12)Amit KS1-0/+6
Change-Id: I34509db28a4ab393675b6783b4a011f72989022f Signed-off-by: Amit KS <amit.s12@samsung.com>
2018-04-12Crash in OCProcessPresence()Veeraj Khokale1-0/+2
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>
2018-04-06Update Snapshot(2018-04-05)Amit KS1-0/+6
Change-Id: I24184456b2aff374d89f7bed23a6481cb1da9eee Signed-off-by: Amit KS <amit.s12@samsung.com>
2018-04-06Unset gatt callback in network monitorVeeraj Khokale2-3/+7
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>
2018-04-04"have choice" error of libmbedtls.sosubmit/tizen/20180404.002721Vadym Riznyk2-2/+0
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>
2018-03-29Update Snapshot(2018-03-28)Amit KS1-12/+6
Change-Id: I5b107aa308a184b0ee70eef14a2e31d840273b4d Signed-off-by: Amit KS <amit.s12@samsung.com>
2018-03-29Synchronized observe notification using mutex.Harry2-1/+3
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>
2018-03-29[CONPRO-1212] Removing invocation of lock_guard destructor.Harry1-2/+0
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>
2018-03-23Update Snapshot(2018-03-21)submit/tizen/20180325.234529submit/tizen/20180323.050258accepted/tizen/unified/20180326.075305accepted/tizen/unified/20180323.134348DoHyun Pyun1-0/+18
Change-Id: I4e58e8e3e61558da4d42132b411fd54a086c8cec Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2018-03-23[CONPRO-1251]Updated typo errorKush1-1/+1
Changed interface declaration in ocobserve.h Change-Id: If14e1de31caf31ed941c49570e37db8d3bf1a860 Signed-off-by: Kush <kush.agrawal@samsung.com>
2018-03-07Update Snapshot(2018-03-07)Amit7-18/+47
Change-Id: I79678d132217d7056f146a899e1768fb6d27e45a Signed-off-by: Amit <amit.s12@samsung.com>
2018-03-01Update Snapshot(2018-02-28)Amit6-1/+58
Change-Id: Iac61820dccb00d3c775c0495468dcbb49722c47b Signed-off-by: Amit <amit.s12@samsung.com>
2018-02-22Update snapshot(2018-02-21)Amit4-2/+26
Change-Id: I0c6253b0fc7db9200b9c9281a5c1217e1a18dd9c Signed-off-by: Amit <amit.s12@samsung.com>
2018-02-19Update snapshot(2018-02-14)DoHyun Pyun16-9/+48
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com> Change-Id: Id1b73ca10ec8b211a18601956891e92717c6f0a2
2018-02-08Update snapshot(2018-02-07)submit/tizen/20180208.081917submit/tizen/20180208.081254accepted/tizen/unified/20180208.163721Hongkuk, Son9-11/+139
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com> Change-Id: Id7dbc4ca15ab77968a5b2d8103a1bc045c76af04
2018-01-31Update snapshot(2018-01-31)submit/tizen/20180201.042114accepted/tizen/unified/20180201.080009Hongkuk, Son5-80/+184
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: I9924efad707f22fb391e2474a441d3d8276d1649
2018-01-25Update snapshot(2018-01-24)submit/tizen/20180125.015148accepted/tizen/unified/20180130.144310Hongkuk, Son7-25/+36
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: Ibdaa01124bffca9512ee93aaa0045e5f91effd0c
2018-01-18Update snapshot(2018-01-17)submit/tizen/20180118.072546accepted/tizen/unified/20180118.142723Hongkuk, Son20-765/+837
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: Ifcbe9a53b46849c046ffc8d0276dc69f8a154465
2018-01-11Update snapshot(2018-01-10)submit/tizen/20180111.020111accepted/tizen/unified/20180111.074230Hongkuk, Son16-623/+680
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: I28f0ac1b4501582c84236f8ef8d8212790cd9e70
2018-01-04Update snapshot(2018-01-04)submit/tizen/20180105.072814accepted/tizen/unified/20180108.062548Hongkuk, Son28-111/+368
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: Ifc34479a8f033e99bbe0740f3e4d281e723aec9a
2017-12-20Update snapshot(2017-12-20)submit/tizen/20171221.013850accepted/tizen/unified/20171221.071331Hongkuk, Son7-28/+131
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: I4d948dca96a3ae784cc0278e96b09c49f809bd06
2017-12-14Update snapshot(2017-12-14)submit/tizen/20171214.102437accepted/tizen/unified/20171215.060615Hongkuk, Son16-72/+61
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: Iace03beab45ea8839e72170fd9d9b7b6e31ab58d
2017-12-07Update snapshot(2017-12-06)submit/tizen/20171208.075007accepted/tizen/unified/20171211.061308Hongkuk, Son23-41/+213
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: I8eea641086585cab78abc370067e76b0f4fe34b2
2017-11-30Update snapshot(2017-11-29)submit/tizen/20171130.055456accepted/tizen/unified/20171130.113340Hongkuk, Son4-4/+59
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: Id4d682d07ae11ccff14f9548c930ce146df8cf85
2017-11-24Update snapshot(2017-11-23)submit/tizen/20171124.015816accepted/tizen/unified/20171124.064710Hongkuk, Son7-23/+29
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: I4daa62ca37c2ef8e0a739f63a258022ccdc354d8
2017-11-15Update snapshot(2017-11-14)submit/tizen/20171115.060233accepted/tizen/unified/20171115.174050Hongkuk, Son3-1/+56
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: Ief7e3ae9c8c4e11ab1f7f82d05b3879fc5afc0ef
2017-11-09Update snapshot(2017-11-08)Hongkuk, Son4-1/+14
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: I96da45cf94f6940c6ac37f57912fbfa61516630d
2017-11-03Update snapshot(2017-11-02)submit/tizen/20171103.052424accepted/tizen/unified/20171106.073102Hongkuk, Son4-10/+35
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: I2a5a1b9b72b71b1979f136aadce4ac0534765641
2017-10-30Update snapshot(2017-10-25)Hongkuk, Son2-5/+11
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: Ib3354833ae4d27bcbcd5718358886e02e932299f
2017-10-12Update snapshot(2017-10-11)Hongkuk, Son9-65/+327
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: Ia16b9b063f1ca9f2734e865385d7a519c3d2f5bb
2017-10-10Update snapshot(2017-10-04)Hongkuk, Son9-52/+136
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: Idf480dc4361b14c8902e15f74ca253a55b2f3e1e
2017-10-10replace : iotivity -> iotivity-secsubmit/tizen/20171010.021131accepted/tizen/unified/20171010.063815Hongkuk, Son897-66670/+72900
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com> Change-Id: I5096b7e6faeadd98d5ee48279b24cb9fbdb1f24f
2017-07-07Remove unused pkg dependancysubmit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170828.100006submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170707.013155accepted/tizen/unified/20170710.154111accepted/tizen/4.0/unified/20170828.222902accepted/tizen/4.0/unified/20170816.014940accepted/tizen/4.0/unified/20170816.011821Jooseok Park2-2/+1
Change-Id: I310c2e37d0a94c3c9cf3191b8162abc873ceb316
2017-06-30delete wifi API and pkg config in tizen.jihwan.seo9-22/+5
since IoTivity already use Tizen Connectivity Manager API instead of wifi API. it should be removed in this and there. Change-Id: I9a61d7d4d323fe83e988c792284179c099bc2855 Signed-off-by: jihwan.seo <jihwan.seo@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/17079 Tested-by: jenkins-iotivity <jenkins@iotivity.org> Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com> Conflicts: resource/csdk/connectivity/build/tizen/scons/SConscript resource/csdk/stack/samples/tizen/build/scons/SConscript Change-Id: I401a44313a3a48fd7bfc5ca9c8519ec1186a8083
2017-06-15[IOT-1643] Fix illegal memory access - Don't return local stringGeorge Nash1-35/+35
the std::string ret is a local varaible and is destroyed when the what() member function returns. Put the return string into the m_whatMessage variable. Since 'what()' member function is a const function it can not modify the member variable m_whatMessage so it is generated in the ResourceInitException constructor. Issue found using static analysis tool. Change-Id: I907b984f35dee59b2f300afe6a640b15a26f020f Signed-off-by: George Nash <george.nash@intel.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/15035 Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org> Reviewed-by: Larry Sachs <larry.j.sachs@intel.com> Reviewed-by: Habib Virji <habib.virji@samsung.com> Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
2017-05-11Update spec file (in tools)tizen_4.0.m1_releasesubmit/tizen/20170511.133012submit/tizen/20170511.133005accepted/tizen/unified/20170511.173702Jooseok Park1-27/+2
Change-Id: I3840a6b3b10070df30e66ca0de8852d0ea76264e
2017-05-11Update Licensesubmit/tizen/20170511.125231Jooseok Park1-20/+2
Change-Id: I47861f7f52f61ef1f5dbda201564f058560d3688
2017-03-14IOT-1877 : start presence issuesubmit/tizen/20170314.094744accepted/tizen/wearable/20170314.224157accepted/tizen/unified/20170315.014656accepted/tizen/tv/20170314.224144accepted/tizen/mobile/20170314.224141accepted/tizen/ivi/20170314.224217accepted/tizen/common/20170314.173157accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonChaJiWon1-0/+1
When called OCStartPresence() second, OCStartPresence() returns error. Fixed presenceState variable to OC_PRESENCE_UNINITIALIZED. Change-Id: I089c826f4105eb3aaf835a8feda4c10b848ebd5d Signed-off-by: ChaJiWon <jw_wonny.cha@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/17623 Tested-by: jenkins-iotivity <jenkins@iotivity.org> Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com> Reviewed-by: jihwan seo <jihwan.seo@samsung.com> Reviewed-by: Way Vadhanasin <wayvad@microsoft.com> Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com> (cherry picked from commit 2f11e9592a7374ce28082a523b0c367a6d31baee) Reviewed-on: https://gerrit.iotivity.org/gerrit/17775
2017-03-14Moved a requestId declaration in OCServerRequesthyuna0213.jo1-3/+3
we should not add attributes after payload as they get overwritten when payload content gets copied over. Change-Id: I0c8a430f92c2196d3f9c816e9ba9d16fd44d88e4 Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/17015 Tested-by: jenkins-iotivity <jenkins@iotivity.org> Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
2017-02-13Fixed memory leak on OCSetDeviceInfo and CARetransmissionDestroysubmit/tizen_unified/20170308.100413submit/tizen/20170214.012629accepted/tizen/wearable/20170214.225829accepted/tizen/unified/20170309.035854accepted/tizen/tv/20170214.225811accepted/tizen/mobile/20170214.225749accepted/tizen/ivi/20170214.225844accepted/tizen/common/20170214.173627jihwanseo2-0/+14
Change-Id: Ic53ae0759020fa26f5f70425d3dab09ff5e7d375 Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com> Signed-off-by: jihwan.seo <jihwan.seo@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/17167 Tested-by: jenkins-iotivity <jenkins@iotivity.org> Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com> Reviewed-by: jaehyun Cho <jaehyun3.cho@samsung.com> Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
2017-02-08fix the easy-setup mediator SConscriptsubmit/tizen/20170209.011845accepted/tizen/wearable/20170210.003742accepted/tizen/tv/20170210.003726accepted/tizen/mobile/20170210.003711accepted/tizen/ivi/20170210.003759accepted/tizen/common/20170209.122246Jooseok Park1-2/+3
Change-Id: If484c27c7336608326af35f3e0aebeac4e4a580a
2017-02-07Fixed double free issue when destroying endpointhyuna0213.jo2-24/+52
- after destroying memory, set NULL value to prevent double free - add the usage of oc_mutex_lock() when block data is updated Change-Id: I78d0d46e37333e099ec737ac4500a2f388d58c4e Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/15447 Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org> Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com> Reviewed-by: jihwan seo <jihwan.seo@samsung.com> Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
2017-02-06tizen: Enable CLOUD and ship ES lib (downstream)Philippe Coval1-1/+2
Sync with upstream's spec Change-Id: I84ce3dd94e1a90f13f0ff875221ca50600000001 Forwarded: https://gerrit.iotivity.org/gerrit/#/q/I84ce3dd94e1a90f13f0ff875221ca5061828618e Origin: https://review.tizen.org/gerrit/112583 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2017-02-02tizen: Enable CLOUD and ship ES libPhilippe Coval1-1/+2
Change-Id: I84ce3dd94e1a90f13f0ff875221ca5061828618e Forwarded: https://gerrit.iotivity.org/gerrit/#/q/I84ce3dd94e1a90f13f0ff875221ca5061828618e Origin: https://review.tizen.org/gerrit/112583 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/16965 Tested-by: jenkins-iotivity <jenkins@iotivity.org> Reviewed-by: Uze Choi <uzchoi@samsung.com>
2017-02-02tizen: Use mediator richsdk libPhilippe Coval1-3/+3
Change-Id: Ib63db28697925b02349da82c5feabc1334a39ba2 Forwarded: https://gerrit.iotivity.org/gerrit/#/q/Ib63db28697925b02349da82c5feabc1334a39ba2 Origin: https://review.tizen.org/gerrit/112583 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/16963 Reviewed-by: Uze Choi <uzchoi@samsung.com> Tested-by: Uze Choi <uzchoi@samsung.com>
2017-02-02[4.0] Unification: Remove Profile Build Dependency & Prepare 4.0 BuildGeunsik Lim1-20/+6
This is for Tizen 4.0. - Removed profile build dependency. - Prepare for Tizen 4.0 build. a. Remove profile build dependency - This commit completely removes the build dependencies on Tizen profile. b. Prepare for Tizen 4.0 build - We have assumed that Tizen 4.0 code is going to be more similar with 3.0 than 2.0. Please do not rely on string '==' compare for version check. And, refer to the official macros that are defined in Project Config. https://build.tizen.org/project/prjconf?project=<project_name> @To maintainer: Please, keep a spec file syntax that was written at an official webpage. https://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/\ RPM_Guide/ch-specfile-syntax.html First, if you want to use a comparison operator in %if, don't use a double-quotes. Second, RPM macro does not support a floating-point number for the comparison operator. Change-Id: I8904a25e5e24f6e1bdbd460e434ad563695a3001 Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
2017-01-18tizen: Use easy-setup mediatorPhilippe Coval1-1/+1
Change-Id: I2b0681b70218613c0df0d82e0f46fdc61668296e Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2017-01-18build: Install provisioning ESException.hJihun Ha2-1/+1
Add ESException.h to 'inc' folder and a list of install target headers Change-Id: Ib0b7e7bbab9cf5d8f7cc0c69e223d966e4b055b0 Signed-off-by: Jihun Ha <jihun.ha@samsung.com> Origin: https://gerrit.iotivity.org/gerrit/#/c/16521/ Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>