中兴4g模块me3620拨号

1.参考文档




2.拨号流程

3.9 AT Command

The followingAT command is mainly concerned in this section:

+CGDCONT: Setsthe related PDP parameters, including PDP type, APN and PDP address.

+ZPAS: Readwhether the CS/PS service domains available

+CREG: Verifyif the module is registered on a CS Domain

+CEREG: Returnthe EPS network registration status

+COPS: Querythe mobile for Network Operators Identifications Codes and Names

+CSQ: SignalQuality

+ZECMCALL:Make ECM data call

Refer to thedocument of AT Command reference guide for ZTEWelink LTE Module.pdf for moredetails.


中兴4g模块me3620拨号_第1张图片


3.拨号脚本打印的信息

==>s_device_path =/dev/ttyUSB0

==>s_net_device_path =eht1

==>~~~~~~~~~~~~~kill  udhcpc~~~~~~~~~~~~

==>ERR:fd = open/dev/ttyUSB0

==>AT  not ready err_count= 0

==>open/dev/ttyUSB1  OK

AT> ATE0

ERROR:000000000000000000000000000

AT< ATE0

AT< OK

AT> AT+CGMM //Requestmodel identification

AT< ME3620

AT< OK

ucRecbuf< ME3620ME3620

==>This is me3620

AT> AT+ZSWITCH=L //Switch the ports toLinux/Android

AT< OK

AT> AT+ZSWITCH?

AT< +ZSWITCH: L

AT< OK

AT> AT+CPIN?

AT< +CPIN: READY

AT< OK

AT> AT+CFUN=1

AT< OK

AT> AT+CSQ

AT< +CSQ: 99,99

no signal 99,99

AT< OK

AT> AT+CSQ

AT< +CSQ: 99,99

no signal 99,99

AT< OK

AT> AT+CSQ

AT< +CSQ: 99,99

no signal 99,99

AT< OK

AT> AT+CSQ

AT< +CSQ: 31,99

AT< OK

AT> AT+CSCA?//ServiceCentre Address

AT< +CSCA:"+8613800757500",145

out_putstring= +CSCA:"+8613800757500",145 

ucOperatorFlag=Operator_CMCC

AT< OK

AT> AT+CREG=1

AT< OK

AT> AT+CGDCONT=1,"IP","FSTZCL.GD"

AT< OK

AT> AT+CGDCONT?

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

AT< +CGDCONT:2,"IP","CMNET","0.0.0.0",0,0

AT< OK

AT> AT+ZPAS?

AT< +ZPAS:"LTE","CS_PS"

AT< OK

AT> AT+CREG=1

AT< OK

AT> AT+COPS?

AT< +COPS:0,0,"CMCC",7

AT< OK

AT> AT+CREG?

AT< +CREG: 1,1

AT< OK

AT> AT+CGATT?//PSattach or detach

AT< +CGATT: 1

AT< OK

AT> AT+ZECMCALL=1//Make ECMdata call CONNECT

AT< +ZECMCALL: CONNECT

AT< OK

AT> AT+ZECMCALL?

AT< +ZECMCALL: IPV4,10.11.32.194, 10.11.32.193, 0.0.0.0, 0.0.0.0

route: SIOCDELRT: No suchprocess

udhcpc (v1.16.0) started

Setting IP address0.0.0.0 on usb0

Sending discover...

Sending select for10.11.32.194...

Lease of 10.11.32.194obtained, lease time 7200

Setting IP address10.11.32.194 on usb0

Deleting routers

route: SIOCDELRT: No suchprocess

Adding router10.11.32.193

Recreating/etc/resolv.conf



你可能感兴趣的:(网络,驱动)