Change doxm.deviceuuid from R-only to RW in doxm entity handler. 45/14345/2
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>
Wed, 16 Nov 2016 04:16:11 +0000 (04:16 +0000)
commit94652bbdc47f43f26782db2b455fe4fedc41698d
tree875f11fa3df1de5e711c3a2d7ab04b42df50f569
parent92caeeed507baa47afb7ad0cdb138b2db7edcce6
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/14345
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/src/doxmresource.c