Add a bunch of APNs

Fork of C027_Support by Xinlei Cao

Revision:
127:73d7bfcc1e3d
Parent:
126:b43dbe49091c
Child:
128:0c2bef7cca88
--- a/MDMAPN.h	Wed May 13 15:28:24 2015 +0000
+++ b/MDMAPN.h	Mon Jun 01 12:56:07 2015 +0000
@@ -47,75 +47,75 @@
 // MCC must be separated by '-' from MNC, multiple MNC can be separated by ','
 
 // 232 Austria - AUT
-    { /* T-Mobile */ "232-03",  _APN("m2m.business",,) },
+    { /* T-Mobile */ "232-03",    _APN("m2m.business",,) },
 
 // 460 China - CN
-    { /* CN Mobile */"460-00",  _APN("cmnet",,)
-                                _APN("cmwap",,) },
-    { /* Unicom */   "460-01",  _APN("3gnet",,)
-                                _APN("uninet","uninet","uninet") },
+    { /* CN Mobile */"460-00",    _APN("cmnet",,)
+                                  _APN("cmwap",,) },
+    { /* Unicom */   "460-01",    _APN("3gnet",,)
+                                  _APN("uninet","uninet","uninet") },
                                 
 // 262 Germany - DE
 //    { /* T-Mobile */ "262-01",  _APN("internet.t-mobile","t-mobile","tm") },
     { /* T-Mobile */ "262-02,06", _APN("m2m.business",,) },
-    { /* T-Mobile */ "262-01", _APN("internet.m2mportal.de", "m2m", "sim")  },
+    { /* T-Mobile */ "262-01",    _APN("internet.m2mportal.de", "m2m", "sim")  },
 
 // 222 Italy - IT
-    { /* TIM */      "222-01",  _APN("ibox.tim.it",,) },
-    { /* Vodafone */ "222-10",  _APN("web.omnitel.it",,) },
-    { /* Wind */     "222-88",  _APN("internet.wind.biz",,) },
+    { /* TIM */      "222-01",    _APN("ibox.tim.it",,) },
+    { /* Vodafone */ "222-10",    _APN("web.omnitel.it",,) },
+    { /* Wind */     "222-88",    _APN("internet.wind.biz",,) },
 
 // 440 Japan - JP
     { /* Softbank */ "440-04,06,20,40,41,42,43,44,45,46,47,48,90,91,92,93,94,95"
                          ",96,97,98"
-                                _APN("open.softbank.ne.jp","opensoftbank","ebMNuX1FIHg9d3DA")
-                                _APN("smile.world","dna1trop","so2t3k3m2a") },
+                                  _APN("open.softbank.ne.jp","opensoftbank","ebMNuX1FIHg9d3DA")
+                                  _APN("smile.world","dna1trop","so2t3k3m2a") },
     { /* NTTDoCoMo */"440-09,10,11,12,13,14,15,16,17,18,19,21,22,23,24,25,26,27,"
                          "28,29,30,31,32,33,34,35,36,37,38,39,58,59,60,61,62,63,"
                          "64,65,66,67,68,69,87,99",
-                                _APN("bmobilewap",,) /*BMobile*/
-                                _APN("mpr2.bizho.net","Mopera U",) /* DoCoMo */
-                                _APN("bmobile.ne.jp","bmobile@wifi2","bmobile") /*BMobile*/ },
+                                  _APN("bmobilewap",,) /*BMobile*/
+                                  _APN("mpr2.bizho.net","Mopera U",) /* DoCoMo */
+                                  _APN("bmobile.ne.jp","bmobile@wifi2","bmobile") /*BMobile*/ },
 
 // 204 Netherlands - NL
-    { /* Vodafone */ "204-04",  _APN("public4.m2minternet.com",,) },
+    { /* Vodafone */ "204-04",    _APN("public4.m2minternet.com",,) },
 
 // 293 Slovenia - SI
