DWR-512: adding wwan support for the dwr-512 3G modem
[openwrt/openwrt.git] / package / network / utils / comgt / files / ncm.json
index 8f74e173d14edc9cfb9a01972ec6b89e6145fb74..bbdb30c5eeb4d092eecd081a6d815b259a05ac0f 100644 (file)
                },
                "connect": "AT*ENAP=1,${profile}",
                "disconnect": "AT*ENAP=0"
+       },
+       "mtk1": {
+               "initialize": [
+                       "AT+CFUN=1"
+               ],
+               "configure": [
+                       "AT+CGDCONT=${profile},\\\"${pdptype}\\\",\\\"${apn}\\\",0,0"
+               ],
+               "connect": "AT+CGACT=1,${profile}",
+               "finalize": "AT+CGDATA=\\\"M-MBIM\\\",${profile},1",
+               "disconnect": "AT+CGACT=0,${profile}"
        }
 }