iotivity.git
3 months agosome errors fix 74/27874/5
Oleksandr Dmytrenko [Tue, 22 Jan 2019 13:42:28 +0000 (15:42 +0200)]
some errors fix

crosses initialization and invalid conversion errors fix

Change-Id: I55cce4178f14eb1a7e5b45704650696d18b9ddec
Signed-off-by: Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
3 months agocrach fix in GetOwnCert 73/27873/2
Oleksandr Dmytrenko [Tue, 22 Jan 2019 13:26:04 +0000 (15:26 +0200)]
crach fix in GetOwnCert

crach fix in GetOwnCert, in debug mode in case null chain

Change-Id: I2c394a1953b8b20015c53607325b5181750bf564
Signed-off-by: Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
3 months ago[IOT-3255] OCF profile CA cert check 71/27871/1
Oleksii Beketov [Mon, 21 Jan 2019 13:29:22 +0000 (15:29 +0200)]
[IOT-3255] OCF profile CA cert check

CA root cert check added to OCF profile chain validation

Change-Id: I4b33d8487f2064cb019dbd25df922b835098a4fc
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Bug: https://jira.iotivity.org/browse/IOT-3255

4 months agoTERM must be set in the environment for gradle. 35/27735/3
Herve Jourdain [Tue, 15 Jan 2019 20:14:26 +0000 (04:14 +0800)]
TERM must be set in the environment for gradle.

Otherwise, Android build fails complaining TERM is not set.

Change-Id: Ibf92b2eca73c71c249d313614ab0ae611ea4f524
Signed-off-by: Herve Jourdain <herve.jourdain@beechwoods.com>
4 months ago[IOT-3245] Update Security OIDs with extra .0 54/27854/3
Jeremy Rover [Fri, 11 Jan 2019 01:23:44 +0000 (17:23 -0800)]
[IOT-3245] Update Security OIDs with extra .0

Change-Id: Ib032c9b2b35b2ef3c23bb9a9cedba46e5aacd4da
Signed-off-by: Jeremy Rover <jeremy.rover@intel.com>
Bug: https://jira.iotivity.org/browse/IOT-3245

4 months agoFixed Android OcPlatform.Shutdown() does not work. 82/27782/2
Herve Jourdain [Thu, 20 Dec 2018 03:31:02 +0000 (11:31 +0800)]
Fixed Android OcPlatform.Shutdown() does not work.

Android OcPlatform.Shutdown() API does not work properly, because in
the case of Android, start() is called twice: once by the Android
Configure API, which is normal and needed, and once by the constructor
for OcPlatform_impl()!
This last one is due to the fact that useLegacyCleanup is still set
to true in the PlatformConfig used by Android, which is one of the
2 non-deprecated ones.
Comments say that the flag is set to false by default, unless a
legacy constructor is used. But this is obviously not a legacy
constructor, and the flag was erroneously set to true...
With this fix, Android OcPlatform.Shutdown() works as expected.

Change-Id: I3db4c37ff17c9f16ea927093c8aa2806e1cabb90
Signed-off-by: Herve Jourdain <herve.jourdain@beechwoods.com>
4 months agoMerge test folder of test branch 98/27798/2
Mushfiqul Islam Antu [Thu, 27 Dec 2018 06:41:57 +0000 (12:41 +0600)]
Merge test folder of test branch

This patch enables all test activities and commits to be
maintained from master branch, instead of test branch.

Change-Id: I2d9123dbd605f0e91eb6d91282057de8735b20a7
Signed-off-by: Mushfiqul Islam Antu <i.mushfiq@samsung.com>
5 months ago[IOT-3121] Fix rts values of Collection Resource 37/27637/1 feat-linkupdate-and-collection-access-control
Mushfiqul Islam Antu [Fri, 30 Nov 2018 09:13:51 +0000 (15:13 +0600)]
[IOT-3121] Fix rts values of Collection Resource

For baseline response of collection, value of rt & rts
are same for current implementation, which is wrong.
rts should reflect the resource types of the chlidren
of the collection.

Change-Id: Ib4e768c7401247dc9dd4917ff5a611396e8e07a2
Signed-off-by: Mushfiqul Islam Antu <i.mushfiq@samsung.com>
5 months agoIOT-3244 configurable JMX_HOSTNAME 33/27633/1
Peter Rafaj [Mon, 3 Dec 2018 08:39:14 +0000 (09:39 +0100)]
IOT-3244 configurable JMX_HOSTNAME

Change-Id: I707c2db52492f7585aed307f3a47c6e14824c0b3
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
5 months agoMerge branch 'iotivity-cloud' reverify 85/27585/2 feat-bridging-zigbee
Ondrej [Tue, 27 Nov 2018 06:36:10 +0000 (07:36 +0100)]
Merge branch 'iotivity-cloud' reverify

Change-Id: Iacf81170fac09e4f7e9b7f6f4f51eb0182db1ce3
Signed-off-by: Ondrej Tomcik <ondrej.tomcik@kistler.com>
5 months ago IOT-3234 fix discovery request creating 55/27555/2 iotivity-cloud
Peter Rafaj [Mon, 12 Nov 2018 15:22:03 +0000 (16:22 +0100)]
 IOT-3234 fix discovery request creating

Change-Id: I1a2c2ce90555fa8c7049d0986ac8806c29013f48
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
5 months agoIOT-3234 Add support for new sec URI in AS 53/27553/1
Peter Rafaj [Fri, 23 Nov 2018 11:57:46 +0000 (12:57 +0100)]
IOT-3234 Add support for new sec URI in AS

Change-Id: I1a851e83c2570c736be2b3c7a2172337f8520271
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
5 months ago[IOT-3229] Reset mbedtls verify callback 99/27499/1
Aleksey Volkov [Tue, 20 Nov 2018 08:22:36 +0000 (10:22 +0200)]
[IOT-3229] Reset mbedtls verify callback

Reset X509 verify callback in the global
mbedtls context in case if the identity
callback isn't set.

Change-Id: Ib1abfa00753b971d4eda85cfc18ebcc3a7b0707d
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
6 months ago[IOT-3055]Fixed Handle collection resource payload 99/27299/14
koushik.girijala [Mon, 22 Oct 2018 10:01:16 +0000 (15:31 +0530)]
[IOT-3055]Fixed Handle collection resource payload

