Files
MuditaOS/module-bluetooth/Bluetooth/command/PhoneNumberData.cpp
Bartosz Cichocki 31db992c5c [MOS-264] Add handling of signal strength and operator name in HFP
To be able to display signal strength, operator name and
rest of status indicators in Bluetooth's HFP profile, some
refactor has been done.
2022-04-11 11:46:30 +02:00

17 lines
497 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 "PhoneNumberData.hpp"
namespace bluetooth
{
PhoneNumberData::PhoneNumberData(const utils::PhoneNumber::View &view) : view(view)
{}
PhoneNumberData::PhoneNumberData(const utils::PhoneNumber &number) : view(number.getView())
{}
auto PhoneNumberData::getData() -> DataVariant
{
return view;
}
} // namespace bluetooth