Bluetooth deprecated functions
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=0bAyZMPCj+36nrcej3udbgchOhSBzeHue1Ra44hwoz8VPGxvZIyYfgw9DGFFH13sqOkHT7Qxcj+ZP6Kb1gxxIva9A4dest1i62VM6ZZPIvxSwcF/6XrtzCzxEf2vnfV/RW/4vDqIOsgasIXEZPPKWU9iBKJs0Lq0x1c5h/MGD2o=; Hi there, I am writing a bluetooth HID device driver. So far I am just implementing the routines to detect and find devices in range. I am using inquiries from <IOBluetooth/IOBluetoothUserLib.h> because I cannot and don't want to display any GUI element. Now, I have 2 questions: 1 - I have read online that Apple doesn't really recommend to use inquiries to search for Bluetooth devices, however - if I don't want any GUI or window to pop-up - it seems inquiries are the only method... or am I overlooking something? Is there a better way to do it? 2 - (It is probably related to 1) My compiler (X-Code) says that pretty much all functions called from IOBluetoothUserLib.h are deprecated. My driver finds Bluetooth devices anyway, however things don't run as smooth and are not as stable as I would like. (sometimes devices are not found right away and I have to perform more inquiries, some other times IOBluetoothUserLib.h functions return errors and are not able to open the needed channels, etc...) I am wondering if there's a better solution to do what I am doing. Let me know if seeing some code might help to address the issue. I have no problem sharing my code. Any suggestion or advice is highly appreciated. Thank you. - Luigi Castelli ------------------------------------------------------------ THIS E-MAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED RECIPIENT AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION. ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED. IF YOU ARE NOT THE INTENDED RECIPIENT, CONTACT THE SENDER BY E-MAIL AT SUPERBIGIO@YAHOO.COM AND DESTROY ALL COPIES OF THE ORIGINAL MESSAGE. WITHOUT PREJUDICE UCC1-207. ------------------------------------------------------------ ____________________________________________________________________________________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. _______________________________________________ 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)
-
Luigi Castelli