Fixed Handle collection resource payload for all interfaces
And also fixed batch interface for normal respources

Change-Id: I35c11597f2f55d1e3d40317209fe127cdd076d46
Signed-off-by: koushik.girijala <g.koushik@samsung.com>
6 months agowebos: Avoid unused parameter warning 83/26983/4
Yi-Soo An [Thu, 20 Sep 2018 03:29:36 +0000 (12:29 +0900)]
webos: Avoid unused parameter warning

To avoid unused parameter warning at compile-time,
cast the parameter to void type.

Change-Id: I4559b6ad06dc6ccfd304561015d9a184108dea11
Signed-off-by: Yi-Soo An <yisooan@gmail.com>
6 months ago[IOT-1947][IOT-2761][IOT-3228] Rm PEM/DER convert 83/22983/19
Oleksii Beketov [Mon, 5 Nov 2018 13:21:23 +0000 (15:21 +0200)]
[IOT-1947][IOT-2761][IOT-3228] Rm PEM/DER convert

PEM/DER casting removed, allowing  mbedtls to manage
certificate conversion by itself. Credresource loads
certificates that could be either PEM or DER encoded
to a linked list instead of pushing them to a buffer.

Change-Id: I200f9ef8798b20bf894b8ef2cf85e42e13749f38
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
6 months ago[IOT-3219] Prevent Iotivity crash at OTM 19/27319/3
Aleksey Volkov [Wed, 24 Oct 2018 12:10:12 +0000 (15:10 +0300)]
[IOT-3219] Prevent Iotivity crash at OTM

Change-Id: Ia3436b8ea9da299084b770c4cd048f626a5d7d5a
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
6 months ago[IOT-3219][IOT-3220] Restore default handlers 35/27335/2
Aleksey Volkov [Mon, 29 Oct 2018 14:48:59 +0000 (16:48 +0200)]
[IOT-3219][IOT-3220] Restore default handlers

Restore default TLS handlers immediatelly after PSK generation
in case of MFG OTM

Change-Id: Idfce0bf8e2b6741d0a64a8f0143e2eb955e7167e
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
6 months ago[IOT-3220] Restore callbacks at reset 03/27303/2
Aleksey Volkov [Mon, 22 Oct 2018 13:35:49 +0000 (16:35 +0300)]
[IOT-3220] Restore callbacks at reset

- Restore pkix, psk, identity callbacks at internal reset
- Revert [IOT-3140] related changes, since all callbacks now
  restored in SRMInitSecureResources for both reset cases

Change-Id: Ibc859c8ee26ae9f914859e27d5ea2b2491f03bf6
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
6 months ago[IOT-3216] Fix /SP resource section write to PS 79/27379/2
Aleksey Volkov [Fri, 2 Nov 2018 14:32:44 +0000 (16:32 +0200)]
[IOT-3216] Fix /SP resource section write to PS

Fixed `copy-paste` typo due to which SP resource write was skipped ..

Change-Id: I1756a41f93a82b57a02d1c0641995fcf36fe5fa3
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
6 months ago[IOT-3224] Remove RO params from the request 51/27351/4
Aleksey Volkov [Wed, 31 Oct 2018 13:58:36 +0000 (15:58 +0200)]
[IOT-3224] Remove RO params from the request

cm, isop fields removed from POST request
to the /pstat resource at OTM time

Change-Id: Ife3771fb5676a495df96e21d08d8bf20aa9364f5
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
6 months agocloud: Update dependency 51/27251/3
Philippe Coval [Tue, 16 Oct 2018 21:36:52 +0000 (23:36 +0200)]
cloud: Update dependency

Fix vulnerabilities

Change-Id: I3f772edb78369d7583b86c060d59cb787ec905b0
Forwarded: https://gerrit.iotivity.org/gerrit/#/c/27251
Signed-off-by: Philippe Coval <p.coval@samsung.com>
6 months agoIOT-3227 update unit test for rd,ci,as services 49/27349/1
Peter Rafaj [Wed, 31 Oct 2018 13:18:29 +0000 (14:18 +0100)]
IOT-3227 update unit test for rd,ci,as services

Change-Id: Ibc8afa347c5291b4560c98c14196c97a9bccc30d
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
6 months agoFix for connecting to TCP IPv6 socket 97/27297/6
koushik.girijala [Mon, 22 Oct 2018 07:57:16 +0000 (13:27 +0530)]
Fix for connecting to TCP IPv6 socket

Change-Id: I87700d134585a6088e21e5f33d5049ffd62f4fa8
Signed-off-by: koushik.girijala <g.koushik@samsung.com>
6 months ago[IOT-3006] add WES and CNC Resources to DCRs 59/27259/4
Nathan Heldt-Sheller [Wed, 17 Oct 2018 12:05:19 +0000 (05:05 -0700)]
[IOT-3006] add WES and CNC Resources to DCRs

The WES and CNC Resources should be in the list of
Device Configuration Resources.

Change-Id: I889f68cf87ee0b074ff341262a0de037af8a15fa
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
6 months agoadd optional cert extensions 85/27285/7
Steven Saunders [Tue, 2 Oct 2018 17:52:33 +0000 (11:52 -0600)]
add optional cert extensions

Change-Id: I11ee97610c01f464dba896e600c71831629650bc
Signed-off-by: Steven Saunders <s.saunders-contractor@cablelabs.com>
6 months agoSeparate non-core tizen builds for Jenkins 93/27293/1
Mats Wichmann [Sun, 21 Oct 2018 15:06:09 +0000 (09:06 -0600)]
Separate non-core tizen builds for Jenkins

The continuous integration system for IoTivity builds the targets
tizen_secured and tizen_unsecured as defined in auto_build.py.  These two
not only do a full build of tizen, but also several extra builds of
samples as defined in the build_tizen function.  This change separates the
extra builds into separate targets so a developer can still easily
call them, but they will not be part of the required CI build on
every change submitted to gerrit.

