Files
MuditaOS/module-bluetooth/Bluetooth/command/BatteryLevelData.hpp
Bartosz Cichocki 2be81bdf0a [MOS-365] Add BT battery handling
Added handling of the battery state in HFP profile
2022-04-13 09:46:21 +02:00

21 lines
455 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 CommandData
{
public:
explicit BatteryLevelData(const BatteryLevel &level);
auto getData() -> DataVariant override;
private:
BatteryLevel level;
};
} // namespace bluetooth