Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to BlueZ-5.35 #78

Closed
rmoshiri opened this issue Oct 5, 2015 · 2 comments
Closed

Upgrade to BlueZ-5.35 #78

rmoshiri opened this issue Oct 5, 2015 · 2 comments

Comments

@rmoshiri
Copy link

rmoshiri commented Oct 5, 2015

I tried to replace the bluez-5.29 in this package, with the latest bluez-5.35 release.
Got compile error in "bluepy-helper.c", line 462. Made minor change there, and it
seems to work. I just set the new flag passed to the subroutine as "false". That
should be OK as it is for an external encryption option.

Just in case you want to upgrade and test it, below were the chaanges:

sudo leafpad Makefile (Change Bluez version's Directory)
BLUEZ_PATH=../bluez-5.35
sudo leafpad bluepy-helper.c (Add "false" for a 3rd/new parameter RE external encryption)
Line 462: attrib = g_attrib_new(iochannel, mtu, false);

@raplin
Copy link

raplin commented Dec 29, 2015

FYI This fix is required & works when building against bluez 5.37 (latest at time of writing) also. Thanks!

@IanHarvey
Copy link
Owner

bluepy 1.2.0 now uses code from bluez 5.47, so I'll close this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants