ncm.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "huawei": {
  3. "initialize": [
  4. "AT",
  5. "ATZ",
  6. "ATQ0",
  7. "ATV1",
  8. "ATE1",
  9. "ATS0=0",
  10. "AT+CGDCONT=1,\\\"${pdptype}\\\",\\\"${apn}\\\""
  11. ],
  12. "modes": {
  13. "preferlte": "AT^SYSCFGEX=\\\"030201\\\",3fffffff,2,4,7fffffffffffffff,,",
  14. "preferumts": "AT^SYSCFGEX=\\\"0201\\\",3fffffff,2,4,7fffffffffffffff,,",
  15. "lte": "AT^SYSCFGEX=\\\"03\\\",3fffffff,2,4,7fffffffffffffff,,",
  16. "umts": "AT^SYSCFGEX=\\\"02\\\",3fffffff,2,4,7fffffffffffffff,,",
  17. "gsm": "AT^SYSCFGEX=\\\"01\\\",3fffffff,2,4,7fffffffffffffff,,",
  18. "auto": "AT^SYSCFGEX=\\\"00\\\",3fffffff,2,4,7fffffffffffffff,,"
  19. },
  20. "connect": "AT^NDISDUP=1,1,\\\"${apn}\\\"${username:+,\\\"$username\\\"}${password:+,\\\"$password\\\"}${auth:+,$auth}",
  21. "disconnect": "AT^NDISDUP=1,0"
  22. },
  23. "samsung": {
  24. "initialize": [
  25. "AT",
  26. "AT+CGREG=2",
  27. "AT+CFUN=5",
  28. "AT+MODESELECT=3",
  29. "AT+CGDCONT=1,\\\"${pdptype}\\\",\\\"${apn}\\\""
  30. ],
  31. "modes": {
  32. "umts": "AT+CHANGEALLPATH=1"
  33. },
  34. "connect": "AT+CGATT=1",
  35. "disconnect": "AT+CGATT=0"
  36. },
  37. "sierra wireless, incorporated": {
  38. "initialize": [
  39. "AT+CFUN=1",
  40. "AT+CGDCONT=1,\\\"${pdptype}\\\",\\\"${apn}\\\"",
  41. "AT$QCPDPP=1${auth:+,$auth}${password:+,\\\"$password\\\"}${username:+,\\\"$username\\\"}"
  42. ],
  43. "modes": {
  44. "preferlte": "AT!SELRAT=07",
  45. "preferumts": "AT!SELRAT=05",
  46. "lte": "AT!SELRAT=06",
  47. "umts": "AT!SELRAT=01",
  48. "gsm": "AT!SELRAT=02",
  49. "auto": "AT!SELRAT=00"
  50. },
  51. "connect": "AT!SCACT=1,1",
  52. "disconnect": "AT!SCACT=0,1"
  53. },
  54. "sony ericsson": {
  55. "initialize": [
  56. "AT+CFUN=1",
  57. "AT+CGDCONT=1,\\\"${pdptype}\\\",\\\"${apn}\\\"",
  58. "AT*EIAAUW=1,1,\\\"${username}\\\",\\\"${password}\\\",${auth:-00111}"
  59. ],
  60. "modes": {
  61. "umts": "AT+CFUN=6",
  62. "gsm": "AT+CFUN=5"
  63. },
  64. "connect": "AT*ENAP=1,1",
  65. "disconnect": "AT*ENAP=0"
  66. }
  67. }