ready()

描述

取得被呼叫的最后一个 GSM_SMS 函式执行的状态。

语法


SMS.ready()

参数

无参数

回传

int:在非同步模式中回传 0 表示最后呼叫的指令仍然在执行中,回传 1 表示执行成功,而回传大于 1 的值代表有错误发生;在同步模式中回传 1 表示执行成功,回传 0 表示执行失败

See also

- GSM_SMS
- beginSMS()
- endSMS()
- available()
- remoteNumber()
- read()
- write()
- 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. Code samples in the reference are released into the public domain.