AT Command for QOS

來源:互聯網
上載者:User

From: http://mybroadband.co.za/vb/archive/index.php/t-18042.html

 

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.