• 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: terminal c++ bluetooth application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: terminal c++ bluetooth application


  • Subject: Re: terminal c++ bluetooth application
  • From: Alexander Traud <email@hidden>
  • Date: Mon, 21 Nov 2005 10:51:42 +0100

> Are their any example codes, how to use bluetooth in c++?

The Apple Bluetooth Software C header itself might be a better start than
Apple's C example:
http://developer.apple.com/documentation/DeviceDrivers/Reference/IOBluetooth
/IOBluetoothUserLib/

The link above and more documentation can be found here:
http://developer.apple.com/documentation/DeviceDrivers/Bluetooth-date.html
All headers without an "Objective-C" above them, are normal C headers.

Then have a look at Apple's Bluetooth examples to learn about some nice
quirks for older Apple Bluetooth Software versions.

You can use them in C++ as normal but it might be convenient to write small
wrapper classes. Thanks to the good naming conventions, it is quite is easy
to combine them: Same beginning of name = same class; first parameter
constant member of class initialised in a constructor. A conversion to an
object oriented way is quite easy this way.

Anyway I have to (although not like to) recommend Objective-C as the
programming language for Mac OS X user space.

 _______________________________________________
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

References: 
 >terminal c++ bluetooth application (From: Manuel Meyer <email@hidden>)

  • Prev by Date: Re: terminal c++ bluetooth application
  • Next by Date: Bluetooth Pairing Information
  • Previous by thread: Re: terminal c++ bluetooth application
  • Next by thread: Bluetooth Pairing Information
  • Index(es):
    • Date
    • Thread