代码拉取完成,页面将自动刷新
/*!
* @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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。