We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2017-11-10 12:21:25 +0200

Verifying QtBluetooth with Bluez5

Hey all,

I have made a request to add the QtBluetooth to the Harbour allowed APIs: https://github.com/sailfishos/sdk-harbour-rpmvalidator/issues/99

@Joona Petrell told that they would accept help from the community in the form of validation of the following:

QBluetoothLocalDevice test information queries, powering on/off, pairing/unpairing
QBluetoothDeviceDiscoveryAgent discover nearby devices, check that correct device info is exposed
QBluetoothServer can be used to communicate with Bluetooth device
QBluetoothServiceDiscoveryAgent returns valid services and service info
QBluetoothTransferManager can be used to transfer data to another device

I would like to help with it, so I have been thinking about the following: - Create an application in Qt which utilizes the QtBluetooth library and write a frontend for both Sailfish and Android. Backend, features should be the same just the frontend shall be adopted to the two platforms. - This application shall be able to perform the following tasks: * Scan nearby devices log them * Read the services/service info from a specific device - The users should be able to upload the service reports to a central server identified by the Bluetooth device's MAC address.

For validation the same device should be discovered with the app from Android and Sailfish by the validation users. Sailfish related malfunctions will be identified by the non matching results.

I feel that this idea is a bit overkill and rise some privacy contents, so feel free to comment on this.

I would also be curious about @Joona Petrell 's opinion on this topic.

Thanks in advance!