APIs for Bluetooth parameters on Macbook

Please let know the C++(preferably) or Objective-C APIs to fetch the below parameters for Bluetooth on 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


I could find how to read RSSI from https://developer.apple.com/documentation/iobluetooth/iobluetoothdevice/1434998-rawrssi?language=objc.


But I cannot find the above 10 parameters from IOBlueToothDevice.

APIs for Bluetooth parameters on Macbook
 
 
Q