Explanation about +CNMI parameters?

by Daniel Baeyens » Wed, 29 Apr 2009 18:26:09 GMT


Sponsored Links
 Hi,

Playing with the reference-ril, I've seen the default parameters for
this command. It seems that the expected behaviour for any supported
device is not to store ever any message into the SIM and never need to
access into it (I think so because I can't find any
RIL_REQUEST_READ_SMS_FROM_SIM)...

In case I'm mistaken, could someone explain a little bit how Android
works for unsolicited SMS notifications (or SMS in general) and what a
new device should do to imitate the original behaviour?

Thank you and kind regards,
-- 
Daniel Baeyens
Warp Networks S.L. -  http://www.warp.es 

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Explanation about +CNMI parameters?

by Nimit Manglick » Wed, 29 Apr 2009 18:40:35 GMT


 Hi Daniel,

+CNMI command is basically used to set the SMS settings to the baseband.

It lets you to inform the baseband about ur platform specific SMS
requirements like SMS mode ( whether u r interested in full SMS as URC or a
URC only having a indication. )

Regards
Nimit





--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Explanation about +CNMI parameters?

by Daniel Baeyens » Wed, 29 Apr 2009 18:52:51 GMT


 Hi Nimit,




Of course, of course, thanks :) Maybe I didn't explain my question correctly O:)

I would like to know which is the normal behaviour of the SMS arrival
on Android (if it should reject SMS when a data connection is up or
not, where to store the arriving SMS, etc...). Probably that will help
me to understand why thouse default parameters on CNMI are set like
that :)

Kind regards,





-- 
Daniel Baeyens
Warp Networks S.L. -  http://www.warp.es 

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Explanation about +CNMI parameters?

by Nimit Manglick » Wed, 29 Apr 2009 19:20:09 GMT


 Hi Daniel,

I dnt think that an Incoming SMS URC will be rejected when data connection
is up and that's why   concept of multiplexing is coming into picture as we
do have separate voice and data channels.

Also CNMI settings didn't specify where to store the msg. (correct me if i m
wrong.. )

The SMS URC comes with the full data, its teh responsibilty of RIL to take
that data and then sent it to teh framework.

Regards
Nimit







--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Explanation about +CNMI parameters?

by Daniel Baeyens » Wed, 29 Apr 2009 20:08:11 GMT


 i Nimit,

My words were just examples I was imaging... that's why I wanted to
know the general "how should android handle SMSs?" :)

When you talk about separate voice and data channels... I have been
looking at the libreference-ril and the atchannel, and I think it
works like this:
- There are two threads, one for sending explicit commands, one for
receiving URCs
- Both threads use just one file descriptor (so one serial device) for
both tasks, and they are controlled by a mutex, so both threads cannot
access at the same time to the device

Am I right? Where are defined the separate channels?

Also, I've seen that SMS URC comes with full data depending +CNMI
parameters... that why everything started :)

Thank you very much for your help. best regards,

On Wed, Apr 29, 2009 at 1:19 PM, Nimit Manglick <nimitandr...@gmail.com> wrote:



--
Daniel Baeyens
Warp Networks S.L. - http://www.warp.es

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. android.database.sqlite.SQLiteException: error code 20

Just wondering where I can find a reference of the error codes that
the android.database.sqlite.SQLiteException class returns? Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. How can an activity detect that its application is about to run out of memory?

How can an activity detect that its application/process is about to
run out of memory?

The 'onLowMemory' API only seems to get called when the system is
running low on memory but I'd like to be able to determine when my
activity itself needs to tighten its belt to avoid an OutOfMemoryError
because the application heap has exceeded the 16MB limit.

Thanks!!
Cheryl
--~--~---------~--~----~------------~-------~--~----~

3. How Can I Remove Top Title Bar from an Application? Or Add things to it...

4. Failed to upload *.apk on 'emulator-5554': timeout

5. Please Unsubscribe

6. SSH to the G1 ?

7. Application installation on Android moblie