IPCA: Change to not use deprecated APIs.
authorSoemin Tjong <stjong@microsoft.com>
Mon, 20 Mar 2017 05:57:00 +0000 (22:57 -0700)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Fri, 31 Mar 2017 00:51:25 +0000 (00:51 +0000)
commit6f8b3be0ccba62c7aeb20363f3336e21b538511a
tree2465af1635b4027220d7d6d8ae74c5c3494e3f25
parent97fb377789420307e07ac579e0dec4037fad75bb
IPCA: Change to not use deprecated APIs.

Use setPropertyValue() instead of deprecated registerPlatformInfo() and
registerDeviceInfo().

Also, not calling setPropertyValue(OC_RSRVD_PLATFORM_ID) as platform ID
is automatically generated by OCStack.

Change-Id: Icf51cb27a408027a26eef51401b8b845cda7311d
Signed-off-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18153
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/IPCA/src/inc/ocfframework.h
resource/IPCA/src/ocfframework.cpp
resource/IPCA/unittests/mockOC.cpp