Change-Id: I1c8846e74afb2eb18532baa64543e320ef045ba9
Signed-off-by: Mats Wichmann <mats@linux.com>
7 months ago[IOT-3203] keyUsage digitalSignature bit 61/27261/1
Nathan Heldt-Sheller [Wed, 17 Oct 2018 12:26:49 +0000 (05:26 -0700)]
[IOT-3203] keyUsage digitalSignature bit

Per CR 2611, CA and SubCA Certificates may (or may not) include
the keyUsage "digitalSignature" bit.  This change removes that
bit from the list of disallowed bits.

Change-Id: Ib70b838518bf2375be7b4ade9b5ab9d98cb397e9
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
7 months agoIOT-3215 Update RD PRESENCE_TABLE 43/27243/1
Peter Rafaj [Tue, 18 Sep 2018 13:13:24 +0000 (15:13 +0200)]
IOT-3215 Update RD PRESENCE_TABLE

Change-Id: I30577905978c91cbb2e2f223f0ea1cbb1ce12a0e
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agoIOT-3214 rd mongo query optimalisation - reverify 37/27237/2
Peter Rafaj [Fri, 7 Sep 2018 12:06:33 +0000 (14:06 +0200)]
IOT-3214 rd mongo query optimalisation - reverify

Change-Id: I5f30ae3625463bf3bc6760c80447b481e6f1d4e2
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agoIOT-3213 Handle reset code properly 35/27235/1
Ondrej [Wed, 5 Sep 2018 08:39:53 +0000 (10:39 +0200)]
IOT-3213 Handle reset code properly

Change-Id: I728588ab5852da4cefa7a8a5b565875522d6ccc4
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agoIOT-3211 healthcheck for components 31/27231/1
Ondrej [Mon, 3 Sep 2018 11:31:24 +0000 (13:31 +0200)]
IOT-3211 healthcheck for components

Change-Id: I07a0f2e0d68d77a2cb0603ccc708d8e2b59a373c
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agoIOT-3210 fix exception in keep alive 29/27229/1
Ondrej [Wed, 5 Sep 2018 08:34:53 +0000 (10:34 +0200)]
IOT-3210 fix exception in keep alive
periodic task

Change-Id: I4a2799fbfb7bdf7d741fef0aaaaea20ce0552377
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agoIOT-3210 filter inactive channel 27/27227/1
Rap [Fri, 13 Jul 2018 13:34:50 +0000 (15:34 +0200)]
IOT-3210 filter inactive channel

Change-Id: Ib251b691164b41e614a527d8857362268a9639ab
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agoProper fix for "Static Analysis issues fixed" 03/27203/1
Vitalii Irkha [Thu, 11 Oct 2018 10:05:20 +0000 (13:05 +0300)]
Proper fix for "Static Analysis issues fixed"

Fixed typo passed parameter of GetDoxmDeviceID in PostOwnershipInformation
Fixed double free issues

Change-Id: I07669049e4ff47176332d69660c4c2de6bb00732
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
7 months agoStatic Analysis issues fixed 25/27125/6
Vitalii Irkha [Thu, 4 Oct 2018 15:23:20 +0000 (18:23 +0300)]
Static Analysis issues fixed

Change-Id: I556003eb0babcb08698466bc9acde2790c1d7916
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
7 months agoIOT-3164 29/27129/1
Rap [Tue, 10 Jul 2018 07:17:21 +0000 (09:17 +0200)]
IOT-3164

Change-Id: Iaa850c1f8ad7eb824bdd62ed623b0717c797d60f
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agoiotivity docker build via maven 03/27103/1
Rap [Mon, 21 May 2018 10:02:50 +0000 (12:02 +0200)]
iotivity docker build via maven

Change-Id: I1a4884d673da29db40042524d49e390ebfc97f00
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agochande from SP names to OIDS 49/27049/2
Steven Saunders [Fri, 21 Sep 2018 21:55:44 +0000 (15:55 -0600)]
chande from SP names to OIDS

Change-Id: Idbd71399d008e8a21819b400b1f664977ca5db0f
Signed-off-by: Steven Saunders <s.saunders-contractor@cablelabs.com>
7 months agoFixed some typo issues 79/27079/2
Vitalii Irkha [Thu, 27 Sep 2018 15:18:13 +0000 (18:18 +0300)]
Fixed some typo issues

Corrected Error Log statements in provisioningclient

Change-Id: Ife42b22236f90a25161e0ccb276fa3d1ee2871f2
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
7 months agoexamples/OCFSecure: Add ARTIK board 77/27077/2
Inho Oh [Mon, 13 Aug 2018 09:52:21 +0000 (18:52 +0900)]
examples/OCFSecure: Add ARTIK board

This patch add the ARTIK board to the list of supported devices.
The blue LED on board (GPIO38) is used for switch resource in the server
program. And the GPIO is controlled by "mraa" library which already used
in the server program.

The "mraa" library is not support the ARTIK board. So to use the raw GPIO
pin number, "raw=true" option is added.

Change-Id: I2004bc473c64189f3cc1010ae76c4cfe757b33f5
Signed-off-by: Inho Oh <webispy@gmail.com>
(cherry picked from commit 912a3a47cae8575030d298a3e67e7fd8472e5636)

7 months agoSample application maintenance for OCFSecure 81/26981/2
Rami Alshafi [Wed, 8 Aug 2018 00:46:11 +0000 (17:46 -0700)]
Sample application maintenance for OCFSecure

The DOXM resource in the RFOTM state needs to provide
write permissions to the onboarding tool.
Fixed code indentation formats and improved README

Change-Id: I8909f4b5182488bc01e69b2889cdf3ddeb8f42ab
Signed-off-by: Rami Alshafi <ralshafi@vprime.com>
(cherry picked from commit d23d1287715feb3297691d4f3340966eb5f0f9ef)

7 months agoMerge "Merge branch '1.4-rel' (758fc4a)" nhs-test
Mats Wichmann [Tue, 25 Sep 2018 13:47:10 +0000 (13:47 +0000)]
Merge "Merge branch '1.4-rel' (758fc4a)"

7 months agoobserve state of full presence table 59/27059/1
Rap [Fri, 27 Apr 2018 12:06:33 +0000 (14:06 +0200)]
observe state of full presence table

