Obviously, this is not ANSI C, but Linux has a large Bluetooth stack that, when connected to D-BUS, allows you to do great things with ease.
You can find tutorials on their wiki .
I hope you enjoy programming Bluetooth on Linux the same way I do.
source
share