Index: sources/bluetooth/BluetoothInterface.h =================================================================== diff -u -raeb915075b9e13e5c1aaf2800ba6db03b6c24a0b -r093155324dda47cba65693b72a2d1b0290d0c29a --- sources/bluetooth/BluetoothInterface.h (.../BluetoothInterface.h) (revision aeb915075b9e13e5c1aaf2800ba6db03b6c24a0b) +++ sources/bluetooth/BluetoothInterface.h (.../BluetoothInterface.h) (revision 093155324dda47cba65693b72a2d1b0290d0c29a) @@ -78,6 +78,9 @@ public: bool isValid( ) const { return _isValid ; } void valid(bool vValid) { _isValid = vValid; } + void mimic(quint16 vSystolic , + quint16 vDiastolic , + quint16 vPulseRate ); protected: void timerEvent(QTimerEvent *event) override; @@ -156,6 +159,7 @@ void printCharacteristics (QLowEnergyService *vService); void notifyStateChange (const BluetoothData &vData); + void notifyBloodPressure (const MUIBloodPressure &vModel); void interpretBloodPressure (const QByteArray &vData); void interpretInformation (); void interpretBattery (const QByteArray &vData); @@ -167,7 +171,7 @@ void didDeviceChange (const BluetoothDeviceData &vDevice); void didDeviceSelect (const BluetoothDeviceData &vDevice); - SAFE_CALL(doStart ) - SAFE_CALL(doScan ) + SAFE_CALL(doStart) + SAFE_CALL(doScan ) }; }