Index: sources/bluetooth/BluetoothInterface.h =================================================================== diff -u -raa8f2c87c14c68d1fda6da2540d47144990a596c -rb252cd2777aadbce2d04aa32cc275f193de0cf52 --- sources/bluetooth/BluetoothInterface.h (.../BluetoothInterface.h) (revision aa8f2c87c14c68d1fda6da2540d47144990a596c) +++ sources/bluetooth/BluetoothInterface.h (.../BluetoothInterface.h) (revision b252cd2777aadbce2d04aa32cc275f193de0cf52) @@ -116,7 +116,12 @@ void onServiceError ( QLowEnergyService::ServiceError vError ); void onServiceStateChanged ( QLowEnergyService::ServiceState vState ); + void onDeviceSelect (const BluetoothDeviceData &vDevice); + private: + bool startScan (); + bool stopScan (); + void initConnections (); void initConnectionsDevice (); void initConnectionsService (QLowEnergyService *vService); @@ -155,6 +160,8 @@ signals: void didStateChange (const BluetoothData &vData); void didActionReceive (const UIBloodPressureData &vData); + void didDeviceChange (const BluetoothDeviceData &vDevice); + void didDeviceSelect (const BluetoothDeviceData &vDevice); SAFE_CALL(doStart ) SAFE_CALL(doScan )