Radio Interface Library Privileged APIs

Which RIL functions are priviliged It is not clear from the MSDN page whether these APIs are privileged or not (http://msdn2.microsoft.com/en-us/library/ms924486.aspx). Many of the SMS functions appear to be, but RIL Proxy specific functions are not well documented.

Thanks, in advance.

Chris



Answer this question

Radio Interface Library Privileged APIs

  • TheViewMaster

    As with Chris, I am looking for specific information about signal strength, bit error rate, towers available, etc.  There will be a growing number of applications, particularly for enterprise, rather than entertainment, use - that will require better access to the RIL information than what is currently provided (by Windows Mobile 5.0 SNAPI).  Hopefully Microsoft is able to accommodate those needs in the next release.  - Hank
  • Zero_

    Thank you for your response and a link to the article. This is very helpful.

    I specifically need to access GSM location information (LAI : MCC, MNC, and LAC). This is a requirement for my application. And I have prior information from this post that the only way to access GSM LAI is through RIL_GetUserIdentity.

    --
    Chris


  • sluggy

    According to this article, all RIL APIs are privileged. The RIL and RIL Proxy are part of the Celular driver stack.
    These components are indeed not documented - the docs might only be available to ODMs/OEM.
    Normally, an application has no need to call into these components directly. They sould be using the documented APIs.

    Is there a special reason why you need direct RIL access

    Michael



  • imed-deborah

    You might have a look a http://www.alexfeinman.com/download.asp doc=tapi1.6.zip which works fine for me!

    I’m using a code like this:
    Tapi tapi = new Tapi();
    Line line = null;
    int ret = tapi.Initialize();
    LINEDEVCAPS dc;
    if (tapi.GetDevCaps(ret, out dc) == 0)
    {
    if (dc.ProviderName == CellTSP.CELLTSP_PROVIDERINFO_STRING)
    {
    line = tapi.CreateLine(ret,
    OpenNETCF.Tapi.LINEMEDIAMODE.INTERACTIVEVOICE,
    OpenNETCF.Tapi.LINECALLPRIVILEGE.NONE);
    }
    }
    if (line != null)
    {
    LINEGENERALINFO lgi = new LINEGENERALINFO(System.Runtime.InteropServices.Marshal.SizeOf(typeof(LINEGENERALINFO)));
    lgi.Store();
    ret = CellTSP.lineGetGeneralInfo(line.hLine, lgi.Data);

    if (ret == 0)
    {
    lgi.Load();
    lgi = new LINEGENERALINFO(lgi.dwNeededSize);
    lgi.Store();
    ret = CellTSP.lineGetGeneralInfo(line.hLine, lgi.Data);
    lgi.Load();

    // use lgi.SubscriberNumber here to get the full subscriber number
    // the first three digits are mcc, the next two are mnc

    }
    }
    tapi.Shutdown();

    Perhaps you also might have a look at http://umtslink.at/cgi-bin/reframer.cgi ../GSM/gsm_kennziffern.htm (it is in German, I know, but perhaps the images will help)

    Hope that helps!

    M. Abraham

  • Radio Interface Library Privileged APIs