Change-Id: I17386998c025115f015a1b92e4e27f19bdf65f8c
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agoAdd doxygen comments for simulator 93/26593/9
pooja [Wed, 25 Jul 2018 13:29:14 +0000 (18:59 +0530)]
Add doxygen comments for simulator

Change-Id: Icd198cf5bd0ddae84bd6fa29757e6302cded9227
Signed-off-by: pooja <pooja.k@partner.samsung.com>
7 months agoAdd doxygen comments for notification 87/26587/11
pooja [Wed, 25 Jul 2018 11:17:53 +0000 (16:47 +0530)]
Add doxygen comments for notification

Change-Id: I0b1ef304a494687e1b53fee0be82b4af56d7326b
Signed-off-by: pooja <pooja.k@partner.samsung.com>
7 months agoMerge branch '1.4-rel' (758fc4a) 03/27003/2
Philippe Coval [Fri, 21 Sep 2018 10:28:50 +0000 (12:28 +0200)]
Merge branch '1.4-rel' (758fc4a)

Relate-to:
      I47ae68cbd633f0e8ffb38cde3e1b984e1c8505f5
      Ib4e768c7401247dc9dd4917ff5a611396e8e07a1
      I27bab5b348a4b0c52319447ce52e9ebdf3755628
      Ife04ffe93cd1780b448aa43072d7eba869a672fb
      I9bed4ade3fb12747e35d390b4a4e0339288ff564
      I29a2bafd1d163c4754cc3edcb77c15661399cbeb
      Ib48c441f4e07acbb4d9f74ba070ae427956e4178
      Id680843a04f69090b4ae7554e18d442f093debc7
      I5d43bc1e950811bbabceb1f42fd8cdcae31f87d0

Change-Id: Iaed67e1f8365f4d4cafea3a7cf149a73a7c601a4
Bug: https://jira.iotivity.org/browse/IOT-2453
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
7 months ago[IOT-3140] Revert PSK callback at reset 25/27025/2
Aleksey Volkov [Thu, 20 Sep 2018 15:14:09 +0000 (18:14 +0300)]
[IOT-3140] Revert PSK callback at reset

Set default PSK callback after the reset of
secure resources

Change-Id: Ib4e768c7401247dc9dd4917ff5a611396e8e07a1
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
7 months ago[IOT-3140] Revert PSK callback at reset 23/27023/2 1.4-rel
Aleksey Volkov [Thu, 20 Sep 2018 15:14:09 +0000 (18:14 +0300)]
[IOT-3140] Revert PSK callback at reset

Set default PSK callback after the reset of
secure resources

Change-Id: Ib4e768c7401247dc9dd4917ff5a611396e8e07a1
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
7 months ago[IOT-3140] Fix roles deinit crash 19/27019/1
Aleksey Volkov [Thu, 20 Sep 2018 11:51:24 +0000 (14:51 +0300)]
[IOT-3140] Fix roles deinit crash

Change-Id: I27bab5b348a4b0c52319447ce52e9ebdf3755628
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
7 months ago[IOT-3107] Proper SP resource reset 17/27017/1
Aleksey Volkov [Wed, 12 Sep 2018 09:40:47 +0000 (12:40 +0300)]
[IOT-3107] Proper SP resource reset

Reset SP secure resource to mfr defaults:
Add SP resource support to the reset profile in PS
API implementation.

Change-Id: Id680843a04f69090b4ae7554e18d442f093debc7
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
7 months ago[IOT-3140] Enable ResetSecureResources 15/27015/1
Aleksey Volkov [Mon, 10 Sep 2018 14:16:39 +0000 (17:16 +0300)]
[IOT-3140] Enable ResetSecureResources

Uncomment ResetSecureResources call on transition reset state.
This will return the proper state of the security resources
after reset.

Change-Id: I5d43bc1e950811bbabceb1f42fd8cdcae31f87d0
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
7 months ago[IOT-3140] Fix roles deinit crash 13/27013/1
Aleksey Volkov [Thu, 20 Sep 2018 11:51:24 +0000 (14:51 +0300)]
[IOT-3140] Fix roles deinit crash

Change-Id: I27bab5b348a4b0c52319447ce52e9ebdf3755628
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
7 months agoAdd ability to change HTTP proxy port 05/27005/1
Ondrej Tomcik [Tue, 10 Apr 2018 08:06:57 +0000 (10:06 +0200)]
Add ability to change HTTP proxy port

Change-Id: I249eaeb4102e397bd872a9093a9947912fc2815d
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
7 months agoMerge "Merge branch '1.4-rel' (455c136)"
Phil Coval [Thu, 20 Sep 2018 09:26:55 +0000 (09:26 +0000)]
Merge "Merge branch '1.4-rel' (455c136)"

8 months agoRD samples need to call OCProcess. 91/26991/2
Todd Malsbary [Mon, 27 Nov 2017 19:30:56 +0000 (11:30 -0800)]
RD samples need to call OCProcess.

Bug: https://jira.iotivity.org/browse/IOT-2846
Change-Id: Ife04ffe93cd1780b448aa43072d7eba869a672fb
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
8 months agobuild: Disable MOT by default to align spec 87/24887/3
Philippe Coval [Mon, 17 Jul 2017 17:17:11 +0000 (19:17 +0200)]
build: Disable MOT by default to align spec

An extra build job might be requiered to turn on all features

Bug: https://jira.iotivity.org/browse/IOT-2241
Change-Id: I9bed4ade3fb12747e35d390b4a4e0339288ff564
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Origin: https://gerrit.iotivity.org/gerrit/#/c/21493/
(cherry picked from commit 49d3f8b51d81705933006c968bc32da30ac1c387)

8 months ago[IOT-3055] Fix to handle single element of batch 07/26007/12
koushik.girijala [Wed, 27 Jun 2018 09:52:27 +0000 (15:22 +0530)]
[IOT-3055] Fix to handle single element of batch

Response for collection with batch interface should be an array and not
object, This change will fix the case when the collection resource have
to send only one element in response, instead of sending it as array of
one element it sends as single object
As per OCF 2.0 spec , for single element case the response should be an
array even for single element

Change-Id: I29a2bafd1d163c4754cc3edcb77c15661399cbeb
Signed-off-by: koushik.girijala <g.koushik@samsung.com>
8 months ago[IOT-3125] OTM between IoTivity and Iotivity-Lite 05/26805/9
Vitalii Irkha [Mon, 20 Aug 2018 15:45:12 +0000 (18:45 +0300)]
[IOT-3125] OTM between IoTivity and Iotivity-Lite

IoTivity Provisioning Client initiates OTM with IoTivity-Lite server

Change-Id: Ie1b1fed631541d39d0243cee02f6aca3a65a83fe
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>
8 months agobridging: build: Remove duplicated -Werror 71/26971/2
Philippe Coval [Fri, 14 Sep 2018 15:32:31 +0000 (17:32 +0200)]
bridging: build: Remove duplicated -Werror

Should rely only only ./build_common/

More cleanup to come later

Change-Id: Ib48c441f4e07acbb4d9f74ba070ae427956e4178
Signed-off-by: Philippe Coval <p.coval@samsung.com>
8 months agoIOT-3161 reverify2 77/26977/3
Rap [Tue, 3 Apr 2018 12:04:46 +0000 (14:04 +0200)]
IOT-3161 reverify2

Change-Id: I452e82f134341f247a296534f1d4f4c7e1d0d51e
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
8 months ago[IOT-3107] Proper SP resource reset 53/26953/2
Aleksey Volkov [Wed, 12 Sep 2018 09:40:47 +0000 (12:40 +0300)]
[IOT-3107] Proper SP resource reset

Reset SP secure resource to mfr defaults:
Add SP resource support to the reset profile in PS
API implementation.

Change-Id: Id680843a04f69090b4ae7554e18d442f093debc7
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
8 months ago[IOT-3140] Enable ResetSecureResources 35/26935/2
Aleksey Volkov [Mon, 10 Sep 2018 14:16:39 +0000 (17:16 +0300)]
[IOT-3140] Enable ResetSecureResources

Uncomment ResetSecureResources call on transition reset state.
This will return the proper state of the security resources
after reset.

Change-Id: I5d43bc1e950811bbabceb1f42fd8cdcae31f87d0
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
8 months agoBangkok SP updates 65/26965/1
Steven Saunders [Thu, 13 Sep 2018 21:12:59 +0000 (15:12 -0600)]
Bangkok SP updates

Change-Id: Ia14bf12669c385602886be9850ae719e85dd1980
Signed-off-by: Steven Saunders <s.saunders-contractor@cablelabs.com>
8 months agoMerge branch '1.4-rel' (455c136) 07/26807/2
Philippe Coval [Thu, 13 Sep 2018 14:34:20 +0000 (16:34 +0200)]
Merge branch '1.4-rel' (455c136)

Relate-to:
      I923216cf283e97eada4b600d5ebf8f5360c9e317
      I3de75a1485c47fd54ea46da2f3079a6e5fae8084
      I6e9296de9b22858f831ee503587fda51323ac902
      Iead0efa96b95f026b6a5b20731c8069f688c9483
      Ib4f04677cdc6951a0a9505efbd6ab47a7a79288b
      Ic88f9bae3137c439518901084d77285ace964d99
      I6b6320e8a6444a43c6400527f2f982a39a3d9128
      Ibaf2c7d0b9daad7248b2f226da164a7a301dc526
      I4b820e50158e34a94d84195e4979ada6fefff190
      I91c44d9e3e8af731175337bc80afa13a44222d6c
      I5c10141d76c1d2a1ce3efc656990a628dfd6a246

Change-Id: Ie30199897cd6fe64e2fd7a66126a3c87d25d9c1d
Bug: https://jira.iotivity.org/browse/IOT-2453
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 months agoUpdate /sp to latest CR text 51/26951/1
Nathan Heldt-Sheller [Fri, 3 Aug 2018 05:05:42 +0000 (22:05 -0700)]
Update /sp to latest CR text

The Security WG approved a new version of the CR (v14) that
reflects several changes in the /sp Resource.  From a Server
perspective the main impact is that the Property names were
changed, and support for all 4 defined Profiles is required
for CTT validation.

Change-Id: Ibaf2c7d0b9daad7248b2f226da164a7a301dc526
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
8 months agoIOT-3160 39/26939/1
Ondrej Tomcik [Fri, 23 Feb 2018 06:01:26 +0000 (07:01 +0100)]
IOT-3160

Change-Id: Ie9da1b7ea7ac70dcca094eba45cc51a59779eb34
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
8 months agobuild: Remove duplicated -Werror 13/26813/5
Philippe Coval [Wed, 22 Aug 2018 07:32:49 +0000 (09:32 +0200)]
build: Remove duplicated -Werror

Should rely only only ./build_common/

More cleanup to come later

Change-Id: I3de75a1485c47fd54ea46da2f3079a6e5fae8084
Origin: https://gerrit.iotivity.org/gerrit/#/c/26833/
Signed-off-by: Philippe Coval <p.coval@samsung.com>
(cherry picked from commit e26d8059b6c3eff4e6001cf6f9fa9355feefe1e0)

8 months agoAdd doxygen comments for easy-setup 55/26655/7
pooja [Tue, 31 Jul 2018 09:32:23 +0000 (15:02 +0530)]
Add doxygen comments for easy-setup

Change-Id: I0b0870dca6ce6c9b3813e5dbf1e263beac785075
Signed-off-by: pooja <pooja.k@partner.samsung.com>
8 months agoIotivity hangup 53/26853/4
Jozef Kralik [Thu, 30 Aug 2018 07:30:47 +0000 (09:30 +0200)]
Iotivity hangup

- fix for mutex deadlock in case of simualetionesly send & recieve of tcp/tls connections

Bug: https://jira.iotivity.org/browse/IOT-3075
Bug: https://jira.iotivity.org/browse/IOT-3059
Change-Id: I6e9296de9b22858f831ee503587fda51323ac902
Signed-off-by: Jozef Kralik <jozef.kralik@kistler.com>
8 months agoadd a function to swap elements in a u_arraylist 51/26851/2
Jozef Kralik [Thu, 30 Aug 2018 07:27:40 +0000 (09:27 +0200)]
add a function to swap elements in a u_arraylist

