char accessToken[OIC_STRING_MAX_VALUE]; /**< Access token resolved with an auth code **/
OAUTH_TOKENTYPE accessTokenType; /**< Access token type **/
char authProvider[OIC_STRING_MAX_VALUE]; /**< Auth provider ID **/
- char ciServer[OIC_STRING_MAX_VALUE]; /**< Cloud interface server URL which an Enrollee is going to registered **/
+ char ciServer[OIC_URI_STRING_MAX_VALUE]; /**< Cloud interface server URL which an Enrollee is going to registered **/
void *userdata; /**< Vender-specific data**/
} ESCoapCloudConfData;
memset(cloudData->accessToken, 0, OIC_STRING_MAX_VALUE);
g_ESCoapCloudConfResource.accessTokenType = NONE_OAUTH_TOKENTYPE;
memset(cloudData->authProvider, 0, OIC_STRING_MAX_VALUE);
- memset(cloudData->ciServer, 0, OIC_STRING_MAX_VALUE);
+ memset(cloudData->ciServer, 0, OIC_URI_STRING_MAX_VALUE);
cloudData->userdata = NULL;
char *authCode = NULL;
char accessToken[OIC_STRING_MAX_VALUE];
OAUTH_TOKENTYPE accessTokenType;
char authProvider[OIC_STRING_MAX_VALUE];
- char ciServer[OIC_STRING_MAX_VALUE];
+ char ciServer[OIC_URI_STRING_MAX_VALUE];
} CoapCloudConfResource;
typedef struct
#define OC_RSRVD_ES_INTERFACE "if"
#define OC_RSRVD_ES_RES_TYPE "rt"
-
-
-#define OIC_STRING_MAX_VALUE 64
-#define MAX_WEBLINKLEN 3
-#define NUM_WIFIMODE 10
-#define NUM_CONNECT_TYPE 3
+#define OIC_STRING_MAX_VALUE 64
+#define OIC_URI_STRING_MAX_VALUE 256
+#define MAX_WEBLINKLEN 3
+#define NUM_WIFIMODE 10
+#define NUM_CONNECT_TYPE 3
/**
* Attributes used to form a proper easysetup conforming JSON message.