Nokians: Nokia Cell Phone User Forum
 
Go Back   Nokians: Nokia Cell Phone User Forum > Usenet Discussion Forums > GSM Usenet Discussions
Homepage Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


GSM Usenet Discussions GSM Discussions on News Server

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 11th, 2008, 06:21 AM
Martin Evans
Guest
 
Posts: n/a
Default How to sense 3G or GPRS?

I have an application that makes data connections and would like to be able
to report if the connection will be 3G or GPRS based. Which modem commands
are related to this?

Ideally I would like to also be able to detect "signal" strengths for both
and therefore choose which to use. I realise AT+CSQ is not suitable.

The solution might need to work on different phones/modems so if there are
also proprietary commands they would also be really useful to know.

Thanks

Martin


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old January 12th, 2008, 09:57 PM
John Henderson
Guest
 
Posts: n/a
Default How to sense 3G or GPRS?

Martin Evans wrote:

> I have an application that makes data connections and would
> like to be able to report if the connection will be 3G or GPRS
> based.


I'm interested in buying a 3G (UMTS) dedicated modem, but the
range seems very limited at present. As I live in Australia,
I'd want one covering both 850 and 2100 MHz UMTS bands. I've
also read that 900 MHz UMTS will be used here for rural
coverage by Optus and Vodafone.

At the moment, I've done only very limited experimentation with
a Sony Ericsson V600i GSM/UMTS phone.

> Which modem commands are related to this?


I presume you've got a copy of 3GPP specification 27.007.

AT+CGEQREQ and AT+CGEQMIN seem to be specific commands for UMTS,
but I've not yet come to terms with how they work.

The old AT+COPS command also seems to offer some possibilities
with the addition of the <AcT> (access technology) parameter:

AT+COPS=[<mode>[,<format>[,<oper>[,< AcT>]]]]

My V600i doesn't support the <AcT> parameter. Otherwise, it
seems to me that:

AT+COPS=1,2,"50503",2

might restrict this phone to Vodafone Australia UMTS (3G)
services, for example, and exclude their GSM cells.

> Ideally I would like to also be able to detect "signal"
> strengths for both and therefore choose which to use. I
> realise AT+CSQ is not suitable.


I presume you're getting "99" (not known or not detectable) from
UMTS cells. At least that's what I'm getting:

AT+COPS=3,2
OK
AT+CREG=2
OK

+CREG: 1,"FB00","0BB846C4"
AT+CSQ;+CIND?
+CSQ: 99,99

+CIND: 5,2,0,0,1,0,0,0,0,0

+CREG: 1,"FB00","0BB846E2"
AT+CSQ;+CIND?
+CSQ: 99,99

+CIND: 5,1,0,0,1,0,0,0,0,0

whereas with ordinary GSM cells I get the likes of:

+CREG: 1,"290A","00005A17"
AT+CSQ;+CIND?
+CSQ: 13,99

+CIND: 5,5,0,0,1,0,0,0,0,0

where my parameter 2 in the "+CIND: " result is signal quality
in the range 0-5. On this phone, I find I can get this same
limited resolution signal information as "+CIEV: 2,<n>"
unsolicited result codes (for GSM and UMTS cells alike) with
the command:

AT+CMER=3,0,0,1

like this:

AT+CMER=3,0,0,1

OK

+CREG: 1,"FB00","0BB846E2"

+CIEV: 2,1

+CREG: 1,"290A","00005A52"

+CIEV: 2,3


> The solution might need to work on different phones/modems so
> if there are also proprietary commands they would also be
> really useful to know.


And I'd like info on any of those too.

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old January 15th, 2008, 08:59 AM
Martin Evans
Guest
 
Posts: n/a
Default How to sense 3G or GPRS?

I do have a copy of the 3GPP but thanks for pointing that out as at least I
now know it was the right thing to be working from. The description in there
is not always real world so seeing your responses to the various commands
was useful. I seem to remember one of my tests with the <AcT> was a bit odd,
it reported the setting but failed to let it be configured.

