mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-18 12:04:03 -04:00
To be able to display signal strength, operator name and rest of status indicators in Bluetooth's HFP profile, some refactor has been done.
15 lines
443 B
C++
15 lines
443 B
C++
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "SignalStrengthData.hpp"
|
|
|
|
namespace bluetooth
|
|
{
|
|
SignalStrengthData::SignalStrengthData(const Store::SignalStrength &signalStrength) : signalStrength(signalStrength)
|
|
{}
|
|
auto SignalStrengthData::getData() -> DataVariant
|
|
{
|
|
return signalStrength;
|
|
}
|
|
} // namespace bluetooth
|