~aleteoryx/muditaos

ref: 31db992c5ce75517c72fed5a4f7d8b051635894a muditaos/module-bluetooth/Bluetooth/command/PhoneNumberData.cpp -rw-r--r-- 497 bytes
31db992c — Bartosz Cichocki [MOS-264] Add handling of signal strength and operator name in HFP 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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