|Summary:||ASTERISK-05242: CVS btp (chan_btp) update due to update in libbluetooth1-dev (debian/2.19-1)|
|Reporter:||Shane Spencer (whardier)||Labels:|
|Date Opened:||2005-10-04 23:10:42||Date Closed:||2005-10-13 20:22:36|
|Environment:||Attachments:||( 0) btp_libbluetooth_fixup.txt|
|Description:||Updated name in bluetooth/hci.h to the following:|
DEFINE of OCF_GET_LINK_QUALITY is now OCF_READ_LINK_QUALITY
as well as the struct get_link_quality_rp is now read_link_quality_rp
apparently get was too crazy a word :)
****** ADDITIONAL INFORMATION ******
This unified diff is CVS of btpd.c version 1.1
|Comments:||By: Michael Jerris (mikej) 2005-10-04 23:12:57|
do we need to do some sort of check for a version so it works with both old and new?
By: Shane Spencer (whardier) 2005-10-05 01:50:49
I use libbluetooth1 from Debian/unstable, I also just retrieved the source from Debian/stable and it contained the most recent "read_link_quality" vs the old "get_link_quality" as well as many other entities that transitioned from "get" to "read" in naming.
I cannot for the life of me find any older bluetooth libs i Debians past releases to snag source for. bluez/libbluetooth/etc.. just isn't there. If somebody out there is using a different distro some feedback on this would be interesting.
As another note.. has anybody gotten this to work.. I have it installed and I am getting positive results from btpd about a detected bluetooth device, however its not sending the information to the asterisk machine (tcpdump confirms this) and btp.conf/btpd.conf are set up accordingly on both machines (the bluetooth monitor and the asterisk system).
By: Kevin P. Fleming (kpfleming) 2005-10-13 20:22:05
Committed to CVS HEAD, thanks! (This also fixed building on SUSE Pro 9.3)