博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
AT Command for QOS
阅读量:2440 次
发布时间:2019-05-10

本文共 2547 字,大约阅读时间需要 8 分钟。

From:

 

There are 4 commands used to set the QoS:

AT+CGEQMIN
AT+CGEQREQ
AT+CGQMIN
AT+CGQREQ
These commands set the QoS "window" that will be used to check if the connection can be accepted. Let say you set the following QoS window:
MIN 64k (D) 32k (U)
REQ 144k (D) 64k (U)
The network will then accept the connection using REQ, since there is bandwidth avail. etc. but notice that the download speed *will* be limited 144k - if there wasn't bandwidth avail. the network will try 64k. The "connected rate" will always show 384k (for my memory using windows - Mac and Linux might varry)
Here is what the NovaTel card's help show the commands as :
AT+CGEQMIN=?
+CGEQMIN: "IP",(0-4),(0-384),(0-384),(0-384),(0-384),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3",")
+CGEQMIN: "PPP",(0-4),(0-384),(0-384),(0-384),(0-384),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3",)
AT+CGEQREQ=?
+CGEQREQ: "IP",(0-4),(0-384),(0-384),(0-384),(0-384),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3",")
+CGEQREQ: "PPP",(0-4),(0-384),(0-384),(0-384),(0-384),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3",)
AT+CGQMIN=?
+CGQMIN: "IP",(0-3),(0-4),(0-5),(0-9),(0-18,31)
+CGQMIN: "PPP",(0-3),(0-4),(0-5),(0-9),(0-18,31)
AT+CGQREQ=?
+CGQREQ: "IP",(0-3),(0-4),(0-5),(0-9),(0-18,31)
+CGQREQ: "PPP",(0-3),(0-4),(0-5),(0-9),(0-18,31)
I don't use the +CGQREQ commands since they require wierd profiles from the UMTS standard. Luckly for us, we don't have to enter the whole string, since the ones you leave out will go to default.
Here are my commands for the speed selection:
[Dialer 384k]
Init5 = AT+CGEQMIN=1,4,64,384,64,384
Init6 = AT+CGEQREQ=1,4,64,384,64,384
[Dialer 144k]
Init5 = AT+CGEQMIN=1,4,64,144,64,144
Init6 = AT+CGEQREQ=1,4,64,144,64,144
[Dialer 64k]
Init5 = AT+CGEQMIN=1,4,64,64,64,64
Init6 = AT+CGEQREQ=1,4,64,64,64,64
The first param. selects the IP profile (AT+CGDCONT=1,"IP"...).
The second one selects the Type of Service (0 - Conv,1 - stream, 2 - interactive, 3 - background, 4 - sub. value/network assigned)
It doesn't pay to try and select the other Type of Services since you are using data, which is (drum roll) number 3 and the connection will not be made.
The third is max. uplink - in kbits/s
The forth is guaranteed uplink - in kbits/s
The fifth os max. downlink - in kbits/s
and last but not least is guaranteed downlink, in kbits/s

转载地址:http://whbqb.baihongyu.com/

你可能感兴趣的文章
Linux日志式文件系统面面观(转)
查看>>
正版风暴让盖茨命不盖绝 Linux祸福难料(转)
查看>>
单一产品不会成功 开源软件开始商业应用(转)
查看>>
RedHat上SSH2的安装和使用(转)
查看>>
安全使用RedHat Linux系统(转)
查看>>
RedHat Enterprise AS4硬盘安装步骤(转)
查看>>
全国第一个高校Linux培训考试中心建立(转)
查看>>
Linux黑客大曝光:Linux安全机密与解决方案(转)
查看>>
关于Kerberos安装的几个问题(转)
查看>>
Solaris硬盘分区简介(转)
查看>>
gcc编译器小知识FAQ(转)
查看>>
Linux下多线程编程与信号处理易疏忽的一个例子(转)
查看>>
流氓和木马结合 强行关闭你的防火墙(转)
查看>>
SUSE一纸诉状控告SCO 捍卫知识产权(转)
查看>>
debian下编译2.6.13.2内核的步骤及感受(转)
查看>>
预装正版的市场意义(转)
查看>>
创建小于16M XFree86迷你Linux系统(转)
查看>>
shell中常用的工具(转)
查看>>
使用MySQL内建复制功能来最佳化可用性(转)
查看>>
一个比较vista的vista主题for rf5.0fb(转)
查看>>