Change doxm.deviceuuid from R-only to RW in doxm entity handler.
authorNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Fri, 4 Nov 2016 21:13:00 +0000 (14:13 -0700)
committerRandeep Singh <randeep.s@samsung.com>
Tue, 15 Nov 2016 08:08:31 +0000 (08:08 +0000)
commited857b431f4f6914416d2951505a33943f53cce2
tree8613bd71a4573b15d2917e91ef75e22254b5bd6e
parent198848194084af8981c4690f6d2182ef3850fb6d
Change doxm.deviceuuid from R-only to RW in doxm entity handler.

CTT testing revealed a bug in 1.2 (and a matching bug in the 1.1
schema) that had marked deviceuuid as R-only.  However this is
not correct: deviceuuid must be Writeable to allow the OBT
to update with a new UUID during onboarding.  This has been
verified by SecWG and needs to be fixed in 1.2.

Patch #2: added a line to also copy deviceuuid in updateWriteableProperty() function

Change-Id: Icff6d978f5a12af021d557a5c71f25a4e9957ba2
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14053
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jongmin Choi <jminl.choi@samsung.com>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/src/doxmresource.c