Re: terminal c++ bluetooth application
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com User-agent: Microsoft-Entourage/9.0.6.8320
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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Alexander Traud