After a bit of monitoring, we were able to spot the AT^SYSCFG command being
used by a huawei device and from this it was possible finally to switch the
unit into 3G. It is just a shame that 3GPP isn't always being
followed/spec'd for such operations.

Yep, getting the 99 on the AT+CSQ command, but this has been the case for
many years. I have one phone that happily reports a good signal strength for
GSM calls and the second you make a GPRS call it freezes at whatever value
was last read. This could be 0,30,99 etc, this can easily throw off any
monitoring code waiting for a signal before dialling.

Here area a selection of responses from the is device:


Sending ATI3:


Manufacturer: huawei
Model: E270
Revision: 11.304.02.03.00
IMEI: ..........................
+GCAP: +CGSM,+FCLASS,+DS

OK

Sending AT^SYSCFG=?:


OK

Sending AT^SYSCFG?:


^SYSCFG:13,1,3FFFFFFF,1,2

OK

Sending AT+CSQ=?:


+CSQ: (0-31,99),(99)

OK

Sending AT+CSQ:


+CSQ: 9,99

OK

Sending AT+CREG=?:


+CREG: (0-2)

OK

Sending AT+CREG?:


+CREG: 0,1

OK

Sending AT+CGREG=?:


+CGREG: (0-2)

OK

Sending AT+CGREG?:


+CGREG: 0,1

OK

Sending AT+CGEQREQ=?:


+CGEQREQ:
"IP",(0-4),(0-2048),(0-16000),(0-2048),(0-16000),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3","1E4","1E5"," 1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E4"," 1E5","1E6","6E8"),(0-3),(0,100-4000),(0-3)
+CGEQREQ:
"PPP",(0-4),(0-2048),(0-16000),(0-2048),(0-16000),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3","1E4","1E5"," 1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E4"," 1E5","1E6","6E8"),(0-3),(0,100-4000),(0-3)

OK

Sending AT+CGEQREQ?:


+CGEQREQ: 1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 3,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 4,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 5,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 6,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 7,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 8,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 9,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 10,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 11,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 12,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 13,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 14,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 15,2,0,0,0,0,2,0,"0E0","0E0",3,0,0
+CGEQREQ: 16,2,0,0,0,0,2,0,"0E0","0E0",3,0,0

OK

Sending AT+CGEQMIN=?:


+CGEQMIN:
"IP",(0-4),(0-2048),(0-16000),(0-2048),(0-16000),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3","1E4","1E5"," 1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E4"," 1E5","1E6","6E8"),(0-3),(0,100-4000),(0-3)
+CGEQMIN:
"PPP",(0-4),(0-2048),(0-16000),(0-2048),(0-16000),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3","1E4","1E5"," 1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E4"," 1E5","1E6","6E8"),(0-3),(0,100-4000),(0-3)

OK

Sending AT+CGEQMIN?:


+CGEQMIN:

OK

Sending AT+CIND=?:


COMMAND NOT SUPPORT

Sending AT+CIND?:


COMMAND NOT SUPPORT

Sending AT+CMER=?:


COMMAND NOT SUPPORT

Sending AT+CMER?:


COMMAND NOT SUPPORT

Sending AT+CIEV=?:


COMMAND NOT SUPPORT

Sending AT+CIEV?:


COMMAND NOT SUPPORT



"John Henderson" <jhenRemoveThis@talk21.com> wrote in message
news:5ut6fgF1jqp94U1@mid.individual.net...
> Martin Evans wrote:
>
>> I have an application that makes data connections and would
>> like to be able to report if the connection will be 3G or GPRS
>> based.

>
> I'm interested in buying a 3G (UMTS) dedicated modem, but the
> range seems very limited at present. As I live in Australia,
> I'd want one covering both 850 and 2100 MHz UMTS bands. I've
> also read that 900 MHz UMTS will be used here for rural
> coverage by Optus and Vodafone.
>
> At the moment, I've done only very limited experimentation with
> a Sony Ericsson V600i GSM/UMTS phone.
>
>> Which modem commands are related to this?

