1. Check out our companion app, Forums for Android! Download from Google Play

Packet Driver and RIL Header Files

Discussion in 'Application Development' started by joyebadejo, Jul 8, 2009.

  1. joyebadejo

    joyebadejo New Member
    Thread Starter

    Jul 8, 2009
    [FONT=Courier, Monospaced]Good Afternoon everyone,
    I have been looking at the telephony architecture of Android on
    kandroid.com (Android - Porting Guide).
    From the diagram on that website one can see the libril-vendor.so
    binary file in the Libraries section. I know you can download this
    binary file (libhtc_ril.so) when obtaining the packages for creation
    of a custom android build for the G1 as seen here:
    Building For Dream ?(Android Open Source Project)?.
    [/FONT][FONT=Courier, Monospaced]Because this is a binary file you cannot look into its contents. So my
    question is, has anyone been able to locate any kind of header file
    for this file to at least get a glimpse of what's going on inside?
    [FONT=Courier, Monospaced]Also from the kandroid.com diagram one can see the Packet Drivers at
    the Linux Kernel layer. I have been unable to locate these files as
    well. If anyone could point me in the right direction I would greatly
    appreciate it.
    [FONT=Courier, Monospaced]Thanks for your help![/FONT]


  2. Scott

    Scott Active Member

    May 4, 2009
    Senior Software Engineer
    Washington USA
    RIL.h defines the RIL interface, but somewhere in the Android source is a reference RIL implementation.

    Pick one of the structs used as an arg to a RIL API, and search the Android source for it. You'll find a .c containing an implementation you can look at.


Share This Page