problem with IOBluetoothRegisterForFilteredRFCOMMChannelOpenNotifications()
problem with IOBluetoothRegisterForFilteredRFCOMMChannelOpenNotifications()
- Subject: problem with IOBluetoothRegisterForFilteredRFCOMMChannelOpenNotifications()
- From: "Daniel Birns" <email@hidden>
- Date: Mon, 16 Apr 2007 19:26:54 -0700
All,
Here's how I call this function:
if (!(listenerRef = IOBluetoothRegisterForFilteredRFCOMMChannelOpenNotifications(
NotificationCallback, this, channelID, kIOBluetoothUserNotificationChannelDirectionIncoming)))
The problem is that the notifier callback is being called when I do an
outbound connect to another device. That outbound connect is done with
IOBluetoothDeviceOpenRFCOMMChannelAsync()
I don't know why this would be happening, but our code gets everything wrong an outbound connections, because we start processing an inbound connection that actually doesn't exist.
Any advice?
--Daniel
_______________________________________________
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