Auto generate platform ID.
authorSoemin Tjong <stjong@microsoft.com>
Wed, 22 Mar 2017 22:57:10 +0000 (15:57 -0700)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Tue, 28 Mar 2017 18:58:01 +0000 (18:58 +0000)
commit80fa966092ecbaa00f8c25bd8fa951008bf68dc3
tree13afe947c6e710986b0919b98d965d3de4de7448
parentd4c2e1c4356fd906697e43125d5e9814cf8b54cf
Auto generate platform ID.

This allows all apps running on a platform (e.g. an installation of OS)
to register with the same platform ID in the platform info.

Applications can override this value by using the regular
OCSetPropertyValue(OC_RSRVD_PLATFORM_ID).

Change-Id: I638ab08a5e0a6319524052b95ac649f167e52a90
Signed-off-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18103
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
build_common/android/SConscript
resource/c_common/SConscript
resource/c_common/oic_platform/include/oic_platform.h [new file with mode: 0644]
resource/c_common/oic_platform/src/oic_platform.c [new file with mode: 0644]
resource/csdk/connectivity/src/SConscript
resource/csdk/stack/SConscript
resource/csdk/stack/include/ocstack.h
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/test/SConscript
resource/unittests/SConscript