2 * ***************************************************************
4 * Copyright 2016 Samsung Electronics All Rights Reserved.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
18 * ****************************************************************
21 package org.iotivity.service.easysetup.mediator;
23 public class ESConstants {
25 public static final String OC_RSRVD_REPRESENTATION = "rep";
27 public static final String OC_RSRVD_ES_PROVSTATUS = "ps";
28 public static final String OC_RSRVD_ES_LAST_ERRORCODE = "lec";
29 public static final String OC_RSRVD_ES_LINKS = "links";
30 public static final String OC_RSRVD_ES_SUPPORTEDWIFIMODE = "swmt";
31 public static final String OC_RSRVD_ES_SUPPORTEDWIFIFREQ = "swf";
32 public static final String OC_RSRVD_ES_SSID = "tnn";
33 public static final String OC_RSRVD_ES_CRED = "cd";
34 public static final String OC_RSRVD_ES_AUTHTYPE = "wat";
35 public static final String OC_RSRVD_ES_ENCTYPE = "wet";
36 public static final String OC_RSRVD_ES_AUTHCODE = "ac";
37 public static final String OC_RSRVD_ES_AUTHPROVIDER = "apn";
38 public static final String OC_RSRVD_ES_CISERVER = "cis";
39 public static final String OC_RSRVD_ES_SERVERID = "sid";
40 public static final String OC_RSRVD_ES_DEVNAME = "dn";
41 public static final String OC_RSRVD_ES_LANGUAGE = "lang";
42 public static final String OC_RSRVD_ES_COUNTRY = "ctry";
43 public static final String OC_RSRVD_ES_MODELNUMBER = "mnmo";
44 public static final String OC_RSRVD_ES_LOCATION = "loc";
47 * Easysetup defined resoruce types and uris
49 public static final String OC_RSRVD_ES_RES_TYPE_PROV = "oic.wk.prov";
50 public static final String OC_RSRVD_ES_URI_PROV = "/ProvisioningResURI";
51 public static final String OC_RSRVD_ES_RES_TYPE_WIFI = "oic.wk.wifi";
52 public static final String OC_RSRVD_ES_URI_WIFI = "/WiFiProvisioningResURI";
53 public static final String OC_RSRVD_ES_RES_TYPE_CLOUDSERVER = "oic.wk.cloudserver";
54 public static final String OC_RSRVD_ES_URI_CLOUDSERVER = "/CloudServerProvisioningResURI";
55 public static final String OC_RSRVD_ES_RES_TYPE_DEVCONF = "oic.wk.devconf";
56 public static final String OC_RSRVD_ES_URI_DEVCONF = "/DevConfProvisioningResURI";