Bluetooth function IOBluetoothRegisterForDeviceConnectNotifications does not work on macOS Monterey

When we try to run our code that uses the IOBluetoothRegisterForDeviceConnectNotifications function we get a "missing symbol" crash on macOS Monterey Beta 3.

Was this function deprecated starting from macOS Monterey? On macOS BigSur everything is work as expected. If yes, is there any workaround or other function which can be used?

P.S: a simple code was added (main.cpp.txt)

The sample code was tested with the latest update (Beta 4) but without any result, the problem persists.

Bluetooth function IOBluetoothRegisterForDeviceConnectNotifications does not work on macOS Monterey
 
 
Q