} 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;