>
> I presume you've got a copy of 3GPP specification 27.007.
>
> AT+CGEQREQ and AT+CGEQMIN seem to be specific commands for UMTS,
> but I've not yet come to terms with how they work.
>
> The old AT+COPS command also seems to offer some possibilities
> with the addition of the <AcT> (access technology) parameter:
>
> AT+COPS=[<mode>[,<format>[,<oper>[,< AcT>]]]]
>
> My V600i doesn't support the <AcT> parameter. Otherwise, it
> seems to me that:
>
> AT+COPS=1,2,"50503",2
>
> might restrict this phone to Vodafone Australia UMTS (3G)
> services, for example, and exclude their GSM cells.
>
>> Ideally I would like to also be able to detect "signal"
>> strengths for both and therefore choose which to use. I
>> realise AT+CSQ is not suitable.

>
> I presume you're getting "99" (not known or not detectable) from
> UMTS cells. At least that's what I'm getting:
>
> AT+COPS=3,2
> OK
> AT+CREG=2
> OK
>
> +CREG: 1,"FB00","0BB846C4"
> AT+CSQ;+CIND?
> +CSQ: 99,99
>
> +CIND: 5,2,0,0,1,0,0,0,0,0
>
> +CREG: 1,"FB00","0BB846E2"
> AT+CSQ;+CIND?
> +CSQ: 99,99
>
> +CIND: 5,1,0,0,1,0,0,0,0,0
>
> whereas with ordinary GSM cells I get the likes of:
>
> +CREG: 1,"290A","00005A17"
> AT+CSQ;+CIND?
> +CSQ: 13,99
>
> +CIND: 5,5,0,0,1,0,0,0,0,0
>
> where my parameter 2 in the "+CIND: " result is signal quality
> in the range 0-5. On this phone, I find I can get this same
> limited resolution signal information as "+CIEV: 2,<n>"
> unsolicited result codes (for GSM and UMTS cells alike) with
> the command:
>
> AT+CMER=3,0,0,1
>
> like this:
>
> AT+CMER=3,0,0,1
>
> OK
>
> +CREG: 1,"FB00","0BB846E2"
>
> +CIEV: 2,1
>
> +CREG: 1,"290A","00005A52"
>
> +CIEV: 2,3
>
>
>> The solution might need to work on different phones/modems so
>> if there are also proprietary commands they would also be
>> really useful to know.

>
> And I'd like info on any of those too.
>
> John



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

(View-All Members who have read this thread : 0
There are no names to display.
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
GPRS using bluetooth. Ashu Nokia Usenet Discussions 3 March 12th, 2008 09:19 PM
+ Bluetrek „Sense” Bluetooth headset! Apocalypso™ Nokia Usenet Discussions 0 November 21st, 2007 09:10 AM
GPRS Web Host David GSM Usenet Discussions 0 November 16th, 2007 04:33 PM
Need help about unlimited gprs smshs GSM Usenet Discussions 1 November 16th, 2007 04:30 PM
GPRS IP addressing UM Nokia Usenet Discussions 3 November 15th, 2007 03:48 PM


Nokia Cell Phones Nokia PDAs
Top reviews: Nokia N810 Nokia N95 Nokia E71
Product search:



Current poll
The new design of the forum is..

Excellent: 100.00%

Good: 0%

Average: 0%

Could be better: 0%

Bad: 0%
Voters: 1. You may not vote on this poll

Forum Stats
Topics: 12140
Posts: 61621
Users: 981
Active Members: 511
We welcome our newest user: sharkbaitbil
Most users ever online was 90, October 13th, 2008 at 02:44 PM.
New users:
Today
- sharkbaitbil
Today
- ellainema
Yesterday
- israel75
November 30th, 2008
- gadgeteeer
November 29th, 2008
- cellscells

Today's Birthdays
No one has birthday today.


All times are GMT -4. The time now is 07:06 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
copyright © Nokians.netAd Management by RedTyger