IOBluetoothLocalDeviceReadName
I have a question about the IOBluetoothLocalDeviceReadName function. When the Bluetooth USB dongle is plugged in and I start my application this function returns the machine name. However, if I unplug/plug the USB when my application is active, the IOBluetoothLocalDeviceReadName callback always returns what appears to be the USB device default name (i.e. Broadcom BCM2033) instead of the machine name. Is their any notification that can tell me when the firmware download to the USB dongle is complete so that I don't request the local device name prematurely? Or, can the callback from IOBluetoothLocalDeviceReadName be changed to only return when the firmware download to the Bluetooth USB dongle is complete? I also tried using while(!(IOBluetoothLocalDeviceAvailable()) as the delay before requesting the local name and this was unsuccessful as well. I ended up using a time delay as a workaround. I was hoping to get around this since the time delay required may be different depending on machine speed. Thanks, Paul Davis _______________________________________________ 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)
-
Paul Davis