Index: sources/model/hd/data/MHDUsageInfoResponse.cpp =================================================================== diff -u -r6be40239ce52d641692de158a044af0a54cde1e8 -rc4dffe90d1a236a107599027b0b4248d25314af6 --- sources/model/hd/data/MHDUsageInfoResponse.cpp (.../MHDUsageInfoResponse.cpp) (revision 6be40239ce52d641692de158a044af0a54cde1e8) +++ sources/model/hd/data/MHDUsageInfoResponse.cpp (.../MHDUsageInfoResponse.cpp) (revision c4dffe90d1a236a107599027b0b4248d25314af6) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2020-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2023-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 MHDUsageInfoResponse.cpp - * \author (last) Vy Duong - * \date (last) 08-Sep-2021 - * \author (original) Vy Duong - * \date (original) 08-Sep-2021 + * \author (last) Dara Navaei + * \date (last) 16-Sep-2024 + * \author (original) Vy + * \date (original) 08-Sep-2023 * */ #include "MHDUsageInfoResponse.h" @@ -21,8 +21,6 @@ _data.mTotalTxHours .value, _data.mTotalTxHoursSinceLastService .value, _data.mEpochOfStartOfLastTx .value, - _data.mEpochOfLastRecordReset .value, - _data.mCrc .value, }; } @@ -31,14 +29,10 @@ if (GetValue(vByteArray, index, _data.mTotalTxHours )) if (GetValue(vByteArray, index, _data.mTotalTxHoursSinceLastService )) if (GetValue(vByteArray, index, _data.mEpochOfStartOfLastTx )) - if (GetValue(vByteArray, index, _data.mEpochOfLastRecordReset )) - if (GetValue(vByteArray, index, _data.mCrc )) return true ; else { if(vIndex) *vIndex = index; return false; } else { if(vIndex) *vIndex = index; return false; } else { if(vIndex) *vIndex = index; return false; } - else { if(vIndex) *vIndex = index; return false; } - else { if(vIndex) *vIndex = index; return false; } } /*! @@ -51,7 +45,5 @@ data.mTotalTxHours = _data.mTotalTxHours .value; data.mTotalTxHoursSinceLastService = _data.mTotalTxHoursSinceLastService.value; data.mEpochOfStartOfLastTx = _data.mEpochOfStartOfLastTx .value; - data.mEpochOfLastRecordReset = _data.mEpochOfLastRecordReset .value; - data.mCrc = _data.mCrc .value; return data; }