mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 23:17:35 -04:00
This code is updated code from EGD-6727, the only changes are: - use of common SCO and PhoneInterface - update to newer bluetooth library
25 lines
733 B
C++
25 lines
733 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "PhoneInterface.hpp"
|
|
#include "service-audio/AudioServiceAPI.hpp"
|
|
#include "service-cellular/CellularServiceAPI.hpp"
|
|
|
|
namespace bluetooth
|
|
{
|
|
bool CellularInterfaceImpl::answerIncomingCall(sys::Service *service)
|
|
{
|
|
return CellularServiceAPI::AnswerIncomingCall(service);
|
|
}
|
|
|
|
bool CellularInterfaceImpl::hangupCall(sys::Service *service)
|
|
{
|
|
return CellularServiceAPI::HangupCall(service);
|
|
}
|
|
|
|
bool AudioInterfaceImpl::startAudioRouting(sys::Service *service)
|
|
{
|
|
return AudioServiceAPI::RoutingStart(service);
|
|
}
|
|
} // namespace bluetooth
|