- u_arraylist_swap provides swap of elements in a array list

Bug: https://jira.iotivity.org/browse/IOT-3075
Bug: https://jira.iotivity.org/browse/IOT-3059
Change-Id: Iead0efa96b95f026b6a5b20731c8069f688c9483
Signed-off-by: Jozef Kralik <jozef.kralik@kistler.com>
8 months agointroduce a refcounter for data 49/26849/2
Jozef Kralik [Thu, 30 Aug 2018 07:23:57 +0000 (09:23 +0200)]
introduce a refcounter for data

- provides interface and implementation of reference counter
- for example of using look to:
  resource/c_common/oc_refcounter/test/linux/oc_refcounter_tests.cpp

Bug: https://jira.iotivity.org/browse/IOT-3075
Bug: https://jira.iotivity.org/browse/IOT-3059
Change-Id: Ib4f04677cdc6951a0a9505efbd6ab47a7a79288b
Signed-off-by: Jozef Kralik <jozef.kralik@kistler.com>
8 months agoUpdate vagrant build 17/26817/3
Mats Wichmann [Wed, 22 Aug 2018 18:46:51 +0000 (12:46 -0600)]
Update vagrant build

Things a bit out of date, general update to add ubuntu 18.04
stanza, newer extlibs pkg, etc.

Change-Id: I2d8526f8ea32283bb05db872610c63494b5c597f
Signed-off-by: Mats Wichmann <mats@linux.com>
8 months agoAdd valgrind builders to auto_build.py 45/26845/2
Mats Wichmann [Wed, 29 Aug 2018 22:46:59 +0000 (16:46 -0600)]
Add valgrind builders to auto_build.py

For possible future CI use, and for developer use, add
build options which run a memory checker while executing
unit tests (this was recently disabled as the default).

Some script refactoring as well, and updating of the
help message.

Change-Id: I8ddb0729854af1fd9e98d5e22034d94e5d1c5f08
Signed-off-by: Mats Wichmann <mats@linux.com>
8 months agobuild: Remove duplicated -Werror 33/26833/3
Philippe Coval [Wed, 22 Aug 2018 07:32:49 +0000 (09:32 +0200)]
build: Remove duplicated -Werror

Should rely only only ./build_common/

More cleanup to come later

Change-Id: I3de75a1485c47fd54ea46da2f3079a6e5fae8084
Origin: https://gerrit.iotivity.org/gerrit/#/c/26833/
Signed-off-by: Philippe Coval <p.coval@samsung.com>
8 months agotizen: Prepare before importing snapshot 33/25833/8
Philippe Coval [Thu, 14 Jun 2018 07:04:21 +0000 (09:04 +0200)]
tizen: Prepare before importing snapshot

Change-Id: I2f0c11cabdf14ee7c2287a8d9774be59da46cef4
Signed-off-by: Philippe Coval <p.coval@samsung.com>
8 months agoAdd doxygen comments to connectivity module 81/26581/8
pooja [Wed, 25 Jul 2018 10:19:57 +0000 (15:49 +0530)]
Add doxygen comments to connectivity module

Change-Id: Id2820a733503eb05861cf354ae3ea6a2a81a6736
Signed-off-by: pooja <pooja.k@partner.samsung.com>
8 months agoPlug resource leaks in acl test 55/24655/6
Mats Wichmann [Sat, 14 Apr 2018 14:52:11 +0000 (08:52 -0600)]
Plug resource leaks in acl test

Change-Id: I6b28e507ab3a7d03797da07fb0cc8663918e39f8
Signed-off-by: Mats Wichmann <mats@linux.com>
8 months agoFix possible uninit accesses 29/24229/6
Mats Wichmann [Wed, 15 Nov 2017 17:17:45 +0000 (10:17 -0700)]
Fix possible uninit accesses

Change-Id: Ib3cbbae66326f40ade6ff4e0e7960e8698c4c37c
Signed-off-by: Mats Wichmann <mats@linux.com>
8 months agoBuild extlibs libs straight to destination 57/26157/9
Mats Wichmann [Wed, 4 Jul 2018 20:17:05 +0000 (14:17 -0600)]
Build extlibs libs straight to destination

As described in IOT-1986, Windows builders (in particular) have occasional
problems with multi-process builds - that is -j with a number larger
than one.  Libraries are built with a {Static,Shared}Library() call which
builds in the directory where the SConscript is executing, following
which we "install" into the top-level directory, where link instructions
will find them (the top dir is always in LIBPATH), and where tests and
other binaries expect to find them. For example, from these instructions:

  static_libmbedx509 = mbex509_env.StaticLibrary('mbedx509', mbeX509_src)
  mbex509_env.InstallTarget(static_libmbedx509, 'mbedx509')

For that, we see this abridged sequence from a Linux build log:

  scons: building `extlibs/mbedtls/libmbedx509.a' because it doesn't exist
  Preparing target extlibs/mbedtls/libmbedx509.a...
  Building extlibs/mbedtls/libmbedx509.a with action:
    $AR $ARFLAGS $TARGET $SOURCES
  Building extlibs/mbedtls/libmbedx509.a with action:
    $RANLIB $RANLIBFLAGS $TARGET
  ranlib extlibs/mbedtls/libmbedx509.a
  scons: building `out/linux/x86_64/debug/libmbedx509.a' because it doesn't exist
  Preparing target out/linux/x86_64/debug/libmbedx509.a...
  Building out/linux/x86_64/debug/libmbedx509.a with action:
    Copy("$TARGET", "$SOURCE")
  Copy("out/linux/x86_64/debug/libmbedx509.a", "extlibs/mbedtls/libmbedx509.a")

The actual target that matters for dependency computation is the result
of the library build, and that target is "done" when the StaticLibrary
call is complete, so other processes which depend on that target can be
released by the SCons Taskmaster to run at that point.  File copies are
not necessarily atomic on Windows Python, and worse, the build-plus-copy
is certainly not atomic, so sometimes one of the released processes
finds the "installed" library is not there (yet) when it tries to
link to it.

