How to Rebuild Bluez

How to rebuild bluez

The quickest way to do this is just to remake the whole bluez package with the following commands:

./configure
make
make install

After that, you can run the configured bluetoothd executable form the /src directory by using ./bluetoothd, or replacing the bluetoothd in /usr/sbin with the bluetoothd executable in /src so that every time the bluetoothd command is passed, the new configured executable is called.

Hope this helps.

Bluez, deinstallation before make from source?

Best practice is probably to rebuild the RPM. We have bluez 5.39 in Fedora 23 (and 24) currently — this is one minor release behind the latest. If you need the newest, you could grab it from Rawhide, Fedora's development branch.

Then, modify the spec file to enable the experimental features you need (presumably in this case by putting --enable-experimental on the %configure line.

When you modify the specfile, add something like .experimental.1 to the end of the Release: field. That way, it will be counted as a newer update, and you can dnf update bluez-5.39-1.fc23.experimental.1.x86_64.rpm. (Update that final .1 whenever you make a change, as a form of rudimentary version control.) Then, use the DNF versionlock plugin to make sure updates don't override it, and when new versions come out, update at your leisure.

How you use SCO in BLUEZ?

HFP SLC should be established before SCO connection.
HFP Service Level Connection (SLC) will be established by oFono and writing SCO data is implemented by pulseaudio.

First make sure HFP profile is connected then you can try with above code.



Related Topics



Leave a reply



Submit