调试Telephony过程中搜集和积累的一些资料

这些是在调试Telephony过程中搜集和积累的一些资料,希望对想接触这部分功能的人有所帮助。

一、深入理解 Android Telephony原理剖析与最佳实践_13151646.pdf

(http://elastos.org/redmine/projects/elastosrdk5/files) 的Android Telephony目录下

这本书是以android 4.0.3版本进行讲解的,虽然telephony这部分的实现发生了很大变化,但是

总体的实现结构还是一致的,所以对于入门熟悉Telephony这块是有很大帮助的。

二、拨出电话(MO)在java层的流程图:  这个图是根据5.0.2整理的,可以帮助和熟悉和调试MO的主流程

参加附件MO_call_process.png mo.jpeg

三、Sim Card牵扯到的类及初始化过程:

SIM Card相关的类,及他们的关系可以参考UiccController文件,其中的注释有详细的说明,初始化

过程的流程图参看附件:simcard_init.png

四、Telephony的调试

1. 在android中RIL相关的debug 信息输出到一块单独的buffer,在使用logcat时需要指定:

logcat -b radio   (我们系统中现在的实现没有遵循这个实现,可能需要调整)

2. 在android 虚拟机中可以通过以下命令模拟来电或者发短信等操作。

telenet localhost 5554
gsm call 1111
sms send 1111 hello android

3. 在查看android调试信息时,以下命令可以帮助增加信息的输出。

setprop log.tag.InCall VERBOSE
setprop log.tag.Telecom VERBOSE
(与铃声相关)
setprop log.tag.AudioService.VOL VERBOSE
setprop log.tag.AudioService.MOD VERBOSE

4. 手动修改来电铃声: 需要修改数据库
(查询可用的铃声,记住选取的id)

sqlite3 /data/data/Elastos.Droid.Providers.Media/databases/internal.db

select _id, _display_name, duration,is_ringtone from audio where is_ringtone=1;
(设置铃声,id为上面查询的结果)
sqlite3 /data/data/Elastos.Droid.SettingsProvider/databases/settings.db
update system set value = “content://media/internal/audio/media/id” where name = “ringtone”;
update system set value = “content://media/internal/audio/media/id” where name = “ringtone_default”;

五、网络资源

http://blog.csdn.net/xiashaohua/article/category/2091261      (Telephony相关流程分析)

http://blog.csdn.net/yihongyuelan/article/details/24640819     (以Android 4.4为参考版本)

http://blog.csdn.net/u010961631/article/category/1662625

六、Telephony相关的参考文档

1.  3GPP相关            http://www.3gpp.org/

[3GPP TS 27.007]       AT command set for User Equipment (UE)

[3GPP TS 22.030]      Man-Machine Interface (MMI) of the User Equipment (UE)

[3GPP TS 23.040]      Technical realization of the Short Message Service (SMS)

[3GPP TS 23.060]      General Packet Radio Service (GPRS)

2.  RIL相关  看附件

how_to_use_android_ril.pdf

AndroidRIL-SourceCode_AppNote_(UBX-13002041).pdf

 | 1,353 views | 36 comments | 0 flags | 

Leave a comment ?

36 Comments.

  1. Sɑved as a favorite, I reaⅼly like your site!

  2. Saved as a favorite, I like your blog!

  3. Vеry interesting details you havе observed, appreciate it for
    putting up.

  4. Very interesting details you have mentioned, regards for posting.

  5. You are my intake, I own few blogs and sometimes run out from brand :
    ).

    My web-site prom dresses

  6. Very good info.Lucky me I recently ound your blog by chance (stumbleupon).
    I’ve saved it for later!

  7. I think this is among the most significant information for me.
    And i am glad reading your article. But wanna
    remark on few general things, The web site style is
    great, the articles is really excellent : D. Good job, cheers

  8. My brother recommended I may like this website. He was totally right.
    This publish truly made my day. You can not consider just how so much time I had spent for this info!

    Thanks!

  9. I am constantly signing in and out of my college website and it is rather annoying to always have to type in my user id. It used to be saved, but then I updated Firefox and it won’t save.. . If anyone could explain to make Firefox remember that would be great. Thanks..

  10. It’s amazing to go to see this web page and reading the views of all
    mates regarding this post, while I am also keen of
    getting familiarity.

    Feel free to surf to my blog post: mink lashes for sale uk

  11. Thanks for your marvelous posting! I genuinely enjoyed reading it, you could be a great author.
    I will remember to bookmark your blog and definitely will come back at some point.

    I want to encourage continue your great work, have a nice holiday weekend!

    Check out my website personally play golf (http://www.ngcmta.com)

  12. What a stuff of un-ambiguity and preserveness of valuable experience regarding unpredicted emotions.

    My webpage – madden mobile coin glitch ios (http://www.bogdealer.com)

  13. If you are going for best contents like me, only pay a visit this web site all
    the time as it gives feature contents, thanks

    Feel free to surf to my web page: fifa 17 coins mmoga

  14. It’s amazing for me to have a website, which is good in favor of my experience.
    thanks admin

  15. I’m really enjoying the design and layout of your site.
    It’s a very easy on the eyes which makes it much more pleasant for me to come here and
    visit more often. Did you hire out a developer to
    create your theme? Exceptional work!

    Feel free to surf to my weblog :: cs go trade skins
    for money (de.visitjordan.com)

  16. Nice post. I was checking constantly this blog and I’m impressed!
    Extremely helpful info specially the closing section :) I care for such
    information a lot. I used to be seeking this certain information for a long time.
    Thanks and best of luck.

    Here is my blog; silk lash extensions review

  17. Today, I went to the beach front with my children. I found a sea
    shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed
    the shell to her ear and screamed. There was a hermit crab inside and it pinched her
    ear. She never wants to go back! LoL I know this is totally off topic but I had to
    tell someone!

    Stop by my web site: csgo skins free download

  18. Undeniably believe that which you stated. Your favourite reason seemed to be at the internet the simplest factor to
    be mindful of. I say to you, I certainly get irked whilst folks consider concerns that they just don’t understand about.
    You managed to hit the nail upon the highest and defined out the whole
    thing with no need side-effects , other people can take a
    signal. Will probably be back to get more.
    Thanks

    Feel free to surf to my web site … nba live coins reddit

  19. I’ve learn a few excellent stuff here. Definitely price bookmarking for revisiting.
    I surprise how a lot effort you set to create the sort of fantastic informative
    web site.

    Also visit my website silk lash extensions adelaide

  20. Woah! I’m really loving the template/theme of this blog.
    It’s simple, yet effective. A lot of times it’s
    hard to get that “perfect balance” between usability and
    appearance. I must say you’ve done a amazing job with this.
    Additionally, the blog loads super quick for me on Safari.
    Superb Blog!

    Check out my weblog: real mink lashes for sale

  21. Hi, I desire to subscribe for this website to obtain most up-to-date updates, thus where can i do it please assist.

    Also visit my web-site :: cs go bet skins on matches

  22. You are so cool! I don’t suppose I’ve read through anything like that before.
    So good to discover another person with some unique thoughts on this topic.
    Really.. thank you for starting this up. This site is something that is needed on the
    web, someone with a little originality!

    Feel free to visit my site … mink strip
    lashes uk (http://www.fidelity-soft.be)

  23. Very soon this web site will be famous among all blog visitors, due to it’s pleasant posts

    Check out my page … madden mobile coins cheap

  24. I am actually pleased to read this website posts which contains plenty of helpful data, thanks for
    providing these data.

    Look into my web site nba mobile coins buy

  25. Just desire to say your article is as surprising. The clearness for
    your submit is simply great and i could assume you’re an expert in this
    subject. Fine together with your permission let me to grasp your feed
    to stay updated with drawing close post.
    Thank you one million and please keep up the enjoyable work.

    Visit my page :: 1 (Freeman)

  26. Heya i’m for the primary time here. I found this board and I in finding It really helpful & it helped me out a lot.

    I am hoping to provide one thing again and help others like you helped me.

    My homepage cs go skins trade up contract (sizlar.com)

  27. Hello to all, how is the whole thing, I think every
    one is getting more from this web page, and your
    views are pleasant in support of new viewers.

    Have a look at my web page – madden mobile coins buy (Eva)

  28. I believe this is one of the most significant information for me.
    And i’m happy studying your article. But wanna commentary on few basic
    things, The web site style is wonderful, the articles is in reality nice : D.
    Just right activity, cheers

    Feel free to surf to my web blog: mink eyelash extensions strips
    [simbang.com]

  29. Excellent article! We are linking to this great post on our site.
    Keep up the good writing.

    Feel free to visit my blog post :: cs go trade skins for money (ecowon.bcpark.net)

  30. I am really happy to read this website posts which consists
    of tons of helpful data, thanks for providing these kinds of information.

    Also visit my page cheapest madden mobile coins

  31. Aw, this was a very good post. Finding the time and actual
    effort to produce a really good article… but what
    can I say… I procrastinate a whole lot and never seem to get nearly anything done.

    Here is my web blog pubg items (Caridad)

  32. I have read so many articles concerning the blogger lovers except this paragraph is actually a good paragraph, keep it up.

  33. I loved this post! Someone said your blogs fairly often and you’re always developing
    great stuff. I shared this on my facebook and my follwers
    loved it! Keep up you’ll be able to work.

  34. Hey! Someone in my Myspace group shared this site with us so I came to take a look.
    I’m definitely loving the information. I’m bookmarking and will be tweeting this to my followers!

    Wonderful blog and superb design and style.

  35. At this time it seems like WordPress is the best blogging platform out
    there right now. (from what I’ve read) Is that what you’re using on your blog?

Reply to ecowon.bcpark.net ¬
Cancel reply


*


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>