Files
MuditaOS/module-services/service-cellular/api/CellularServiceAPI.hpp
Mateusz da0f7db17c Added API to send/receiver AT commands over virtual channels.
Added tokenizer
Added simple calling related CellularService API
Added message handling
2019-07-10 15:21:32 +02:00

29 lines
592 B
C++

/*
* @file CellularServiceAPI.hpp
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
* @date 09.07.19
* @brief
* @copyright Copyright (C) 2019 mudita.com
* @details
*/
#ifndef PUREPHONE_CELLULARSERVICEAPI_HPP
#define PUREPHONE_CELLULARSERVICEAPI_HPP
#include "../messages/CellularMessage.hpp"
class Service;
class CellularServiceAPI {
public:
static bool DialNumber(sys::Service* serv,const std::string& number);
static bool AnswerIncomingCall(sys::Service* serv);
static bool HangupCall(sys::Service* serv);
};
#endif //PUREPHONE_CELLULARSERVICEAPI_HPP