mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 06:30:46 -04:00
26 lines
596 B
C++
26 lines
596 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 <string>
|
|
#include <memory>
|
|
|
|
#include <at/Result.hpp>
|
|
#include <at/Commands.hpp>
|
|
|
|
#include "service-cellular/requests/CallRequest.hpp"
|
|
#include <at/ATFactory.hpp>
|
|
|
|
namespace cellular
|
|
{
|
|
at::Cmd CallRequest::command()
|
|
{
|
|
auto cmd = at::factory(at::AT::ATD);
|
|
return cmd + request + ";";
|
|
}
|
|
|
|
void CallRequest::handle(RequestHandler &h, at::Result &result)
|
|
{
|
|
h.handle(*this, result);
|
|
}
|
|
}; // namespace cellular
|