Add API support to get and set device spec version and data model version.
[platform/upstream/iotivity.git] / resource / csdk / stack / include / octypes.h
index 2dd6224..7b706c2 100644 (file)
@@ -947,6 +947,10 @@ typedef struct
     char *deviceName;
     /** Pointer to the types.*/
     OCStringLL *types;
+    /** Pointer to the device specification version.*/
+    char *specVersion;
+    /** Pointer to the device data model version.*/
+    char *dataModleVersion;
 } OCDeviceInfo;
 
 #ifdef RA_ADAPTER