Files
MuditaOS/module-bluetooth/Bluetooth/command/BatteryLevelData.hpp
Adam Dobrowolski 2664e8ccec [MOS-487] Move switch case to sm
massive switch case removed
added logger
moved state machine implementation
added double dispatch
2022-05-26 16:19:02 +02:00

21 lines
450 B
C++

// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include "CommandData.hpp"
namespace bluetooth
{
class BatteryLevelData : public Action
{
public:
explicit BatteryLevelData(const BatteryLevel &level);
auto getData() -> DataVariant override;
private:
BatteryLevel level;
};
} // namespace bluetooth