描述 取得目前连线中使用的频段。在这个网页裡有 GSM 频段的资讯,以下为典型的区域设定: -欧洲、非洲、中东:E-GSM(900)+DCS(1800) -美国、加拿大、南美洲:GSM(850)+PCS(1900) -墨西哥:PCS(1900) -巴西:GSM(850)+E-GSM(900)+DCS(1800)+PCS(1900) 语法 band.getBand() 参数 无参数 回传 String:连线中网路的频段名称 -GSM_MODE_UNDEFINED -GSM_MODE_EGSM -GSM_MODE_DCS -GSM_MODE_PCS -GSM_MODE_EGSM_DCS -GSM_MODE_GSM850_PCS -GSM_MODE_GSM850_EGSM_DCS_PCS See also - setBand() 函式库参考主页面 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 […]
描述 检查 Arduino GSM shield 的状态并且重新启动。 语法 band.begin() 参数 无参数 回传 int:如果 Arduino GSM shield 状态正常回传 1,如果回传不是 1 ,代表有错误发生 See also - GSMBand - getBand() - setBand() 函式库参考主页面 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 […]
描述 GSMBand 类别实作设定和取得 Arduino GSM shield 目前使用频段的功能。 函式 - begin() - getBand() - setBand() 函式库参考主页面 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.
86Duino IDE 从 Coding 103 开始加入此函式库,用于存取 86Duino One 提供的 CAN bus (Controller Area Network) 通讯介面。 CAN 是一种常见的工业通讯协定,可以支持高安全等级及有效率的即时控制,常被用于各种车辆与自动化设备上。86Duino 内建的 CAN Bus 控制器主要特色如下: 支援 CAN 2.0A 及 2.0B 规范 传输速率最高可达 1 Mbps 支援 standard (11-bit) 和 extended (29-bit) 的 data/remote frame 传输 提供三组 frame buffer 丰富的错误检测及处理机制 为了让 Arduino 使用者更容易上手此函式库,我们在函式库 API 的设计上已尽量与 Wire 函式库 以及 Seeed Studio 的 […]
描述 设定 PIN 锁的状态。 语法 pin.setPinUsed(used) 参数 used:传入 true 设定状态为锁上,传入 false 设定状态为没锁上 回传 无回传值 See also - GSMPIN - begin() - isPIN() - checkPIN() - checkPUK() - changePIN() - switchPIN() - checkReg() - getPINUsed() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons […]
描述 查询是否有使用 PIN 锁。 语法 pin.getPinUsed() 参数 无参数 回传 boolean:如果有使用 PIN 锁回传 true ,反之回传 false See also - GSMPIN - begin() - isPIN() - checkPIN() - checkPUK() - changePIN() - switchPIN() - checkReg() - setPINUsed() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative […]
描述 检查 Arduino GSM shield 是否已在 GSM/GPRS 网路注册。 语法 pin.checkReg() 参数 无参数 回传 int:回传 0 表示 Arduino GSM shield 已注册上网路,回传 1 表示 Arduino GSM shield 目前是漫游的状态,回传 -1 表示有错误发生 See also - GSMPIN - begin() - isPIN() - checkPIN() - checkPUK() - changePIN() - switchPIN() - getPINUsed() - setPINUsed() 函式库参考主页面 The text of the 86Duino reference […]
描述 启动或关闭 PIN 码锁定。 语法 pin.switchPIN(pin) 参数 pin:存放 PIN 码的 String 物件 回传 无回传值 See also - GSMPIN - begin() - isPIN() - checkPIN() - checkPUK() - changePIN() - checkReg() - getPINUsed() - setPINUsed() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons […]
描述 修改 PIN 码。 语法 pin.changePIN(oldPIN, newPIN) 参数 oldPIN:存放旧有 PIN 码的 String 物件 newPIN:存放新 PIN 码的 String 物件 回传 无回传值 See also - GSMPIN - begin() - isPIN() - checkPIN() - checkPUK() - switchPIN() - checkReg() - getPINUsed() - setPINUsed() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and […]
描述 通过 PUK 码的认证并且启用新的 PIN 码。 语法 pin.checkPUK(puk, pin) 参数 puk:存放 PUK 码的 String 物件 pin:存放 PIN 码的 String 物件 回传 int:执行成功回传 0,反之回传 -1 See also - GSMPIN - begin() - isPIN() - checkPIN() - changePIN() - switchPIN() - checkReg() - getPINUsed() - setPINUsed() 函式库参考主页面 The text of the 86Duino reference is a modification of […]