From IOBluetoothUserLib.h
/ /----------------------------------------------------------------------- --------------------------------------------------- /*! @function IOBluetoothLocalDeviceAvailable @abstract Determines if a bluetooth device is available on a local machine or not. @result A Boolean value. TRUE if a Bluetooth device is connected to the local machine, FALSE otherwise. @discussion Determines if a bluetooth device is available on a local machine or not. */ extern Boolean IOBluetoothLocalDeviceAvailable(); On Jul 12, 2004, at 9:58 AM, Aurilien Hugeli wrote:
hi !
i'm creating a BT enabled application and i need to disable most
controls if the machine is not BT enabled (has no internal BT dongle
or USB dongle...)
is there a *simple* API to know that ? i would prefer avoiding using
low level stuff... my only idea is to look for a device called
"cu.Bluetooth-Modem" in /dev/ but i find it too hacky...
thanks !
_______________________________________________
bluetooth-dev mailing list | bluetooth-dev@lists.apple.com
Help/Unsubscribe/Archives:
Do not post admin requests to the list. They will be ignored.
_______________________________________________ bluetooth-dev mailing list | bluetooth-dev@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/bluetooth-dev Do not post admin requests to the list. They will be ignored.