64 bit bluetooth application
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Hi, ----- The Bluetooth API on OS X is build on top of IOKit.framework .... IOReturn ret = 0; BluetoothDeviceAddress localBTAddress; The inquiry however works OK in both modes. What does this mean? Thanks Moritz _______________________________________________ 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... I'm still struggeling on bringing a bluetooth application to 64 bit mode. I found this posting in one mailing list Also this is extract from Apple docs: I/O 64-bit applications can use posix read, write, and ioctl APIs to access storage devices and can use sockets for network I/O. However, they won't be able to use IOKitLib and IOUserClient plug-ins to access devices. Does this mean that bluetooth apps can never be 64 bit applications in 10.5? I did a little test with the BluetoothInquiryExample from the XCode distribution and added the following snippet to the startInquiry method IOBluetoothHostController* controller = [IOBluetoothHostController defaultController]; if (controller != NULL) { ret = [controller getAddress:&localBTAddress]; } printf ("Address read returns %X\n", ret); If I set the architecture of the application to "standard 32 bit universal" it works and returns 0. If I set the architecture of the application to "32/64 bit universal" it returns E00002BD as error code. This email sent to site_archiver@lists.apple.com
participants (1)
-
Moritz Gmelin