Re: how to know if this computer is BT enabled ?
You can do this: BOOL hasADevice; hasADevice = IOBluetoothLocalDeviceAvailable(); Or hasADevice = (kIOReturnSuccess == IOBluetoothGetVersion( NULL, NULL )); These functions can be found in IOBluetooth/IOBluetoothUserLib.h. jason
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.
participants (1)
-
Bubba Giles