[IOT-1900] Implemented read-only pstat.cm 73/18173/6
authorNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Fri, 24 Mar 2017 19:33:36 +0000 (12:33 -0700)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Tue, 28 Mar 2017 14:30:18 +0000 (14:30 +0000)
commitd4c2e1c4356fd906697e43125d5e9814cf8b54cf
tree03c790a621d4183bc97c7e9da53caf225c0e8d0d
parent5965b213663504f9553ae26c383af382b1b15e48
[IOT-1900] Implemented read-only pstat.cm

Modifies pstatresource.c to change the UPDATE behavior and read-only nature of pstat.cm.

Also changes provisioning manager to write to pstat.tm instead of pstat.cm.

For now, the "cm" Prop just reflects the "tm" Prop.  This will change when
the other aspects are implemented including IOT-1958 fix.

patch set 2: merged the provisioning tool (OBT) changes from 18121;
renamed the map-size consts to make more sense and added comments for
future editors (plus a few TODO items for IOT-1958)

patch set 3: rebase

patch set 4: misc editorial cleanup on pstatresource.c

patch set 5: fix provisioning issue found by Jong-Min (thanks)

Change-Id: I42ef3b1128d34215067d81f2216a8de7a5812371
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18173
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Jongmin Choi <jminl.choi@samsung.com>
resource/csdk/security/provisioning/src/ownershiptransfermanager.c
resource/csdk/security/src/pstatresource.c