Articles Posted by the Author:

  • ready()

    ready()

    描述 取得被呼叫的最后一个 GSMClient 函式执行的状态。 语法 client.ready() 参数 无参数 回传 int:在非同步模式中回传 0 表示最后呼叫的指令仍然在执行中,回传 1 表示执行成功,而回传大于 1 的值代表有错误发生;在同步模式中回传 1 表示执行成功,回传 0 表示执行失败 See also - GSMClient - connect() - beginWrite() - write() - endWrite() - connected() - read() - available() - peek() - flush() - stop() 函式库参考主页面 The text of the 86Duino reference is a modification of […]


  • Client

    Client

    描述 Client 类别实作了 GPRS 客户端的功能。 See also - ready() - connect() - beginWrite() - write() - endWrite() - connected() - read() - available() - peek() - flush() - 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 […]


  • GPRS constructor

    GPRS constructor

    描述 GPRS 类别实作连线网路的功能。 See also - attachGPRS() 函式库参考主页面 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.


  • attachGPRS()

    attachGPRS()

    描述 连线到指定的接入点(Access Point Name, APN)并初始化 GPRS 连线。 电信提供商会给使用者接入点并且扮演 GPRS 网路和网际网路间的桥樑。有些接入点并不需要使用者名称和密码。 这个网页列出了一些电信提供商的接入点资讯,但可能有一段时间没有更新了。 语法 grps.attachGPRS(APN, user, password) 参数 APN:存放电信提供商网路接入点的字元阵列 user:存放接入点使用者名称的字元阵列 password:存放接入点密码的字元阵列 回传 char array:ERROR, IDLE, CONNECTING, GSM_READY, GPRS_READY, TRANSPARENT_CONNECTED 范例 See also - GPRS 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 […]


  • GSM_SMS constructor

    GSM_SMS constructor

    描述 GSM_SMS 类别实现了发送/接收简讯的相关功能 See also - beginSMS() - ready() - 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 […]


  • beginSMS()

    beginSMS()

    描述 初始化简讯并且指定简讯要送至的电话号码。要使用 write() 写入简讯内容前必须先呼叫 beginSMS()。 语法 SMS.beginSMS(number) 参数 number:用来存放简讯发送目的地的字元阵列 回传 int:在非同步模式中回传 0 表示最后呼叫的指令仍然在执行中,回传 1 表示简讯初始化成功,而回传大于 1 的值代表有错误发生;在同步模式中回传 1 表示简讯初始化成功,回传 0 表示简讯初始化失败 范例 See also - GSM_SMS - ready() - endSMS() - available() - remoteNumber() - read() - write() - print() - peek() - flush() 函式库参考主页面 The text of the 86Duino reference is a modification of […]


  • ready()

    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 […]