Where is the bluetooth/bluetooth.h located in Linux?

Solution 1:

You need to install libbluetooth-dev package for compiling your code

sudo apt-get install libbluetooth-dev

That should install the bluetooth header files.

Solution 2:

For Fedora, you can use:

sudo dnf install bluez-libs-devel