Index: sources/bluetooth/BluetoothInterface.h =================================================================== diff -u -r9ae3b0d6624904693329309aaf8ff02784c17184 -r47c8f13876317ba36500400f894d96c9bce9eb17 --- sources/bluetooth/BluetoothInterface.h (.../BluetoothInterface.h) (revision 9ae3b0d6624904693329309aaf8ff02784c17184) +++ sources/bluetooth/BluetoothInterface.h (.../BluetoothInterface.h) (revision 47c8f13876317ba36500400f894d96c9bce9eb17) @@ -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() @@ -120,6 +121,8 @@ void onDeviceSelect (const BluetoothDeviceData &vDevice); + void onAttributeResponse (const DeviceBluetoothPairedQueryResponseData &vData); + private: bool startScan (); bool stopScan (); @@ -167,7 +170,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. }; }