Android CDMA Branch

Source: Internet
Author: User

The CDMA-import branch is developed by the teleca CDMA team.

Teleca's contribution covers all required extensions in the application framework of the Telephony stack, the application domain and user interface. in order to support existing applications the application interface is backward compatible, but extended to include CDMA specific methods, parameters or configurications to make the new features accessible by new applications.

Obtain the CDMA-import version.
$ Mkdir ~ /Android_cdma
$ Cd ~ /Android_cdma
$ Repo init-u git: // android.git.kernel.org/platform/manifest.git-B CDMA-Import
$ Repo sync
(3) Next-B CDMA-import specifies the branch, and there are other branches:
Cupcake
Donut
Master
Releasing-1.0
If this parameter is not specified, the master branch is taken out.
(4) retrieve all. I found that it was very slow. The speed was 1-4 K and the next night would not end. After checking the web page, you can enable two terminals to download and retrieve the kernel and prebuild directories at the same time. Both directories are relatively large.
$ Repo sync Kernel
$ Repo sync prebuild
We mainly analyze the CDMA module and retrieve Code You can.
$ Repo sync Hardware/RIL
The code structure is as follows:
RIL
| -- Include
| '-- Telephony
| -- RIL. h
| '-- Ril_cdma _sms.h
| -- Libril
| -- RIL. cpp
| -- Ril_commands.h
| -- Ril_event.cpp
| -- Ril_event.h
| '-- Ril_unsol_commands.h
| -- Reference-CDMA-SMS
| -- Reference-cdma-sms.c
| '-- Reference-cdma-sms.h
| -- Reference-RIL
| -- At_tok.c
| -- At_tok.h
| -- Atchannel. c
| -- Atchannel. h
| -- Misc. c
| -- Misc. h
| '-- Reference-ril.c
'-- Rild
| -- Radiooptions. c
'-- Rild. c
The reference-RIL directory is easy to understand. at_tok.h provides at response parsing functions, atchannel. H provides at sending functions, and Misc. H is just a string matching function.
The reference-ril.c provides many functions that implement sending at within the function, parsing at response strings. Write at directly in the code to see some disappointment, especially with the function in at_tok.h.
To parse a parameter, it is better to write a function atscanf similar to sscanf that specifically processes the at response string, so that the code looks much refreshed.
Let's take a look at it. There is no change. A lot of code is still on the teleca website and has not been merged.
Atchannel. h
/Include/telephony/RIL. h
UIM support is added to some GSM enumeration types.
For other information, see the in-depth explanation of the android GSM driver module by pandatv at it168.
Http://tech.it168.com/a2009/0323/269/000000269394.shtml
Http://tech.it168.com/a2009/0331/270/000000270151.shtml

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.