Hello,
Is there a way to get the wifi signal strength as, say, a value between 0 and 1, or similar in a macOS application? And would it also be possible to recieve a function call when the singal strength changes so I can run some code when that happens?
Thanks in advance. Any help is appreciated.
Claude31 wrote:
You may also look at [
]CWInterface
Yep. On macOS that’s the recommended approach.
Adalex3 wrote:
And would it also be possible to recieve a function call when the singal strength changes so I can run some code when that happens?
You should be able to get notifications via
CWWiFiClient
, and specifically the
-linkQualityDidChangeForWiFiInterfaceWithName:rssi:transmitRate:
delegate callback.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"