How can I get MCC and MNC?

This forum contains short topics that require short answers. Developers arround the world are welcomed to help the community, or to post their own questions.
[C++ development]

Moderators: Teksoft, admin

How can I get MCC and MNC?

Postby tolson007 » Tue Nov 28, 2006 12:30 am

Hi,

I have written a program that uses RIL_GetCellTowerInfo(...). I have tried this code on an HTC Wizard device and all I get back are CellID and LAC. Is there any way to also retrieve the MCC and MCC?

Thanks,
Tim
tolson007
TEK-Newbie
TEK-Newbie
 
Posts: 1
Joined: Mon Nov 20, 2006 6:31 pm

Postby sad_ghost » Thu Nov 30, 2006 12:41 pm

MNC MMC code is an international system for operator identification. First three numbers stand for country code and last 2 (or 3 in the US) stand for operator code.
You should call RIL_GetCurrentOperator(m_hRil,RIL_OPFORMAT_NUM);
Wait for the result in the Ril result callback and the header for the structure that lpdata points to.

Cheers,
Raul
sad_ghost
TEK-Giant
TEK-Giant
 
Posts: 269
Joined: Thu Apr 06, 2006 11:04 am


Return to Pocketpc

Who is online

Users browsing this forum: No registered users and 1 guest