summaryrefslogtreecommitdiff
path: root/resource
AgeCommit message (Collapse)AuthorFilesLines
2021-06-28Disable auto connect while calling bt_gatt_connecttizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163401submit/tizen/20210628.055145accepted/tizen/unified/20210629.130141accepted/tizen/7.0/unified/hotfix/20221116.110905accepted/tizen/7.0/unified/20221110.061438accepted/tizen/6.5/unified/20211029.013650tizen_7.0_hotfixtizen_7.0tizen_6.5accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unifiedDoHyun Pyun1-4/+1
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/812 (cherry-picked from a714931da5f0f4a31e8d993b2c5972681138f953) Change-Id: Ibe67b77ce8c9477f88a567774dc777eb8761da4c Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2021-02-17fix: Check for all zero UUID of a subjectVolodymyr Brynza1-4/+29
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/787 (cherry-picked from 788de326f33bc5bb9c754a20f922631c7b53d930) Change-Id: I4f3746c346085434bbf2acdfe1eedf23c05b3a17 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2021-02-17fix: /oic/sec/acl remove from srvdbVolodymyr Brynza1-29/+46
remove resource from read srvdb file change default ACL https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/787 (cherry-picked from 1052ec718f7eada1b35efcdfe08f08379c84ac4f) Change-Id: I2ec1b1d401fbe93a3df395990c88bbf0b3ae59a1 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-06-19OCRemoveDeviceWithUuid waste timeVitalii Irkha1-4/+7
Fix waste time by OCRemoveDeviceWithUuid() API, in cases if callback was not called. https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/658 (cherry-picked from bc40a08891e7ebcd790027bea58822b93c7128c8) Change-Id: I11756b658c0eace489a990b588f085417494c6b9 Signed-off-by: Vitalii Irkha <v.irkha@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-19Fix build error for tizen in secured mode for TARGET_TRANSPORT = ALLsourav bhuwalka2-0/+6
Adding pthread libs in the Sconscript where it was missing https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/711 (cherry-picked from 0ee5e7151d1438559e642818a2b7cee5704aefd4) Change-Id: I8fe8993965016026e3d3b672696a638c67b32c39 Signed-off-by: sourav bhuwalka <s.bhuwalka@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-19[CONPRO-1591]:Crash in libconnectivity_abstraction.so [CAIPStopServer]Sourav Bhuwalka1-0/+1
Setting the value of caglobals.ip.shutdownFds[1] to -1 to avoid double closure of the same socket https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/706 (cherry-picked from 3dfe9fb3db7945b50a663a7ff545e11b576c1cfe) Change-Id: Ia46a971ebdc834433f528986b3c772487f06c60c Signed-off-by: Sourav Bhuwalka <s.bhuwalka@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-19Update OCUtilitiesTest.cppsanket1-1/+1
Changed license year. (cherry-picked from 6a760e8b2e2c709b86c5482b33729ce0aa55bdbb) Change-Id: Ifab99247abc67d24b14f5b05e94aec1fa07d999d Signed-off-by: sanket <san.bansal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-19Resolved review changessanket1-1/+20
1. Removed unused variables. 2. Added samsung license banner. (cherry-picked from fcc7df22b7f94dfdcec71abdf37ccf3caf3853cd) Change-Id: I0fc79defcee841ba42a6ee7de6fb3614787f9cf9 Signed-off-by: sanket <san.bansal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-19UT for OCUilitiessanket2-1/+22
Added test cases to increase code-coverage of OCUtilities.cpp https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/699 (cherry-picked from 493316c01247a5d2b2e119a2c322570bcba63718) Change-Id: If1c9218398da686e4bdfec1f7186315292af50e6 Signed-off-by: sanket <san.bansal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-19Update OCResourceRequestTest.cppsanket1-2/+22
Added samsung banner. used relevant resource uri name. (cherry-picked from 633bb95c6266c6990e4ec84d5fbd9e76d4956fc2) Change-Id: I332e70dd9c390d861a408c215add79680f9027aa Signed-off-by: sanket <san.bansal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-19UT for ResourceRequestsanket2-0/+28
Added testcases for ResourceRequest API. https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/700 (cherry-picked from ba128f63aee254b81bb0cc72c3f84442280dd2ef) Change-Id: I064a27724b697c9fa7390583e98e41e6c8f2383a Signed-off-by: sanket <san.bansal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-19Sample HTTPS serverOleksii Beketov3-4/+834
New HTTP secure server sample added. Server loads secure credentials from SVR DB. (cherry-picked from ffe5ae340e426f935a0993ef5971958262b310cb) Change-Id: I6ce4b925b9027184be36122363dc39eb182ecfac Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-19[CONPRO-1583]Enable Duplicate Ipv4/Ipv6 packets through build flag.Sudipto1-2/+15
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/697 (cherry-picked from 5f16b1a9e8aa57e535d3bdf7a7e318a8c3b557ff) Change-Id: I9188df1161d97302a837af2aeec76d0ee0a72592 Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-16[Unit Tests]:Added unit tests for oicgroup.cSourav Bhuwalka2-0/+193
Added the unit tests for oicgroup.c file https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/695 (cherry-picked from eb626ad01918d9fea35df2f322e5186b126c090d) Change-Id: I87af29913e9d9277af9eb274378b9b1350e04d99 Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-16[Unit Test]Refactor KeepAlive test casesKush1-207/+95
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/694 (cherry-picked from 4a805f46d2652d9f9f50610fb4c240576f859947) Change-Id: I8ac9754ad4033a50a35b44823314087e7fedd790 Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-16Adding ConnectionManager Test CaseKush2-0/+58
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/693 (cherry-picked from 17b93dde4ed6de266af41a27f65026ca25b8ed53) Change-Id: I404ed36b6a3efd40f0759df8da6d7be91b0d1bce Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-16Adding unit test cases for oickeepalive fileSourav Bhuwalka2-1/+267
New file containing unit test cases for oickeepalive file is added https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/685 (cherry-picked from d341b70f69a6969cfd6a6134d7492a082d5d5365) Change-Id: If96e0b9856d3360b1082adc91da8387b04efa0bd Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-16Adding Unit Test for OCDirectPairing.cpp in IoTivitysamanway2-1/+115
- Added unit tests for OCDirectPairing.cpp - Enabled building by modifying SConscript https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/685 (cherry-picked from eb2c92da91a723a7bf7876f09a1784ea514d383b) Change-Id: I6ad094fa4aba180c5846541bc36cf49978241fb1 Signed-off-by: samanway-dey <samanway.dey@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-16[Unit Test] Solving Build Error for OCEvent TCsSudipto1-1/+0
- In commit 371b5f, a python import was removed from SConscript, which was causing build error for TCs - Modified resource/c_common/ocevent/test/SConscript (cherry-picked from e890177a6dfb23a3935f590c4845f22b98dec5bd) Change-Id: I02e20347116774834234d5e7094f6c4834b1d6da Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-16[UnitTest]Enabling ocevent test casesSudipto2-1/+4
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/691 (cherry-picked from 371b5fde8d1b0b29c70f77b5f261724b97cba1f9) Change-Id: Ib87c0e026ebb815ab3b71c3112cfdf886f7c9f60 Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-16[Unit Test] Adding Unit Test for CAManager.cpp in IoTivity C++ WrapperSudipto3-0/+156
- Added Unit Test for CAManager.cpp - Changed the SConscript to build CAManagerTest.cpp https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/684/commits (cherry-picked from 08ce4fa0814b6c85a01e0a90be4821f523bdac3c) Change-Id: Ie704b0fbb947365c741e100d0e48c809e79a5aeb Signed-off-by: samanway-dey <samanway.dey@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-11issue in OwnerUuidUpdateHandlerVitalii Irkha1-48/+47
Fix possible crash in OwnerUuidUpdateHandler() API https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/682 (cherry-picked from 0132766ed5abdc8252f5ebbdd20583af0b203eda) Change-Id: Iee6f14b176b52b72fb55e2d9b22ed11d9bc70492 Signed-off-by: Vitalii Irkha <v.irkha@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-11Fix for Sonarqube Bugssamanway1-1/+1
- Redundant condition checking reported in caleclient.c, corrected - Added NULL check in NSProviderTopic.c https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/683 (cherry-picked from 904203befcb4bfd93a2f91f5b97c792715196992) Change-Id: Id8c7d6e4b91693d4ef07c10e0628ef1546870cf6 Signed-off-by: samanway-dey <samanway.dey@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-11Fix OCException Test CaseKush1-0/+2
Disable cloud from coverage report https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/680 (cherry-picked from d2157c697246b85622b8739150504377cfc61833) Change-Id: I7563ded9ba7dcb8d95a903c1866212284fe87776 Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-11When compiling IoTivity with WITH_CLOUD=trueKush1-0/+1
Aircon_controlee example fails to compile: In file included from cloud/samples/client/airconditioner/aircon_controlee.cpp:12:0: resource/csdk/resource-directory/include/RDClient.h:49:21: error: 'recursive_mutex' is not a member of 'std' std::shared_ptr<std::recursive_mutex> _csdkLock; Including the mutex header fixes the issue. https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/679 (cherry-picked from 942b81212d584d4471afb6af80aa54d170da80cf) Change-Id: Ib03099dfdf8dee60439e4fffab579f45bd5978d2 Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-06-11Add resetSVRDB method to OCSecure to synchronize with OCPlatformMichal Mank2-0/+25
[Model] LUX [BinType] AP [Customer] LUX [Issue#] TTES-534 [Request] N/A [Occurrence Version] 1.2.1-61 [Problem] resetting svr db only in c api [Cause & Measure] added version in c++ api; this will synchronize resetting svrdb with the rest of OCPlatform methods using csdkLock mutex [Checking Method] build & test on device [Team] IoT Connectivity [Developer] m.mank [Solution company] Samsung [Change Type] new feature https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/673 (cherry-picked from 7a46617818b08af0b75a61893465b007134f4098) Change-Id: If8ae77355ab268478ec7dfed08ce6a8e0468f331 Signed-off-by: Michal Mank <m.mank@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-04-14Revert "[CONPRO-1568] Ignoring duplicate IPv6/Ipv4 messages"submit/tizen/20200414.045530accepted/tizen/unified/20200416.001142DoHyun Pyun2-7/+8
This reverts commit d386e3797794d970b5e96c25fc00780c80b2a6fe. Native iotcon ITC fail issues are occured with this patchset in FHub 6.0 image. After re-checking the patchset, we will apply. Change-Id: I34e07c6e07f1c6b602cbf861ea51459a639ab80e Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-04-02Fix -Wreturn-type build warningsubmit/tizen/20200405.215959submit/tizen/20200403.000136submit/tizen/20200402.005546accepted/tizen/unified/20200407.130847DoHyun Pyun1-2/+3
With new toolchain gcc9.2, these cases go to 100% crash. So Must Fix this warning error. Change-Id: I8354a2d6c57d2da16feca5151e1b5ebe99be55fe Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-04-01Adding fix for bi directional requestKush1-15/+47
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/664 (cherry-picked from e7010477b877fc74ba3773c2661ec289da6de8ae) Change-Id: Ia7c0bb9dc15c0fde7bbd34262fc39c57356ddf66 Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-04-01[CONPRO-1568] Ignoring duplicate IPv6/Ipv4 messagesKush2-8/+7
Issue : There can be duplicate messages coming from multiple ipv6 (or v4) addresses in the system. The presence of ipv6 link-local for instance could cause duplicate messages to appear. Solution : Remove check based on IPv4/Ipv6 https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/668 (cherry-picked from 7d5e906bedb032f88f2dd2fca97f70a631c1346e) Change-Id: I7fd73ad9401a30192141a048db9d88cd7bfea3b6 Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-04-01[CONPRO-1558] Adding check for tasks already freed through ca_thread_pool_freeKush1-0/+10
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/667 (cherry-picked from 2977211f5c3927ac9613688e37cc4cd06e44f1d6) Change-Id: Ie7dd756317d1cab004861c7b85aa9822e94b4b0d Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-04-01[CONPRO-1571] Fix for DeleteObserver in case of GATT adapterKush1-1/+1
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/666 (cherry-picked from bd25a20961dc89dd4c7fedb5a3f4e881ddb53b0a) Change-Id: Id9259093a010533ec20fc4061f2283d7d69d016a Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-04-01[CONPRO-1557] Iotivity crash (keep alive thread)Sourav Bhuwalka1-4/+8
Added try catch block before std::thread https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/660 (cherry-picked from eb06ec216a4595c565ad62901f5ab5029ed2a93d) Change-Id: Ia0e4faf4c832a06a4826ddb732703a12ab65110a Signed-off-by: Sourav Bhuwalka <s.bhuwalka@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-02-19[CONPRO-1561] Crash in memcpysubmit/tizen/20200219.001638samanway1-1/+1
- In Caremotehandler.c, function CACloneInfo was copying token into buffer in vulnurable way - Fixed it appending NULL in destination string https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/662 (cherry-picked from f8af2d6ca117bdf270c97c5c28f86bb0169659e5) Change-Id: I84dfff77ecbf3a333913ce341060d7e30444ac62 Signed-off-by: samanway <samanway-dey@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-02-19[CONPRO-1560] iotivity crash in data receiver threadsamanway2-10/+35
- In function CADropSecondMessage(), an input argument pointer NULL check was missing, added the same - In function CAGetInfoFromPDU(), 512 bytes memory was getting assingned from stack, which may fail in case stack overflow. Hence allocated memory from heap. this fix is already in IoTivity 2.0-rel. https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/663 (cherry-picked from 7c12ddb7711cbb9af9d7c68635c171692222bdb4) Change-Id: I09e987240e7d37460ba7c567f7b6593d6b3b9e3a Signed-off-by: samanway-dey <samanway.dey@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-02-19[CONPRO-1564] Doxm deadlockOleksii Beketov1-0/+8
Deadlock in case of not supported oxm method fixed https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/665 (cherry-picked from 2ce7a0c66285f62eeac4db9260cea0f077adf2ad) Change-Id: I280d323cd27eccfe233e0ea91efc2a4cb393591e Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-02-19[CONPRO-1549] Create new method in RDClientSourav Bhuwalka2-0/+65
Added new (publishAllResourceToRD) to publish resources to resource- directory.Dont include virtual resources /oic/p and /oic/d to resourceHandles argument of this API.This API internally appends the two virtual resources. https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/655 (cherry-picked from 3f75969eec27bc8b6264de42faf01cf811de5037) Change-Id: I3a6877d885d8c1537b2d767d06f8e1e1e9acd8cd Signed-off-by: Sourav Bhuwalka <s.bhuwalka@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-02-19Add uuid convertOleksii Beketov1-1/+8
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/661 (cherry-picked from 43c552c67605b0e6a5980d85a897673233aff370) Change-Id: Ia4e40da6f6cd56fe6827b9e588957a67804d1471 Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-01-30Remove unused source file in tizen bt_le_adaptersubmit/tizen/20200218.000626submit/tizen/20200203.002206accepted/tizen/unified/20200204.125838DoHyun Pyun1-1665/+0
Change-Id: I8cf29c80bf61adcfba26c8a2acaa9a63f21b4460 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-01-30CONPRO-1551 Adding support for LE bi directional request.Kush2-3/+34
Issue : Currently Tizen LE Server only supports sending response and LE Client supports sending request and response for response. But in some scenarios if server tries to send request using same BLE connection, then that is not possible. Solution: This patch will allow LE server to send Request using same BLE connection https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/654 (cherry-picked from af41fb6485fdb0bb02bfd92e6e4993a0b1596a36) Change-Id: Ie2a0bb3add5e56565d0059ac2d42dfd68336c958 Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-01-30Adding NULL check in CALEClientAddUuidsamanway1-3/+14
- NULL check was missed before passing string to strcmp() - Hence, added NULL check https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/652 (cherry-picked from 2f6b188bc90dc306f98414189d30206eef38be4a) Change-Id: Ia92a7a308dcb73999df84d48e67aad6e4d7be0e0 Signed-off-by: samanway-dey <samanway.dey@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2020-01-28[CONPRO-1552] Build fail for -Werror=implicit-function-declaration]samanway1-0/+2
- caadapterutils.h was not included in caipnwmonitor_common.c, hence added - oic_malloc.c was not included in caipnwmonitor_common.c, hence added https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/649/commits/c536c5a5bbe66b0ac8eedcdefcf858d325718f23 (cherry-picked from c536c5a5bbe66b0ac8eedcdefcf858d325718f23) Change-Id: I62d0185fe632d7a487ac88e4bf4f62cc47a3486f Signed-off-by: samanway-dey <samanway.dey@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-01-28[CONPRO-1552] Fixing lack of header guards in RDClient.hsamanway1-0/+5
- Added header guard in RDClient.h https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/649/commits/25aabe92979f70d22c42d735003f6b3d4605bd4d (cherry-picked from 25aabe92979f70d22c42d735003f6b3d4605bd4d) Change-Id: I764e966237c1f87b332da8c6977943c3d2a45281 Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-01-17Iotivity crash on 502 Bad Gateway errorSourav Bhuwalka1-1/+1
Initialising dimensions with 0 which was not done earlier In case OCRepPayloadGetPropObjectArray function fails links become NULL but since dimensions is not initailised with 0 it will have some garbage value and will enter in loop and crash will occur https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/649/commits/3a10bc1df11c5c2bbf7465e3aa06a76adb4734c6 (cherry-picked from 3a10bc1df11c5c2bbf7465e3aa06a76adb4734c6) Change-Id: I9f156c9f3459ad756d3fde2759aa518d48380d54 Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-01-12Fixing Iotivity crash in catcpserversamanway2-9/+20
- Memory was being freed in function CADisconnectTCPSession without checking NULL condition - This caused crash in IoTivity, fix is patched - Also, a potential dangling pointer issue fized in uqeue.c https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/ced81117e624a1f416df3f5ff226427b2d070515 (cherry-picked from ced81117e624a1f416df3f5ff226427b2d070515) Change-Id: Ic6ede9df63aa8e5590c253f9430eeba401231347 Signed-off-by: samanway-dey <samanway.dey@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-01-12CONPRO-1542 Adding left out error codes conversion from EntityHandler to ↵Kush1-0/+18
OCStackResult https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/eb4f1b5d1cd3696e187ee1e6ec0d0a7a75cbe321 (cherry-picked from eb4f1b5d1cd3696e187ee1e6ec0d0a7a75cbe321) Change-Id: Icb0e572691466ffd2cb94a277648e0c89b7f19a0 Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-01-12New API for self ACL updatingIurii Metelytsia7-39/+205
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/441765ad4ae9d09a2ff34023031e6e4f42edf917 (cherry-picked from 441765ad4ae9d09a2ff34023031e6e4f42edf917) Change-Id: Ic9747cb71f669895ced90e442bcce1f090389e1c Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-01-12Bug fix in set/unset adapter state change callback. (#640)senthil.gs@samsung.com5-14/+18
A bug was introduced in a recent patch to reduce code complexity, This patch fixes the issue. https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/9a8ff7f20185944857848c6345f87d40ddcd0e87 (cherry-picked from 9a8ff7f20185944857848c6345f87d40ddcd0e87) Change-Id: I5b15b5ed3bd70e8c81885b7208eba3fbf5ee3330 Signed-off-by: Senthil Kumar G S <senthil.gs@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-01-12BLE Scan when GATT already connected.Kush1-18/+64
If GATT is already connected by some other service then Iotivity should use that GATT connection only. https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/427b61effdc348e139c27fb314b44c011689e523 (cherry-picked from 427b61effdc348e139c27fb314b44c011689e523) Change-Id: I8bd79cd7752a0312b1fa73a91cf2851c8af24c85 Signed-off-by: Kush <kush.agrawal@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>
2020-01-12Adding retry logic for gatt connection for VD clientsamanway1-21/+1
- There was an issue initially reported for LUX, that Gatt Client disconnects just after it connects - Connection retry logic was added as a fix in the commit 25ef240cc9978fa5945a26e72a8e763c436960db - Again the same issue was reported for TV - So adding the same fix in VD client https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/6faf5ba264411d383ec5c3225f9fdcd90690088d (cherry-picked from 6faf5ba264411d383ec5c3225f9fdcd90690088d) Change-Id: I0c7ad06e65b1c1774b9d7269be64a2f569d55664 Signed-off-by: samanway-dey <samanway.dey@samsung.com> Signed-off-by: Sudipto <sudipto.bal@samsung.com>