Re: choosing a RFCOMMChannel channelID ?
I use kBluetoothSDPUUID16ServiceClassDialupNetworking because I see
AddressBook use this channel (for the phones I tested). Since this is
the same channel as AB, I gracefully free the connection when AB is
launched, and re-establish it when it is quit.
how did you find this is the SDPUUID service used by AB ?
Because there *seem* to be standards saying channel ID 1 is kBluetoothSDPUUID16ServiceClassDialupNetworking. And with BluetoothMonitor, it seem AB always connect to channel ID 1 :-/ I guess.... As you said, Apple lacks documentations and guidelines about this.
I think this is the better way for application providing the same
features as AB in a different way, like BuddyPop or your product.
There would be conflicts if people install both your product and
BuddyPop, but that's life !
i dont understand something : you mean that you detect the AB.app
launch, close your connection to let AB connect itself ? then at quit,
you reopen your connection ?
i suppose you have done this via NSWorkspace notifications ?
You're right :-) I catch AB launch and Bluetooth File Exchange -- Yann Bizeul - yann at tynsoe.org http://projects.tynsoe.org/ _______________________________________________ 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)
-
Yann Bizeul