IOBluetoothDeviceOpenRFCOMMChannelAsync fails on Leopard\Intel
IOBluetoothDeviceOpenRFCOMMChannelAsync fails on Leopard\Intel
- Subject: IOBluetoothDeviceOpenRFCOMMChannelAsync fails on Leopard\Intel
- From: Christian Martin <email@hidden>
- Date: Tue, 6 May 2008 15:24:45 -0400
- Importance: Normal
Hi, I had an application that worked perfectly well on Tiger/Intel. Oddly, the same code fails on Leopard/Intel. Any reason why ? IOReturn ret = IOBluetoothDevicePerformSDPQuery(m_device, NULL, NULL);
CFArrayRef deviceServices = IOBluetoothDeviceGetServices(m_device);
IOBluetoothSDPServiceRecordRef svRec = (IOBluetoothSDPServiceRecordRef) CFArrayGetValueAtIndex(deviceServices, 0);
ret = IOBluetoothSDPServiceRecordGetRFCOMMChannelID(svRec, &m_rfcommChannelID);
if (ret != kIOReturnSuccess) goto err;
ret = IOBluetoothDeviceOpenRFCOMMChannelAsync(m_device, &m_RFCOMMChannelRef, m_rfcommChannelID, Callback_OnEvent, this);
********* FAILS HERE !!??? Thx
You could win $1000 a day, now until May 12th, just for signing in to Windows Live Messenger. Check out SignInAndWIN.ca to learn more!
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden