Ai
1 Star 0 Fork 0

DFRobot/DFRobot_SIM

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
DFRobot_SIMphonecall.h 1000 Bytes
一键复制 编辑 原始数据 按行查看 历史
知音少断弦有谁听t 提交于 2021-12-20 16:00 +08:00 . change
/*!
* @file DFRobot_SIMphonecall.h
* @brief Basic structure of DFRobot_SIMphonecall class
* @details A basic class library for SIM series products communication.
* @copyright Copyright (c) 2021 DFRobot Co.Ltd (http://www.dfrobot.com)
* @license The MIT License (MIT)
* @author [TangJie](jie.tang@dfrobot.com)
* @version V1.0.1
* @date 2021-09-16
* @url https://github.com/DFRobot/DFRobot_SIM
*/
#ifndef __DFRobot_SIMPHONECALL_H__
#define __DFRobot_SIMPHONECALL_H__
#include "DFRobot_SIMcore.h"
class DFRobot_SIMphonecall:DFRobot_SIMcore{
public:
/**
* @fn voiceCall
* @brief Call the specified phone number
* @param number The phone number to be called
* @return bool type, indicating status of the call
* @retval true Success
* @retval false Failed
*/
bool voiceCall(const char* number);
/**
* @fn hangCall
* @brief Hang up the call
*/
void hangCall(void);
private:
void answerCallContinue(void);
void hangCallContinue(void);
};
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/dfrobot/DFRobot_SIM.git
git@gitee.com:dfrobot/DFRobot_SIM.git
dfrobot
DFRobot_SIM
DFRobot_SIM
master

搜索帮助