Sample project for talking BLE with the https://github.com/OpenBluetoothToolbox/SimpleBLE library.
Install SimpleBLE C++ version with:
git clone https://github.com/OpenBluetoothToolbox/SimpleBLE.git
cd SimpleBLE
cmake simpleble -B build_simpleble
cmake --build build_simpleble
cmake --install build_simpleble
You may need sudo for the install step.
mkdir build/
cd build/
cmake ..
cmake --build .
cd build/
./hello-ble