• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
choosing a RFCOMMChannel channelID ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

choosing a RFCOMMChannel channelID ?


  • Subject: choosing a RFCOMMChannel channelID ?
  • From: Aurélien Hugelé <email@hidden>
  • Date: Thu, 24 Jun 2004 14:45:57 +0200

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 | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: choosing a RFCOMMChannel channelID ?
      • From: Yann Bizeul <email@hidden>
    • Re: choosing a RFCOMMChannel channelID ?
      • From: Petteri Kamppuri <email@hidden>
  • Prev by Date: BPP
  • Next by Date: Re: choosing a RFCOMMChannel channelID ?
  • Previous by thread: BPP
  • Next by thread: Re: choosing a RFCOMMChannel channelID ?
  • Index(es):
    • Date
    • Thread