DWR-512: adding wwan support for the dwr-512 3G modem
[openwrt/openwrt.git] / package / network / utils / comgt / files / ncm.json
index 8f74e17..bbdb30c 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}"
        }
 }