At least one of the sconscripts in extlibs has tried to mitigate this
problem by not doing the InstallTarget(), and instead pointing clients
of the library right to the directory it is built in by adding to the
LIBPATH construction variable. This is also done for a couple of libs in
build_common/windows/SConscript. This change is the other side of the same
coin - instead of pointing builds to a bunch of places where a library was
built, just build straight into the location where we want the library,
still avoiding the copy step.  In other words, instead of saying:

  StaticLibrary(target='foo', source=foo_src)
  env.AppendUniqe(LIBPATH, this-dir)

we can say:

  StaticLibrary(target='<somepath>/foo', source=foo_src)

Sorry for the long message - the upshot is, to test this idea, start
by converting the extlibs libraries to build straight into the place we
want them; if it works out, convert the others later.

Change-Id: I81858f221a2e0a0ee913dcd452fc607fcf79e7b2
Signed-off-by: Mats Wichmann <mats@linux.com>
Bug: https://jira.iotivity.org/browse/IOT-1986

8 months agoAdd doxygen comments for resource-encapsulation 61/26661/3
pooja [Tue, 31 Jul 2018 10:11:18 +0000 (15:41 +0530)]
Add doxygen comments for resource-encapsulation

Change-Id: I821c17f18eb1cc3c2133a97344f0bbbd2c8d90d7
Signed-off-by: pooja <pooja.k@partner.samsung.com>
8 months agoAdd doxygen comments for scene-manager 59/26659/4
pooja [Tue, 31 Jul 2018 10:08:33 +0000 (15:38 +0530)]
Add doxygen comments for scene-manager

Change-Id: Ifa897b017f54a5149df3c6be533ab5525049c092
Signed-off-by: pooja <pooja.k@partner.samsung.com>
8 months agovalgrind default switched to off. 57/26757/2
Mats Wichmann [Sun, 12 Aug 2018 13:55:19 +0000 (07:55 -0600)]
valgrind default switched to off.

A construction variable, VALGRIND_CHECKS, is added to the environment if
the target supports valgrind (currently that list is is linux and darwin).
It defaults to True.  If TEST mode is on, then the various unit test
locations will call the run_tests() tool which builds a command line
to run the test. If two conditions are met - (1) a pathname indicating
where to store the valgrind output is passed as the second argument
and (2) VALGRIND_CHECKS is set in the environment and evaluates True,
then that command line will be written to run the test under valgrind
control. In practical terms, This means the (linux) unit_tests builder
will run tests under valgrind. This happens on every patch submitted
to Gerrit, as part of the Jenkins CI setup.

At the moment, valgrind reports are not actively pursued by developers,
and are proving unstable (that is the terminology used by the Jenkins
valgrind report plugin itself, indicating that results differ from run
to run). Many patches have been stalled by the valgrind report plugin
marking the unit_tests build a failure, even if the patch had no
impact at all on the run.

Until this situation improves, flip the VALGRIND_CHECKS default to
False. Any developer can set up their own valgrind run at any time
by passing TEST=1 VALGRIND_CHECKS=1 to scons.

The run_test docstring is reworded.

Change-Id: I2519ab8771e2a9e299853a0e1574a10568db68a2
Signed-off-by: Mats Wichmann <mats@linux.com>
8 months agoresource-encapsulation: Install unit tests 43/26543/3
Philippe Coval [Fri, 23 Mar 2018 10:46:15 +0000 (11:46 +0100)]
resource-encapsulation: Install unit tests

Bug: https://jira.iotivity.org/browse/IOT-524
Change-Id: Ic88f9bae3137c439518901084d77285ace964d99
Origin: https://gerrit.iotivity.org/gerrit/#/c/26515/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 months agoAdd unused markers if MULTIPLE_OWNER is undefined 75/24875/2
Mats Wichmann [Mon, 23 Apr 2018 16:18:47 +0000 (10:18 -0600)]
Add unused markers if MULTIPLE_OWNER is undefined

Several functions in one source file have code which is bracketed
by #ifdef MULTIPLE_OWNER. If not defined, these trigger warnings
about unused parameters; since warnings now cause error, this is
fatal. Add OC_UNUSED() wrappings for these.

Change-Id: I6b6320e8a6444a43c6400527f2f982a39a3d9128
Signed-off-by: Mats Wichmann <mats@linux.com>
(cherry picked from commit d0c36f5b96caac409dcde289a0bb1b037fb54d03)

9 months agoMerge "Merge branch '1.4-rel' (44ce6a7) aka 2.0.0"
Phil Coval [Mon, 20 Aug 2018 17:17:35 +0000 (17:17 +0000)]
Merge "Merge branch '1.4-rel' (44ce6a7) aka 2.0.0"

9 months agoupdate outdated dat file 19/25919/4
George Nash [Fri, 22 Jun 2018 18:45:43 +0000 (11:45 -0700)]
update outdated dat file

Change-Id: Iaccf50a0a8f452c56d0c960619d7d028eaf28d08
Signed-off-by: George Nash <george.nash@intel.com>
9 months agoBuild unit tests for IP transport only 11/24111/17
Mats Wichmann [Thu, 8 Feb 2018 14:37:24 +0000 (07:37 -0700)]
Build unit tests for IP transport only

"./auto_build.sh unit_tests" is used by the CI system for the unit test
run (the .sh just invokes auto_build.py).  Since the CI system is virtual,
it does not have bluetooth hardware or NFS.  Initializing the stack
on Linux will try to make sure the selected transports are connected,
and Bluetooth will time out.  Depending on the configuration of the
distro in question, the dbus connection can time out in 2.5 seconds all
the way up to 25. This slows down the "stacktests" test and risks it
failing due to the deadman timer firing (the short timeout is currently
5 seconds). Build this configuration for the IP transport only.

The behavior of the dbus connection varies from run to run it seems,
(and as noted, newer Linux distributions have a much longer timeout,
so if you have to pay the timeout, test time goes up accordingly), but
picking from a log of the current CI unit_test builder (Ubuntu 12.04),
one instance of the entire unit test run took:

96 tests from 17 test cases ran. (4851 ms total)

Locally, removing the effort to touch bluetooth brings the whole unit
test time down well under a second on a system that does not actually
have bluetooth, similar to the case of the CI builders.

