开发者

How to retrive cellular network information from XCode, iPhone?

Is there any APIs available in which can provide me with the following details:

  1. Signal Quality
  2. Country Code
  3. Network Code
  4. Area Code
  5. Cell ID
  6. Base Station ID
  7. GPRS Cell ID
  8. GPRS Base Station ID
  9. Signal Strength;
  10. Max Signal Strength

But what I need if it is not available to retrive Signal Strength in dbm

Note: I can get this information manually by dialing 3001#12345# as shown in the following screen shot from my开发者_开发知识库 iPhone (Signal Strength showed in the upper left corner in dbm):

https://picasaweb.google.com/lh/photo/Qf6MBY2jtfpWImTyTHk4Gg?feat=directlink


Apple has not officially provided any API to calculate the signal strength. But you can refer to official Core Telephony framework (CTCarrier Class) to get some of the details such as Country Code,Network Code etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