描述 GSMModem 类别实作了诊断 Arduino GSM shield 的功能。 See also - begin() - getIMEI() 函式库参考主页面 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.
描述 取得 Arduino GSM shield 的 IMEI 码。在呼叫 GSMModem.getIMEI() 前必须先呼叫 GSMModem.begin()。 语法 modem.getIMEI() 参数 无参数 回传 String:IMEI 码 范例 See also - begin() 函式库参考主页面 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 […]
描述 停止监听用户端 语法 server.stop() 参数 无参数 回传 无回传值 See also - GSMServer - ready() - beginWrite() - write() - endWrite() - read() - available() 函式库参考主页面 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 […]
描述 取得连线中用户端的数量。 语法 server.available() 参数 none 回传 int:连线中的用户端数量 See also - GSMServer - ready() - beginWrite() - write() - endWrite() - read() - stop() 函式库参考主页面 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 […]
描述 读取用户端传送的资料中第一个字元。 read() 是从 Stream 继承而来。 语法 server.read() 参数 无参数 回传 int:回传待读资料中的第一个字元,如果没有资料可以读取回传 -1 See also - GSMServer - ready() - beginWrite() - write() - endWrite() - available() - stop() 函式库参考主页面 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 […]
描述 停止传送资料到用户端。 语法 server.endWrite() 参数 无参数 回传 无回传值 See also - GSMServer - ready() - beginWrite() - write() - read() - available() - stop() 函式库参考主页面 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 […]
描述 传送资料到所有连线中的用户端。 语法 server.write(data) server.write(buffer) server.write(buffer, size) 参数 data:要传送的资料,型态为 byte 或 char buffer:存放资料的字元阵列,型态为 byte 或 char size:字元阵列(buffer)的大小,型态为 byte 回传 byte:回传成功传送的字元数 See also - GSMServer - ready() - beginWrite() - endWrite() - read() - available() - stop() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a […]
描述 开始传送资料到用户端。 语法 server.beginWrite() 参数 无参数 回传 无回传值 See also - GSMServer - ready() - write() - endWrite() - read() - available() - stop() 函式库参考主页面 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 […]
描述 取得被呼叫的最后一个 GSMServer 函式执行的状态。 语法 server.ready() 参数 无参数 回传 int:回传 0 表示最后呼叫的指令仍然在执行中,回传 1 表示执行成功,而回传大于 1 的值代表有错误发生 See also - GSMServer - beginWrite() - write() - endWrite() - read() - available() - stop() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 […]
描述 Server 类别实作了 GPRS 伺服端的功能。 语法 GSMServer server(port); 参数 port:伺服端要使用的埠编号,型态为 int See also - ready() - beginWrite() - write() - endWrite() - read() - available() - stop() 函式库参考主页面 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 […]