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. Why "onFocusChangeListner" does NOT work

I set focuse change listner for DatePicker, but after I leave the
DatePicker, select option in RadioGroup, it seems DatePicker still have the
focus and the listner never be invoked. why?
here are some code:

DatePicker dpk = (DatePicker) findViewById(R.id.DatePicker01);
dpk.setOnFocusChangeListener(focusChangeListner);

.....
View.OnFocusChangeListener focusChangeListner = new
View.OnFocusChangeListener(){

        public void   onFocusChange(View v,boolean hasFocus){
            Log.d("PregnancyWidget", "OnFocusChangeListner invoked!");
             ....some logic
        }
};

I can not see "onFocusChangeListner invoked" in DDMS log. Please help me!

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

2. Can I get user's gmail address or handset SN to verify them?

Hello, everyone.
      Here is the scenario: I plan to develop a application which can share
ideas with others, this means user need submit their idea to my server
through client apk. I don't like ask user to registration. Actually, Every
gphone user have unique gmail address, unique IMEI, handset SN,phone
number,etc. I think these information can be used to replace registration,
everytime when they submit their idea, client apk will send these unique
info with ideas together, so server side know which ideas belong to one
user.  Is there some way can get user's gmail address or machine SN, or
something else to verify user?

Thanks in advance.

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

3. Sending/Receiving Java Objects to Server

4. Starting an Activity BEHIND the current Activity

5. Problem with creating AVD with 1.6 SDK

6. detect onTouch for widget

7. Can I get user's gmail address or handset SN to verify them?