[IOT-1919] Fix pstat's map size
authorDan Mihai <Daniel.Mihai@microsoft.com>
Wed, 15 Mar 2017 00:27:29 +0000 (17:27 -0700)
committerKevin Kane <kkane@microsoft.com>
Thu, 16 Mar 2017 16:10:46 +0000 (16:10 +0000)
Recent change d10c4a88ae458d3d067d74edf8287b08cee14857 removed
the writeable deviceuuid (a.k.a. OIC_JSON_DEVICE_ID_NAME) property.

Change-Id: Iee4ca533c29a77461603a97fadc7ad2207a40411
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17925
Reviewed-by: Kevin Kane <kkane@microsoft.com>
resource/csdk/security/src/pstatresource.c

index 267cd14..204d3e5 100644 (file)
@@ -46,7 +46,7 @@ static const uint16_t CBOR_MAX_SIZE = 4400;
 static const uint8_t PSTAT_MAP_SIZE = 6;
 
 // Number of writeable property
-static const uint8_t WRITEABLE_PROPERTY_SIZE = 3;
+static const uint8_t WRITEABLE_PROPERTY_SIZE = 2;
 
 static OicSecDpom_t gSm = SINGLE_SERVICE_CLIENT_DRIVEN;
 static OicSecPstat_t gDefaultPstat =