Index: sources/bluetooth/BluetoothInterface.h =================================================================== diff -u -r9ae3b0d6624904693329309aaf8ff02784c17184 -r1d6adeff8df4dc9395d6a2aee3c7f33d903c4711 --- sources/bluetooth/BluetoothInterface.h (.../BluetoothInterface.h) (revision 9ae3b0d6624904693329309aaf8ff02784c17184) +++ sources/bluetooth/BluetoothInterface.h (.../BluetoothInterface.h) (revision 1d6adeff8df4dc9395d6a2aee3c7f33d903c4711) @@ -23,6 +23,7 @@ #include "main.h" // Doxygen : do not remove #include "MBluetooth.h" #include "MUIBloodPressureData.h" +#include "DeviceModels.h" // Define #define _BluetoothInterface Bluetooth::BluetoothInterface::I() @@ -72,6 +73,7 @@ QBluetoothDeviceInfo _temp ; quint8 _tempBatt = 0 ; + bool _tryingrepairActive = false ; bool _reconnectionActive = false ; const quint16 _interval = 1000 ; // the interface timer base interval in mSec @@ -120,6 +122,8 @@ void onDeviceSelect (const BluetoothDeviceData &vDevice); + void onAttributeResponse (const DeviceBluetoothPairedQueryResponseData &vData); + private: bool startScan (); bool stopScan (); @@ -167,7 +171,7 @@ void didDeviceChange (const BluetoothDeviceData &vDevice); void didDeviceSelect (const BluetoothDeviceData &vDevice); - SAFE_CALL(doStart) - SAFE_CALL(doScan ) + SAFE_CALL(doStart) // start the bluetooth adapter. + SAFE_CALL(doScan ) // scan for devices. }; }