对不起,此内容只适用于繁體中文和English。
描述 写资料进简讯。 语法 SMS.write(val) 参数 val:要写入简讯的字元 回传 byte:回传成功写入简讯裡的字元数量 范例 See also - GSM_SMS - beginSMS() - ready() - endSMS() - available() - remoteNumber() - read() - print() - peek() - flush() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. […]
描述 把字元阵列裡的资料写入简讯。 语法 SMS.print(message) 参数 message:存放资料的字元阵列 回传 int:写入简讯的字元数 范例 See also - GSM_SMS - beginSMS() - ready() - endSMS() - available() - remoteNumber() - read() - write() - peek() - flush() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. […]
描述 回传未读简讯资料中的第一个字元,回传后不把该字元认为是已读。由于没有把回传的字元认为是已读,所以如果没有呼叫 read() 每次呼叫 peek() 都会得到同一个字元。 peek() 是从 Stream 继承而来。 语法 SMS.peek() 参数 无参数 回传 int:回传未读的简讯内容中最前面的字元,如果没有简讯内容可以读回传 -1 范例 See also - GSM_SMS - beginSMS() - ready() - endSMS() - available() - remoteNumber() - read() - write() - print() - flush() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and […]
描述 删除所有未读的简讯内容。 flush() 是从 Stream 继承而来。 语法 SMS.flush() 参数 无参数 回传 无回传值 范例 See also - GSM_SMS - beginSMS() - ready() - endSMS() - available() - remoteNumber() - read() - write() - print() - peek() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative […]
描述 GSMVoiceCall 类别实作了播打/接听电话的相关功能。 See also - getVoiceCallStatus() - ready() - voiceCall() - answerCall() - hangCall() - retrieveCallingNumber() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
描述 回传通话目前的状态。 语法 voice.getVoiceCallStatus() 参数 无参数 回传 char : IDLE_CALL, CALLING, RECEIVINGCALL, TALKING 范例 See also - getVoiceCallStatus() - ready() - voiceCall() - answerCall() - hangCall() - retrieveCallingNumber() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in […]
描述 取得被呼叫的最后一个 GSMVoiceCall 函式执行的状态。 语法 voice.ready() 参数 无参数 回传 int:在非同步模式中回传 0 表示最后呼叫的指令仍然在执行中,回传 1 表示执行成功,而回传大于 1 的值代表有错误发生;在同步模式中回传 1 表示执行成功,回传 0 表示执行失败 See also - GSMVoiceCall - getVoiceCallStatus() - voiceCall() - answerCall() - hangCall() - retrieveCallingNumber() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons […]
描述 播打电话至指定的电话号码。该函式回传的值在同步与非同步的情况下意义不同,底下会有详细的介绍。 语法 voice.voiceCall(number) 参数 number:存放电话号码的字元阵列 回传 int:在非同步模式中回传 0 表示最后呼叫的指令仍然在执行中,回传 1 表示播打电话成功,而回传大于 1 的值代表有错误发生;在同步模式中回传 1 表示播打电话成功,回传 0 表示播打电话失败 范例 See also - GSMVoiceCall - getVoiceCallStatus() - ready() - answerCall() - hangCall() - retrieveCallingNumber() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike […]
描述 接听来电。该函式回传的值在同步与非同步的情况下意义不同,底下会有详细的介绍。 语法 voice.answerCall() 参数 无参数 回传 int:在非同步模式中回传 0 表示最后呼叫的指令仍然在执行中,回传 1 表示接听来电成功,而回传大于 1 的值代表有错误发生;在同步模式中回传 1 表示接听来电成功,回传 0 表示接听来电失败 范例 See also - GSMVoiceCall - getVoiceCallStatus() - ready() - voiceCall() - hangCall() - retrieveCallingNumber() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike […]