Bluetooth deprecated functions
Bluetooth deprecated functions
- Subject: Bluetooth deprecated functions
- From: Luigi Castelli <email@hidden>
- Date: Fri, 9 Feb 2007 14:34:31 -0800 (PST)
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 email@hidden 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden