Index: sources/bluetooth/BluetoothInterface.cpp =================================================================== diff -u -r9dd6d10ac1164c651e8d536673641d1e90981207 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/bluetooth/BluetoothInterface.cpp (.../BluetoothInterface.cpp) (revision 9dd6d10ac1164c651e8d536673641d1e90981207) +++ sources/bluetooth/BluetoothInterface.cpp (.../BluetoothInterface.cpp) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ -/*! +/*! * - * Copyright (c) 2021-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file BluetoothInterface.cpp - * \author (last) Behrouz NematiPour - * \date (last) 10-Nov-2022 + * \author (last) Vy + * \date (last) 05-Sep-2023 * \author (original) Behrouz NematiPour * \date (original) 24-Aug-2021 * @@ -183,7 +183,8 @@ _device->remoteName(), _tempBatt )); #define NOTIFY_DEVICE_CONNECT notifyStateChange(MBluetooth(MBluetooth::eIS_Device_Connect , \ _device->remoteAddress().toString() , \ - _device->remoteName() )); + _device->remoteName(), 0 , \ + _local->pairingStatus(_device->remoteAddress()) )); #define NOTIFY_DEVICE_DONE notifyStateChange(MBluetooth(MBluetooth::eIS_Device_Done , \ _device->remoteAddress().toString() , \ _device->remoteName() )); @@ -193,7 +194,8 @@ 0,0, vError, false )); #define NOTIFY_DEVICE_DISCONNECT notifyStateChange(MBluetooth(MBluetooth::eIS_Device_Disconnect , \ _device->remoteAddress().toString() , \ - _device->remoteName() )); + _device->remoteName(), 0 , \ + _local->pairingStatus(_device->remoteAddress()) )); // ~~~~~~~~~~ Service #define NOTIFY_SERVICE_START notifyStateChange(MBluetooth(MBluetooth::eIS_Service_Start )); #define NOTIFY_SERVICE_DISCOVER notifyStateChange(MBluetooth(MBluetooth::eIS_Service_Discover )); @@ -1194,7 +1196,7 @@ { UIBloodPressureData data = vModel.data(); emit didActionReceive(data); - LOG_APPED(vModel.toString()); + LOG_APPED_UI(vModel.toString()); } /*!