~aleteoryx/muditaos

ref: cefe442d77fd7fbf392325f1b6768408e729722d muditaos/module-services/service-bluetooth/service-bluetooth/messages/SetBondedDevices.hpp -rw-r--r-- 649 bytes
cefe442d — Lukasz Skrzypczak [EGD-3685] PR fixes 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include <Service/Message.hpp>
#include "service-bluetooth/BluetoothMessage.hpp"
#include <string>

namespace message::bluetooth
{
    class SetBondedDevices : public BluetoothMessage
    {
      public:
        SetBondedDevices(std::vector<Devicei> devices) : devices(std::move(devices))
        {}
        [[nodiscard]] auto getDevices() const -> std::vector<Devicei>
        {
            return devices;
        }

      private:
        std::vector<Devicei> devices;
    };
} // namespace message::bluetooth