ncm.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "huawei": {
  3. "initialize": [
  4. "AT",
  5. "ATZ",
  6. "ATQ0",
  7. "ATV1",
  8. "ATE1",
  9. "ATS0=0"
  10. ],
  11. "modes": {
  12. "preferlte": "AT^SYSCFGEX=\\\"030201\\\",3fffffff,2,4,7fffffffffffffff,,",
  13. "preferumts": "AT^SYSCFGEX=\\\"0201\\\",3fffffff,2,4,7fffffffffffffff,,",
  14. "lte": "AT^SYSCFGEX=\\\"03\\\",3fffffff,2,4,7fffffffffffffff,,",
  15. "umts": "AT^SYSCFGEX=\\\"02\\\",3fffffff,2,4,7fffffffffffffff,,",
  16. "gsm": "AT^SYSCFGEX=\\\"01\\\",3fffffff,2,4,7fffffffffffffff,,",
  17. "auto": "AT^SYSCFGEX=\\\"00\\\",3fffffff,2,4,7fffffffffffffff,,"
  18. },
  19. "connect": "AT^NDISDUP=1,1,\\\"${apn}\\\"${username:+,\\\"$username\\\"}${password:+,\\\"$password\\\"}${auth:+,$auth}",
  20. "disconnect": "AT^NDISDUP=1,0"
  21. },
  22. "samsung": {
  23. "initialize": [
  24. "AT",
  25. "AT+CGREG=2",
  26. "AT+CFUN=5",
  27. "AT+MODESELECT=3",
  28. "AT+CGDCONT=1,\\\"IP\\\",\\\"${apn}\\\""
  29. ],
  30. "modes": {
  31. "umts": "AT+CHANGEALLPATH=1"
  32. },
  33. "connect": "AT+CGATT=1",
  34. "disconnect": "AT+CGATT=0"
  35. },
  36. "sony": {
  37. "initialize": [
  38. "AT+CFUN=1",
  39. "AT+CGDCONT=1,\\\"IP\\\",\\\"${apn}\\\"",
  40. "AT*EIAAUW=1,1,\\\"${username}\\\",\\\"${password}\\\",${auth:-00111}"
  41. ],
  42. "modes": {
  43. "umts": "AT+CFUN=6",
  44. "gsm": "AT+CFUN=5"
  45. },
  46. "connect": "AT*ENAP=1,1",
  47. "disconnect": "AT*ENAP=0"
  48. }
  49. }