Re: terminal c++ bluetooth application
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