Bug: https://jira.iotivity.org/browse/IOT-2518
Change-Id: I453e00b0d829d5caf83b785011970db38b1a9db1
Signed-off-by: Mats Wichmann <mats@linux.com>
9 months agoIOT-3159 69/26769/1
Ondrej Tomcik [Mon, 26 Mar 2018 09:11:25 +0000 (11:11 +0200)]
IOT-3159

Change-Id: Idc5979942cbd7e2cba56c5bb07cdcfd6cddf069b
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
9 months agoIOT-3158 reverify 65/26765/2
Ondrej Tomcik [Tue, 13 Feb 2018 08:34:09 +0000 (09:34 +0100)]
IOT-3158 reverify

Change-Id: I030da7132be1d2a13d999b21b4cb0a51108f23e2
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
9 months agoIOT-3143 63/26763/2
Ondrej Tomcik [Tue, 20 Feb 2018 16:30:28 +0000 (17:30 +0100)]
IOT-3143

Change-Id: I14790c66e51b3f7ef955085a91db525d6107460b
Signed-off-by: Peter Rafaj <peter.rafaj@kistler.com>
9 months agoUpdate /sp to latest CR text 87/26687/3
Nathan Heldt-Sheller [Fri, 3 Aug 2018 05:05:42 +0000 (22:05 -0700)]
Update /sp to latest CR text

The Security WG approved a new version of the CR (v14) that
reflects several changes in the /sp Resource.  From a Server
perspective the main impact is that the Property names were
changed, and support for all 4 defined Profiles is required
for CTT validation.

Change-Id: Ibaf2c7d0b9daad7248b2f226da164a7a301dc526
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
9 months agoplugins: Use common params for Werror flag 93/26493/2
Philippe Coval [Sun, 22 Jul 2018 06:58:24 +0000 (08:58 +0200)]
plugins: Use common params for Werror flag

This flag should be used at project level using build_common settings

For reference the build issue was oberved on Yocto's poky master:

    bridging/plugins/lifx_plugin/lifx_objects/lifx.cpp:83:53:\
    required from here
    extlibs/rapidjson/rapidjson/include/rapidjson/document.h:1635:24: \
    error: 'void* memcpy(void*, const void*, size_t)' \
    writing to an object of type \
    'class rapidjson::GenericValue<rapidjson::UTF8<> >' \
    with no trivial copy-assignment; \
    use copy-assignment or copy-initialization instead \
    [-Werror=class-memaccess]
    std::memcpy(data_.a.elements, values, count * sizeof(GenericValue));
    (...)

Change-Id: I4b820e50158e34a94d84195e4979ada6fefff190
Signed-off-by: Philippe Coval <p.coval@samsung.com>
9 months agonotification: Install unit tests 45/26545/4
Philippe Coval [Fri, 23 Mar 2018 10:45:56 +0000 (11:45 +0100)]
notification: Install unit tests

Bug: https://jira.iotivity.org/browse/IOT-524
Origin: https://gerrit.iotivity.org/gerrit/#/c/26509/
Change-Id: I91c44d9e3e8af731175337bc80afa13a44222d6c
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
9 months agotizen: Enable MULTIPLE_OWNER=1 for EasySetup 85/24885/6
Philippe Coval [Wed, 17 May 2017 10:36:51 +0000 (12:36 +0200)]
tizen: Enable MULTIPLE_OWNER=1 for EasySetup

Bug: https://jira.iotivity.org/browse/IOT-2241
Origin: https://gerrit.iotivity.org/gerrit/#/c/20331/
Change-Id: I5c10141d76c1d2a1ce3efc656990a628dfd6a246
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
9 months agoplugins: Relocate tests 23/26523/6
Philippe Coval [Sat, 24 Mar 2018 11:31:28 +0000 (12:31 +0100)]
plugins: Relocate tests

Bug: https://jira.iotivity.org/browse/IOT-524
Origin: https://gerrit.iotivity.org/gerrit/#/c/26523/
Change-Id: I49ddaf5b2dc1123ae79b37d9df3c7dd4d29cc820
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
(cherry picked from commit 50253f87bc3be307ad6f37c9aad16c2557e0e99a)

9 months agonotification: Install unit tests 09/26509/4
Philippe Coval [Fri, 23 Mar 2018 10:45:56 +0000 (11:45 +0100)]
notification: Install unit tests

Bug: https://jira.iotivity.org/browse/IOT-524
Origin: https://gerrit.iotivity.org/gerrit/#/c/26509/
Change-Id: I91c44d9e3e8af731175337bc80afa13a44222d6c
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
9 months agoMerge branch '1.4-rel' (44ce6a7) aka 2.0.0 55/26755/1
Philippe Coval [Sat, 11 Aug 2018 07:59:14 +0000 (09:59 +0200)]
Merge branch '1.4-rel' (44ce6a7) aka 2.0.0

Relate-to:
      I673cc882862dc99c39623316f0ecdb68d4f69afe
      I92948b4039e464cd2ee02dcdf236a57942bf1992
      I8be9e04196558f81a584bd440b4cdb4aaa01e130
      I160789e7def32ef8022729c7479c16d7843a948f
      I49ddaf5b2dc1123ae79b37d9df3c7dd4d29cc820

Change-Id: I44ce6a7e6e66d593f4947340b863f118ab1b4ed1
Bug: https://jira.iotivity.org/browse/IOT-2453
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
9 months agoMerge "Merge branch '1.4-rel' (1d3461a)"
Phil Coval [Sat, 11 Aug 2018 07:57:22 +0000 (07:57 +0000)]
Merge "Merge branch '1.4-rel' (1d3461a)"

9 months ago[IOT-3125] OTM error with IoTivity Lite 39/26739/3
Vitalii Irkha [Wed, 8 Aug 2018 15:40:51 +0000 (18:40 +0300)]
[IOT-3125] OTM error with IoTivity Lite

Provisioning Client send rowneruuid property during only RFOTM state
accordingly to OCF spec.
Also fixed some insignificant issues.

Change-Id: Ib82e652b8b2d7a159eec8d41c859fa88eed117d5
Signed-off-by: Vitalii Irkha <v.irkha@samsung.com>