Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
General TopicsGSMBluetooth
Providers
AlltelATT WirelessCingularFidoNextelSprint PCST-MobileVerizon
Manufacturers
EricssonNokiaMotorola
Country Specific
Australian GroupUK Group
Related Topics
PocketPCPalmMore Topics ...

Cellular Phone Forum / General / GSM / July 2006

Tip: Looking for answers? Try searching our database.

needed at command

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pawanpintu@rediffmail.com - 08 Jul 2006 12:02 GMT
hi
can anybody help me on writing programme for gsm modem.
i need AT command for location finding (as it display in the mobile
that which tower's signal it is getting).i tryed "at+cnmi=1,0,2,0,1"
it works but giving location for a very short duration after taking a
long time. the modem is benq modem.plz help me rather i should say plz
save me.my id is pawanpintu@rediffmail.com
regards
pawan kr.lal
John Henderson - 08 Jul 2006 12:35 GMT
> can anybody help me on writing programme for gsm modem.
> i need AT command for location finding (as it display in the
[quoted text clipped - 4 lines]
> pawanpintu@rediffmail.com regards
> pawan kr.lal

Which channel are you monitoring, and in what language?  I use

       AT+CNMI=1,0,2,0,1;+CSCB=0,"50,200","0-15"

This listens specifically (in all languages) to channels 50 and
200, as these seem to be the commonly used channels for
"location information".

The "AT+CNMI" command gives unsolicited "+CBM:" results.  That
is to say, it will dump a "+CBM:" result when and only when the
cell broadcast changes (ie, when the modem camps on a different
cell).  But I would also expect a single "+CBM" result within
about 10 seconds of giving the above command.

I'm not sure what you mean by "for a very short duration".  If
the cell doesn't change, you should get no further "+CBM:"
results from using the command once only.

John
John Henderson - 08 Jul 2006 23:47 GMT
> can anybody help me on writing programme for gsm modem.
> i need AT command for location finding (as it display in the
[quoted text clipped - 4 lines]
> pawanpintu@rediffmail.com regards
> pawan kr.lal

Are you perhaps trying to control the times at which you get to
see the location cell broadcast (CB) message on the serial
port?

Bear in mind that CB is a broadcast SMS, and is sent
periodically (but very often) rather than continuously.

Repeated use of the "AT+CNMI=1,0,2,0,1" command changes nothing,
so failure to get a new message indication (a "+CBM:" result)
is no surprise if the modem hasn't changed cell.

If you want to read the latest CB message on demand only, I
suggest using

        AT+CNMI=1,0,2,0,1;+CSCB=0,"50,200","0-15"

(modified to your requirements if required).  Then wait for the
"+CBM:" result.  Then turn direction to the serial port off
again with something like

       AT+CNMI=0,0,0,0,1

before turning it on again when required.

Personally, I leave it turned on, and use the incoming "+CBM:"
results to tell me that the serving cell may have changed
(confirmed by "+CREG" results).

John
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.