RFCOMMServerSample 2
RFCOMMServerSample 2
- Subject: RFCOMMServerSample 2
- From: <email@hidden>
- Date: Thu, 18 Dec 2008 19:24:58 +0900 (JST)
Hi.
I tried move RFCOMMServerSample of Xcode.
But it didn't move correctly.
Client can connect to Server. But they can't exchange a message.
I found a same topic in this Mailing List.
But changing points are already done.
For examples:
{
incomgingChannelNotification = [IOBluetoothRFCOMMChannel
registerForChannelOpenNotifications:self
selector:@selector(newRFCOMMChannelOpened:) withChannelID:serverChannelID
direction:kIOBluetoothUserNotificationChannelDirectionIncoming];
should be changed with:
incomgingChannelNotification = [IOBluetoothRFCOMMChannel
registerForChannelOpenNotifications:self
selector:@selector(newRFCOMMChannelOpened:channel:)
withChannelID:serverChannelID
direction:kIOBluetoothUserNotificationChannelDirectionIncoming];
}
and:
{
incomgingChannelNotification unregister];
change it into:
if (incomgingChannelNotification != nil)
[incomgingChannelNotification unregister];
incomgingChannelNotification = nil;
}
It was indicated the debug "selector not recognized", too.
My Mac OS X is 10.5.5.
How can I do?
I'm in trouble so much.
Please tell me.
Thank you reading.
Kein
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
_______________________________________________
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