• 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
Re: Mac APIs for Bluetooth networking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac APIs for Bluetooth networking?


  • Subject: Re: Mac APIs for Bluetooth networking?
  • From: Josh Graessley <email@hidden>
  • Date: Thu, 09 Jul 2009 08:51:04 -0700


The easiest thing to do is use bonjour and sockets (through CF or NS). If Mac OS adopts the Bluetooth device to device support from the phone, your framework will just work.


If you want to roll your own solution, I'm not sure BT provides the APIs to do that. You will need to pick one of the common Bluetooth protocols, I'd recommend PAN. You'll need to discover other devices and bring up the PAN connection to communicate with them. Again, I have no idea how much of this can be done programitically. Ideally you would advertise the services you're interested in over Bluetooth prior to establishing the PAN connection. I doubt there is a good way to do that. If you do get all of that working, I'm not sure how well it will work with Apples implementation if Apple adds the BT device to device support from the iPhone OS to Mac OS.

Sent from my iPhone

On Jul 9, 2009, at 7:59, Jens Alfke <email@hidden> wrote:

Hopefully this isn't too off-topic...

I'm interested in making my MYNetwork library support Bluetooth. So I'd like to know what the right OS X APIs are for using Bluetooth for service discovery (like Bonjour) and peer-to-peer messaging. It would be ideal if there were an API for reliable delivery of variable-length messages, but failing that, if there's a TCP-like bidirectional streaming API, I can run my BLIP protocol over it.

In short, I want to do basically what the P2P messaging API in iPhone OS 3.0 does, but on Mac OS. (Bonus points if it could interoperate with that API, but not required.)

[I'm sure there are Bluetooth-specific lists, but as BT is used for such a variety of other purposes, and I know nothing about it, I thought a network-focused list might be a better place to start :)]

—Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Mac APIs for Bluetooth networking?
      • From: Jens Alfke <email@hidden>
References: 
 >Mac APIs for Bluetooth networking? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Mac APIs for Bluetooth networking?
  • Next by Date: Re: Mac APIs for Bluetooth networking?
  • Previous by thread: Mac APIs for Bluetooth networking?
  • Next by thread: Re: Mac APIs for Bluetooth networking?
  • Index(es):
    • Date
    • Thread