Can't close RFCOMM channel.
Can't close RFCOMM channel.
- Subject: Can't close RFCOMM channel.
- From: Tor Langballe <email@hidden>
- Date: Mon, 29 Nov 2004 03:09:56 +0100
Hello,
I have an open RFCOMM serial channel opened with a listener, that I
successfully send data to and want to close it:
I check if it's open and it is.
When I call IOBluetoothRFCOMMChannelCloseChannel() to close it I get
the error:
0xE00002C2 (kIOReturnBadArgument)
I then check if it's still open and it still is.
int open;
open =
::IOBluetoothRFCOMMChannelIsOpen((IOBluetoothRFCOMMChannelRef)p-
>rfcomm);
err =
::IOBluetoothRFCOMMChannelCloseChannel((IOBluetoothRFCOMMChannelRef)p-
>rfcomm);
open =
::IOBluetoothRFCOMMChannelIsOpen((IOBluetoothRFCOMMChannelRef)p-
>rfcomm);
This seems to simple to not work, what can I be doing wrong?
Regards,
Tor Langballe
PS: I'm running Mac OS X 10.3.6 on a powerbook with build in bluetooth
newly firmware updated.
_______________________________________________
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