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. support of jdbc for sqlite

Hi,
can i open connection to sqlite database using JDBC and use all the
classes that are in java.sql or i have to use
SQLiteOpenHelper.getWritableDatabase() and use android.database.sqlite

-- 

2. Android SDK and ADB

I own a mytouch 3g and have recently rooted my phone. Today I decided
I wanted to partition my SD card and wanted to do it using the adb
feature. I downloaded Android SDK and moved its contents to my C drive
under a folder named android. I created a path named C:/android/tools.
I connected my phone to my computer and opened a command window. When
I typed adb shell into the command prompt it said that a device was
not found. After this I went in and deleted all of the HTC drivers and
then plugged my phone into the computer again. This time it said that
new drivers needed to be installed so i let the computer install them,
but it said that the driver could not be found. I have tried
reinstalling the sdk file with no luck. I really do not know what the
problem is. I think one problem might be that when I try to open up
SDK Setup a command window flashes and nothing happens. I am new to
this so any help would be appreciated. Thank you.

--

3. Problems installing Android SDK - "no target available"

4. Transfer iTunes Amazon music video DVD movie to Motorola Droid CLIQ Rival

5. Cannot get versionName when it set with string reference

6. Phoen application integration

7. NDK for SDK 2.0.1?