hi ! i'm creating a simple BlueTooth phone number dialer/SMS manager. I've succeeded creating a RFCOMMChannel to my T68i and i have avoided using /dev/modem unix style device connection. here is how i open the RFCOMMChannel : [mainBTDevice openRFCOMMChannelSync:&modemConnectionChannel withChannelID:1 delegate:self]; the problem is how to choose my channelID: i have tried to do like Apple with their chat client/server example but it does not really work in my case because i do not need to publish a service... i've tried random channel from 0 to 10, only the channel from 1 to 5 seems to work for me to connect to my T68i modem. How am i supposed to choose the channelID ? is it a manufacturer document ? can i be sure the channel is available and not already in use ? am i supposed to scan channelID until connection succeed ? Apple documentation is really poor an the subject, or i did not found it ! thanks ! _______________________________________________ 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)
-
Aurélien Hugelé