Query on BlueTooth and Wifi Parameters for Macbook

Hello,


Please let know the C++(preferably) or Objective-C APIs to fetch the below parameters for Bluetooth and Wifi for Macbook:


Bluetooth Parameters:

-----------------------------

1) BTRadioOnAC_Pct - percentage of time the radio was on when the system was on AC

2) BTConnectedAC_Pct - percentage of time the Bluetooth module was connected when the system was on AC.

3) BTDisconnectedAC_Pct - percentage of time the module was not connected when the system was on AC.

4) BTRadioOnDC_Pct - same as above but for DC

5) BTConnectedDC_Pct - same as above but for DC

6) BTDisconnectedDC_Pct - same as above but for DC

7) Packet Loss

8) Latency

9) Power consumption

10) Data Rate

11)RSSI


WIFI Parameters:

------------------------

1) WLanRadioOffAC_Pct - percentage of time the radio was off when the system was on AC.

2) WlanConnectedAC_Pct - percentage of time the WLAN adapter was connected when the system was on AC

3) WlanDisconnectedAC_Pct -percentage of time the adapter was not connected when the system was on AC

4) WlanRadioOffDC_Pct - same as above but for DC

5) WlanConnectedDC_Pct - same as above but for DC

6) WlanDisconnectedDC_Pct - same as above but for DC

7) Quality Parameters

a. Noise

b. RSSI

c. Transmit Rate

d. Transmit Power

8) Additional parameter:

a. bssidDidChange

b. countryCodeDidChange

c. linkDidChange

d. linkQualityDidChange

e. modeDidChange

f. powerDidChange

g. ssidDidChange

h. scanCacheUpdated

i. rangingReportEvent

j. virtualInterfaceStateChanged

Replies

I can only address the Wi-Fi side of this. For the Bluetooth side, I recommend that you create a new thread over in the Core OS > Bluetooth topic area.

macOS has a fairly comprehensive Wi-Fi API, Core WLAN. It vends some, but probably not all, of the info you’re looking for. Check it out and then post back with specific questions.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"