本文共 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/