|
|
@@ -9,10 +9,31 @@
|
|
|
#ifndef kneet2_Definitions_h
|
|
|
#define kneet2_Definitions_h
|
|
|
|
|
|
+
|
|
|
+/*
|
|
|
+ // kneet 3.0 운영
|
|
|
+ final static int KEY_URL_KNEET_V3 = 1;
|
|
|
+ final static String URL_KNEET_V3 = "http://52.163.90.87:5017";
|
|
|
+ final static String SMART_URL_KNEET_V3 = "http://52.163.90.87:5017";
|
|
|
+ final static String SERVICE_ID_KNEET_V3 = "30001";
|
|
|
+ final static String PROJECT_ID_KNEET_V3 = "439012691127";
|
|
|
+ final static String APP_START_ID_KNEET_V3 = "ntels_kneet_v3";
|
|
|
+ final static String URL_SERVICE_HUB_WEBSOCKET_V3 = "ws://13.76.96.27:8081";
|
|
|
+ final static String URL_SERVICE_HUB_REST_V3 = "http://13.76.96.27:8080";
|
|
|
+ final static String URL_CLOUD_GATEWAY_V3 = "http://13.76.96.27:7070";
|
|
|
+ final static String VSAAS_SIP_URL_KNEET_V3 = "sip:23.98.73.196:6061;lr";
|
|
|
+ final static String VSAAS_TURN_URL_KEET_V3 = "23.98.73.196";
|
|
|
+ final static int VSAAS_TURN_PORT_KNEET_V3 = 3478;
|
|
|
+ final static String VSAAS_SIP_DOMAIN_KNEET_V3 = "vsaas.com";
|
|
|
+ final static String VSAAS_SIP_PASSWORD_KNEET_V3 = "qwer!@#$%1";
|
|
|
+
|
|
|
+
|
|
|
+ */
|
|
|
+
|
|
|
#ifndef PRODUCT_MODE
|
|
|
|
|
|
//static NSString *kAPIServer = @"http://61.40.220.132:5007"; //개발
|
|
|
-static NSString *kAPIServer = @"https://www.iotbusan.com"; //운영
|
|
|
+static NSString *kAPIServer = @"http://52.163.90.87:5017"; //운영
|
|
|
|
|
|
// #define API_SERVER @"http://61.40.220.132:5008" //개발서버 old
|
|
|
// #define API_SERVER @"http://61.40.220.132:5009" //개발서버 - 0.6
|
|
|
@@ -28,7 +49,7 @@ static NSString *kSocketServer = @"ws://13.76.96.27:8081"; //운영
|
|
|
|
|
|
#else //운영모드
|
|
|
|
|
|
-static NSString *kAPIServer = @"https://www.iotbusan.com"; //운영
|
|
|
+static NSString *kAPIServer = @"http://52.163.90.87:5017"; //운영
|
|
|
|
|
|
//static NSString *kAPIServer = @"https://home-api.allofthings.com";
|
|
|
//static NSString *kNISCServer = @"https://home-api.allofthings.com:5003";
|
|
|
@@ -49,10 +70,10 @@ static NSString *kSocketServer = @"ws://13.76.96.27:8081"; //운영
|
|
|
|
|
|
|
|
|
//Network Constants
|
|
|
-#define API_ROOT_PATH @"/v2"
|
|
|
+#define API_ROOT_PATH @"/v3"
|
|
|
|
|
|
//1 - 공통
|
|
|
-#define API_GET_APP_VERSION @"/app_version"
|
|
|
+#define API_GET_APP_VERSION @"/mobile_app/version"
|
|
|
//#define API_GET_CODE_LIST @"/getCodeList"
|
|
|
|
|
|
#define API_GET_MOBILE @"/mobile_device/%@"
|
|
|
@@ -65,7 +86,8 @@ static NSString *kSocketServer = @"ws://13.76.96.27:8081"; //운영
|
|
|
#define API_POST_SIGN_OUT @"/member/logout" //로그아웃
|
|
|
|
|
|
#define API_POST_SIGN_UP @"/member" //회원가입
|
|
|
-#define API_POST_MEMBER_UPDATE @"/member/%@/%@" //회원정보 수정
|
|
|
+//#define API_POST_MEMBER_UPDATE @"/member/%@/%@" //회원정보 수정
|
|
|
+#define API_POST_MEMBER_UPDATE @"/member/%@" //회원정보 수정
|
|
|
#define API_POST_AUTH_MAIL @"/member/auth_mail" //이메일 인증 재발송
|
|
|
#define API_POST_RESET_PWD @"/member/password" //비밀번호 재설정
|
|
|
#define API_GET_MOBILE_DEVICES @"/member/devices" //단말 목록
|
|
|
@@ -211,7 +233,7 @@ typedef NS_ENUM(NSInteger, KNMenuId) {
|
|
|
#define HOME_MODE_MORNING @"MORNING"
|
|
|
#define HOME_MODE_NIGHT @"NIGHT"
|
|
|
|
|
|
-#define MOBILE_SERVICE_ID @"20003" //for 스마트시티
|
|
|
+#define MOBILE_SERVICE_ID @"30001" //for OneCable
|
|
|
#define MOBILE_DEVICE_TYPE @"MI" //디바이스 타입
|
|
|
|
|
|
#define APPSTORE_TYPE @"A"
|