diff options
author | John Crispin <john@openwrt.org> | 2014-10-10 08:56:33 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-10-10 08:56:33 +0000 |
commit | 51a5ff094703c4db984284913d605e83e819d99c (patch) | |
tree | 7e5206fa9f0cb29d8c80b2190e8be7d682afdfff /package/network/utils/comgt/files/ncm.json | |
parent | d83efbadee946ced7f1bad1ea4d7fd8b9d372d10 (diff) | |
download | mtk-20170518-51a5ff094703c4db984284913d605e83e819d99c.zip mtk-20170518-51a5ff094703c4db984284913d605e83e819d99c.tar.gz mtk-20170518-51a5ff094703c4db984284913d605e83e819d99c.tar.bz2 |
comgt: add ncm proto support
This will not work for all board/dongle combinations until we hit 3.17.
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 42866
Diffstat (limited to 'package/network/utils/comgt/files/ncm.json')
-rw-r--r-- | package/network/utils/comgt/files/ncm.json | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/package/network/utils/comgt/files/ncm.json b/package/network/utils/comgt/files/ncm.json new file mode 100644 index 0000000..b9b15cd --- /dev/null +++ b/package/network/utils/comgt/files/ncm.json @@ -0,0 +1,49 @@ +{ + "huawei": { + "initialize": [ + "AT", + "ATZ", + "ATQ0", + "ATV1", + "ATE1", + "ATS0=0" + ], + "modes": { + "preferlte": "AT^SYSCFGEX=\\\"030201\\\",3fffffff,2,4,7fffffffffffffff,,", + "preferumts": "AT^SYSCFGEX=\\\"0201\\\",3fffffff,2,4,7fffffffffffffff,,", + "lte": "AT^SYSCFGEX=\\\"03\\\",3fffffff,2,4,7fffffffffffffff,,", + "umts": "AT^SYSCFGEX=\\\"02\\\",3fffffff,2,4,7fffffffffffffff,,", + "gsm": "AT^SYSCFGEX=\\\"01\\\",3fffffff,2,4,7fffffffffffffff,,", + "auto": "AT^SYSCFGEX=\\\"00\\\",3fffffff,2,4,7fffffffffffffff,," + }, + "connect": "AT^NDISDUP=1,1,\\\"${apn}\\\"${username:+,\\\"$username\\\"}${password:+,\\\"$password\\\"}${auth:+,$auth}", + "disconnect": "AT^NDISDUP=1,0" + }, + "SAMSUNG": { + "initialize": [ + "AT", + "AT+CGREG=2", + "AT+CFUN=5", + "AT+MODESELECT=3", + "AT+CGDCONT=1,\\\"IP\\\",\\\"${apn}\\\"" + ], + "modes": { + "umts": "AT+CHANGEALLPATH=1" + }, + "connect": "AT+CGATT=1", + "disconnect": "AT+CGATT=0" + }, + "Sony": { + "initialize": [ + "AT+CFUN=1", + "AT+CGDCONT=1,\\\"IP\\\",\\\"${apn}\\\"", + "AT*EIAAUW=1,1,\\\"${username}\\\",\\\"${password}\\\",${auth:-00111}" + ], + "modes": { + "umts": "AT+CFUN=6", + "gsm": "AT+CFUN=5" + }, + "connect": "AT*ENAP=1,1", + "disconnect": "AT*ENAP=0" + } +} |