A simple test program, that uses Qt's QBluetoothDeviceDiscoveryAgent and a BluetoothAdapter class to scan for Bluetooth devices on a Jolla under SailfishOS.
Find the in depth documentation at http://www.drechsler-it.de/Jolla_SFOS_BluetoothDiscovery.html