Files
MuditaOS/module-bluetooth/Bluetooth/command/BatteryLevelData.cpp
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

15 lines
390 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 "BatteryLevelData.hpp"
namespace bluetooth
{
BatteryLevelData::BatteryLevelData(const BatteryLevel &level) : level(level)
{}
auto BatteryLevelData::getData() -> DataVariant
{
return level;
}
} // namespace bluetooth