Doug Null
Doug Null

Reputation: 8327

How to use iOS CNCopyCurrentNetworkInfo to read WIFI signal strength (RSSI)?

I need to get the signal strength of an iPHone's present WiFi connection. (This is just a development experiment and not an app that will go to app store.)

I've searched CNCopyCurrentNetworkInfo reference but can't see how to do it.

Needs to be for iOS 8.

Upvotes: 1

Views: 2414

Answers (1)

Daij-Djan
Daij-Djan

Reputation: 50119

if you want to be App Store conform I see no way -- there is no public api for that


the answer here mentioned a C function that does what you want but it isn't public api:
Accessing iPhone WiFi Information via SDK
further info on how to use that function:
Accessing & Using the MobileWiFi.framework
NOTE: private api may break at any point and this might even be broken already anyways

CCNCopyCurrentNetworkInfo won't help you AFAIK -- you CAN misuse the captive networks API to get the current SSID but I don't see how it could get you the RSSI

Upvotes: 2

Related Questions