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
Process Stuck in Exit, Shows as Zombie But Cannot Be Reaped
Changing Color of Eclipse Links in Quick Fix or Eclipse Links in Preferences on Linux
How to Store Linux Command Output into a Variable in Puppet
Split Delimited File into Smaller Files by Column
Docker Container Accessible Only via Cloudflare Cdn (Selected Ip Ranges)
What Is Echo $? in Linux Terminal
How to Enable/Disable Kernel Kaslr, Smep and Smap
Argument List Too Long When Concatenating Lots of Files in a Folder
Getting Github Files (And Updates) Onto an Ubuntu Web Server
How to Add Boost Library to Code::Blocks in Linux
Why Do We Need to Call Poll_Wait in Poll
Best Text Search Engine for Integrating with Custom Web App
How to Change the Watchdog Timer in Linux Embedded
Ignore Case When Trying to Match File Names Using Find Command in Linux