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

Radio Interface Library Privileged APIs
TheViewMaster
Zero_
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
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