-    { /* Si.mobil */ "293-40",  _APN("internet.simobil.si",,) },
-    { /* Tusmobil */ "293-70",  _APN("internet.tusmobil.si",,) },
+    { /* Si.mobil */ "293-40",    _APN("internet.simobil.si",,) },
+    { /* Tusmobil */ "293-70",    _APN("internet.tusmobil.si",,) },
 
-// 240 Sweden SE 
-    { /* Telia */    "240-01",  _APN("online.telia.se",,) },
-    { /* Telenor */  "240-06,08",
-                                _APN("services.telenor.se",,) },              
-    { /* Tele2 */    "240-07",  _APN("mobileinternet.tele2.se",,) },
-    
+// 240 Sweden SE
+    { /* Telia */    "240-01",    _APN("online.telia.se",,) },
+    { /* Telenor */  "240-06,08", _APN("services.telenor.se",,) },
+    { /* Tele2 */    "240-07",    _APN("m2m.tele2.com",,)
+                                  _APN("mobileinternet.tele2.se",,) },
+
 // 228 Switzerland - CH
-    { /* Swisscom */ "228-01",  _APN("gprs.swisscom.ch",,) },
-    { /* Orange */   "228-03",  _APN("internet",,) /* contract */
-                                _APN("click",,)    /* pre-pay */ },
+    { /* Swisscom */ "228-01",    _APN("gprs.swisscom.ch",,) },
+    { /* Orange */   "228-03",    _APN("internet",,) /* contract */
+                                  _APN("click",,)    /* pre-pay */ },
 
 // 234 United Kingdom - GB
     { /* O2 */       "234-02,10,11",
-                                _APN("mobile.o2.co.uk","faster","web") /* contract */
-                                _APN("mobile.o2.co.uk","bypass","web") /* pre-pay */
-                                _APN("payandgo.o2.co.uk","payandgo","payandgo") },
-    { /* Vodafone */ "234-15",  _APN("internet","web","web")          /* contract */
-                                _APN("pp.vodafone.co.uk","wap","wap")  /* pre-pay */ },
-    { /* Three */    "234-20",  _APN("three.co.uk",,) },
-    { /* EE */       "234-33",  _APN("m2mdata",,) },
+                                  _APN("mobile.o2.co.uk","faster","web") /* contract */
+                                  _APN("mobile.o2.co.uk","bypass","web") /* pre-pay */
+                                  _APN("payandgo.o2.co.uk","payandgo","payandgo") },
+    { /* Vodafone */ "234-15",    _APN("internet","web","web")          /* contract */
+                                  _APN("pp.vodafone.co.uk","wap","wap")  /* pre-pay */ },
+    { /* Three */    "234-20",    _APN("three.co.uk",,) },
+    { /* EE */       "234-33",    _APN("m2mdata",,) },
 
 // 310 United States of America - US
     { /* T-Mobile */ "310-026,260,490",
-                                _APN("epc.tmobile.com",,)
-                                _APN("fast.tmobile.com",,) /* LTE */ },
+                                  _APN("epc.tmobile.com",,)
+                                  _APN("fast.tmobile.com",,) /* LTE */ },
     { /* AT&T */     "310-030,150,170,260,410,560,680",
-                                _APN("phone",,)
-                                _APN("wap.cingular","WAP@CINGULARGPRS.COM","CINGULAR1")
-                                _APN("isp.cingular","ISP@CINGULARGPRS.COM","CINGULAR1") },
+                                  _APN("phone",,)
+                                  _APN("wap.cingular","WAP@CINGULARGPRS.COM","CINGULAR1")
+                                  _APN("isp.cingular","ISP@CINGULARGPRS.COM","CINGULAR1") },
 
 // 901 International - INT
-    { /* Transatel */ "901-37", _APN("netgprs.com","tsl","tsl") },
+    { /* Transatel */ "901-37",   _APN("netgprs.com","tsl","tsl") },
 };
 
 inline const char* apnconfig(const char* imsi)