How to retrive cellular network information from XCode, iPhone?
Is there any APIs available in which can provide me with the following details:
- Signal Quality
- Country Code
- Network Code
- Area Code
- Cell ID
- Base Station ID
- GPRS Cell ID
- GPRS Base Station ID
- Signal Strength;
- 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.
精彩评论