[IOT-3249] Add oic.wk.mnt to DCR list 28/29328/2 2.0.1-RC0
authorOleksandr Andrieiev <o.andrieiev@samsung.com>
Wed, 19 Dec 2018 02:15:52 +0000 (11:15 +0900)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Mon, 11 Mar 2019 17:43:04 +0000 (17:43 +0000)
Change-Id: I050e6d137782574c5be40f6cb28081738cafe6dd
Signed-off-by: Oleksandr Andrieiev <o.andrieiev@samsung.com>
(cherry picked from commit 17c9e750dd8966bd31aa4ca05f31538e28581f01)

resource/csdk/include/octypes.h
resource/csdk/security/src/srmutility.c

index fdbdc39..0cb1849 100644 (file)
@@ -65,6 +65,9 @@ extern "C" {
 /** Platform URI.*/
 #define OC_RSRVD_PLATFORM_URI                 "/oic/p"
 
+/** Maintenance URI.*/
+#define OC_RSRVD_MAINTENANCE_URI              "/oic/mnt"
+
 /** Resource Type.*/
 #define OC_RSRVD_RESOURCE_TYPES_URI           "/oic/res/types/d"
 
index 687b6e3..50fcc1c 100644 (file)
@@ -305,6 +305,7 @@ bool IsDeviceConfigurationResourceUri(const char *uri)
     const char *rsrcs[] = {
         OC_RSRVD_DEVICE_URI,
         OC_RSRVD_PLATFORM_URI,
+        OC_RSRVD_MAINTENANCE_URI,
         OC_RSRVD_WELL_KNOWN_URI,
         OC_RSRVD_CLOUDCONF_URI,
         OC_RSRVD_ES_URI_EASYSETUP,