[TBT][PBAP,Push][NonACR][Added support for 5.x in push and added feature support... 51/144951/1
authornibha.sharma <nibha.sharma@samsung.com>
Fri, 18 Aug 2017 12:04:40 +0000 (17:34 +0530)
committernibha.sharma <nibha.sharma@samsung.com>
Fri, 18 Aug 2017 12:04:40 +0000 (17:34 +0530)
Change-Id: I194862582367ff0a26945b553cba88c391e2789d
Signed-off-by: nibha.sharma <nibha.sharma@samsung.com>
release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk [changed mode: 0644->0755]
release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk [changed mode: 0644->0755]
tbtcoreapp/src/model/tbt-list.c
tbtcoreapp/src/view/tbt-push-view.c

old mode 100644 (file)
new mode 100755 (executable)
index c11d3a9..a3366dc
Binary files a/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk and b/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk differ
old mode 100644 (file)
new mode 100755 (executable)
index 1d4128b..ff589a2
Binary files a/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk and b/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk differ
index aba0f60c2db21cfc774bcaba99bdb001942703a5..e540463b4db61b5cde4f09e1da0d22e0f3e69fb1 100644 (file)
@@ -537,7 +537,7 @@ static tbt_info tbtapps[] =
                        .info = "Get All Phonebook vcards from PBAP Server",
                        .result = 0,
                        .required_features_count = 1,
-                       .features_required = {FEATURE_NETWORK_BLUETOOTH}
+                       .features_required = {FEATURE_NETWORK_BLUETOOTH,FEATURE_NETWORK_BLUETOOTH_PHONEBOOK_CLIENT}
 
                },
        #endif
index 7b78f73e2bd818b9068f547f6009ce6fb212714f..d648372ce8025d86b45a9dc9d7497e1268300d7c 100644 (file)
@@ -622,7 +622,25 @@ static char* push_service_get_server_address(char* reg_id)
        } else if (strncmp(reg_id, "06", 2) == 0) {
                server_address =
                                "https://apchina.push.samsungosp.com.cn:8090/spp/pns/api/push";
-       } else {
+       } else if (strncmp(reg_id, "50", 2) == 0) {
+               server_address =
+                               "https://useast.gateway.push.samsungosp.com:8090/spp/pns/api/push";
+       }else if (strncmp(reg_id, "52", 2) == 0) {
+               server_address =
+                               "https://apsoutheast.gateway.push.samsungosp.com:8090/spp/pns/api/push";
+       }else if (strncmp(reg_id, "53", 2) == 0) {
+               server_address =
+                               "https://euwest.gateway.push.samsungosp.com:8090/spp/pns/api/push";
+       }else if (strncmp(reg_id, "54", 2) == 0) {
+               server_address =
+                               "https://apnortheast.gateway.push.samsungosp.com:8090/spp/pns/api/push";
+       }else if (strncmp(reg_id, "55", 2) == 0) {
+               server_address =
+                               "https://apkorea.gateway.push.samsungosp.com:8090/spp/pns/api/push";
+       }else if (strncmp(reg_id, "56", 2) == 0) {
+               server_address =
+                               "https://apchina.gateway.push.samsungosp.com.cn:8090/spp/pns/api/push";
+       }else {
                DBG("REG_ID has a wrong prefix");
        }
        return server_address;