How to change the Class of Device?
Hi. I'm working in a project were a prototype to help persons with special needs is developed. Bluetooth is the central link, where I'm using an iBook with Mac OS X Panther installed. I have build the applications in the Carbon environment in C and I have come to a point where I must Change the Class of Device on the computer. Too bad for me, there is no C: API to do this, (what I can see). I have also searched for a serial driver to establish an serial port to the Bluetooth USB Adapter and send raw HCI Commands. No success here either. The Bluetooth driver AppleUSBBluetoothHCIController seems to have the HCI stack included without the possibility to establish a simple serial port through it. Em I right? My last discovery was the IOBluetoothHCIController.h file in the Kernel framework under the IOKit folder. I believe this is the header file for the Bluetooth Driver, em I right? In this file a method called BluetoothHCIWriteClassOfDevice are located, which could solve my problem. This function is protected which makes it hard to use, I think. My quite big question is: how can I use this function from my Carbon application? Is it possible to make some conversion of this method to my C environment? Or must I make my own Kernel Driver as a Sub Class to the IOBluetoothHCIController Class and make my own conversion? How can I do it? This was many questions, but it is also a really important feature in my application. I hope someone has time and knowledge to give me some guidelines in this issue. Thanks in advice. /Tommy _______________________________________________ bluetooth-dev mailing list | bluetooth-dev@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/bluetooth-dev Do not post admin requests to the list. They will be ignored.
participants (1)
-
Tommy Gunnarsson