1. 程式人生 > >中興4g模組me3760撥號

中興4g模組me3760撥號

撥號指令碼列印的資訊


AT> AT+ZEACT=2//LTE 接入技術 LTE-TDD Pref

AT< +CREG: 2

AT< +CGREG: 2

AT< +CEREG: 2

AT< +ZMSRI

AT< OK

AT> AT+ZNCARD=1//1:切換為 Linux/Android系統下的埠組合(ECM)

AT< +ZPBIC: 1,0

AT< +CGEV: ME PDN ACT1

AT< +CREG: 1

AT< ^MODE: 17,9

AT< +CREG: 1

AT< +CEREG: 1

AT< OK

AT> AT+

CPIN?//PIN 碼輸入

AT< +CPIN: READY

AT> AT+COPS?//運營商選擇

AT< OK

AT< +ZPBIC: 1,1

AT< +COPS:0,0,"CHINA MOBILE",7,0

AT> AT+CGDCONT=1,"IP","FSTZCL.GD"//PDP 設定環境

AT< OK

AT> AT+CGDCONT?

AT< +CME ERROR: 3

AT< +CGDCONT:1,"IP","FSTZCL.GD","0.0.0.0",0,0,0,0,0,0

AT> AT^SYSCONFIG=2,6,1,3//系統配置參考設定命令  自動選擇  先LTE後TD然後GSM  可以漫遊  ANY

AT< OK

AT> AT+CFUN=1//操作模式設定 完全功能

AT< OK

AT> AT+CGATT=1//PS 附著/去附著

AT< OK

AT> AT+CGATT=1

AT< OK

AT> AT^SYSINFO//系統資訊獲取命令

AT< OK

AT< ^MODE: 3,3

AT< +CREG: 2

AT< ^MODE: 0

AT< +CEREG: 2

AT< ^SYSINFO:0,3,0,0,1

==>waiting modemregister .... err_count= 0

==>opening port/dev/ttyUSB0

AT> AT+ZEACT=2//LTE 接入技術 LTE-TDD Pref

AT< OK

AT> AT+ZNCARD=1//USB 埠組合切換命令 切換為 Linux/Android系統下的埠組合(ECM)

AT< +CREG: 1

AT< ^MODE: 17,9

AT< +CREG: 1

AT< +CEREG: 1

AT< OK

AT> AT+CPIN?

AT< OK

AT< +CPIN: READY

AT> AT+COPS?

AT< OK

AT< +COPS:0,0,"CHINA MOBILE",7,0

AT> AT+CGDCONT=1,"IP","FSTZCL.GD"//<cid>: 1-4, PDP設定環境的索引值  PDP Packet Data Protocol分組資料協議

AT< OK

AT> AT+CGDCONT?

AT< +CME ERROR: 3

AT< +CGDCONT:1,"IP","FSTZCL.GD","0.0.0.0",0,0,0,0,0,0

AT> AT^SYSCONFIG=2,6,1,3

AT< OK

AT> AT+CFUN=1

AT< OK

AT> AT+CGATT=1//PS 附著/去附著

AT< OK

AT> AT+CGATT=1//PS 附著/去附著

AT< ^MODE: 3,3

AT< +CREG: 1

AT< OK

AT> AT^SYSINFO

AT< OK

AT< ^SYSINFO:2,3,0,3,1,,3

==>modem registersuccessful!

AT> AT+CGATT=1//PS 附著/去附著 啟動附著過程 若 MT 沒與 PS 附著,則 MT 首先執行 PS附著

AT< OK

AT> AT+CGACT=1,1//啟用  一個指定特定 PDP 上下文

AT< OK

AT> AT+ZGACT=1,1//撥號 RNDIS 連線控制 連線 一個指定特定 PDP 上下文的數字引數

AT< OK

==>modem dialsuccessful!

AT> AT

AT< +ZGIPDNS:1,1,"IP","10.11.32.194","0.0.0.0","0.0.0.0","0.0.0.0"

udhcpc (v1.16.0) started

Setting IP address0.0.0.0 on eth1

Sending discover...

Sending select for10.11.32.194...

Lease of 10.11.32.194obtained, lease time 7200

Setting IP address10.11.32.194 on eth1

Deleting routers

route: SIOCDELRT: No suchprocess

Adding router10.11.32.195

Recreating/etc/resolv.conf