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 / November 2005

Tip: Looking for answers? Try searching our database.

Waiting long time for +CMTI when mobile have no network

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vivelafaq@hotmail.com - 02 Nov 2005 16:21 GMT
Hy,

I have a problem with +CMTI message.

When i send sms when modem have network, i receive +CMTI notification
immediatly.

When a sms is sent to the modem when he don't have network, i must wait
for hours to have the +CMTI...It's work when i send a new sms after,
when modem have network. I receive the 2 + CMTI messages.

How can I reveice directly the +CMTI when network goes on?

Thank you
John Henderson - 02 Nov 2005 21:52 GMT
> I have a problem with +CMTI message.
>
[quoted text clipped - 7 lines]
>
> How can I reveice directly the +CMTI when network goes on?

"+CMTI" is the unsolicited result code to notify you that a new
SMS has arrived.  I assume that you are getting this code as
soon as an SMS is received.  If not, you may be able to read a
new mesage using a "AT+CMGR" command, for example before you
get the "+CMTI" notification, and this would indicate a bug in
the modem's firmware.

But from what you've said, I think that new SMSs are not being
delivered to your device when you move from a region without
coverage into a region with coverage.  I can think of at least
two reasons for this.

If the SMS is being sent from a device on different network (and
therefore using a completely different SMSC), your network
might not be notifying the originating network's SMSC when your
device has done a routine location update.

Alternatively, perhaps your own network doesn't know that your
modem is available.  This can happen if your modem leaves the
coverage area after registering, and then returns to coverage
sometime later.  In the meantime, the network may have tried to
deliver an SMS, failed, and marked your modem as absent.  But
your modem knows nothing of this, and will not transmit a
location update until its T3212 timer has expired in the normal
course of events.  Only then will the HLR mark your modem as
present and make another SMS delivery attempt.

Assuming you're writing your own software, I suggest trying the
following.  Monitor signal availability and registration status
with "AT+CREG".  When coverage disappears and then returns,
force an network interaction, with "AT+CLIP?" for example.

If "AT+CLIP?" doesn't work, try deregistering and reregistering.
Depending on the modem, "AT+CFUN=0" followed (after a pause) by
"AT+CFUN=1" would do this.

John
vivelafaq@hotmail.com - 03 Nov 2005 10:26 GMT
Thanks John !

It works with an AT+CLIP? I receive just after the +CMTI for my new
message.
Have a good day !

at
OK

at+csq
+CSQ: 23,0 // network available :  mobile out of the faraday box

OK

OK
at+csq
+CSQ: 8,0 // network unavailable (mobile in faraday box :-). I send a
mesage now. //Sender receive delivery message Pending.

OK

+CREG: 1,"0192","7F18" // mobile out of the faraday box
at+csq
+CSQ: 24,0

OK

+CREG: 1,"0192","3080"

+CREG: 1,"0192","7F18"
at+CLIP?
+CLIP: 0,1

OK

+CMTI: "SM",1 // Sender receive delivery message Delivered
John Henderson - 03 Nov 2005 20:55 GMT

> It works with an AT+CLIP? I receive just after the +CMTI for
> my new message.

The trick is to force the modem to do a location update.  So any
command that requires reading some parameter from the network
will do that.  I use "AT+CLIP?" to get a fresh timing advance
value.

John
vivelafaq@hotmail.com - 03 Nov 2005 11:07 GMT
Thanks John !

It works with an AT+CLIP? I receive just after the +CMTI for my new
message.
Have a good day !

at
OK

at+csq
+CSQ: 23,0 // network available :  mobile out of the faraday box

OK

OK
at+csq
+CSQ: 8,0 // network unavailable (mobile in faraday box :-). I send a
mesage now. //Sender receive delivery message Pending.

OK

+CREG: 1,"0192","7F18" // mobile out of the faraday box
at+csq
+CSQ: 24,0

OK

+CREG: 1,"0192","3080"

+CREG: 1,"0192","7F18"
at+CLIP?
+CLIP: 0,1

OK

+CMTI: "SM",1 // Sender receive delivery message Delivered
 
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



©2009 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.