Changing the length of access token
[platform/upstream/iotivity.git] / service / easy-setup / inc / escommon.h
old mode 100755 (executable)
new mode 100644 (file)
index e46664b..d2e16f6
@@ -36,10 +36,11 @@ extern "C"
 
 
 
-#define OIC_STRING_MAX_VALUE    256
-#define MAX_WEBLINKLEN          3
-#define NUM_WIFIMODE            10
-#define NUM_CONNECT_TYPE        3
+#define OIC_STRING_MAX_VALUE                  256
+#define OIC_STRING_ACCESS_TOKEN_MAX_VALUE     1024
+#define MAX_WEBLINKLEN                        3
+#define NUM_WIFIMODE                          10
+#define NUM_CONNECT_TYPE                      3
 
 /**
  * Attributes used to form a proper easysetup conforming JSON message.
@@ -109,7 +110,8 @@ typedef enum
     NONE_AUTH = 0,      /**< NO authentication **/
     WEP,                /**< WEP **/
     WPA_PSK,            /**< WPA-PSK **/
-    WPA2_PSK            /**< WPA2-PSK **/
+    WPA2_PSK,           /**< WPA2-PSK **/
+    FT_PSK              /**< FT-PSK **/
 } WIFI_AUTHTYPE;
 
 /**
@@ -339,6 +341,11 @@ typedef enum
     ES_STATE_FAILED_TO_PUBLISH_RESOURCES_TO_CLOUD,
 
     /**
+     * Status indicating aborted provisioning by enrollee
+     */
+    ES_STATE_ABORTED_PROVISIONING_BY_ENROLLEE,
+
+    /**
      * End of Easy setup status
      */
     ES_STATE_EOF = 255