checkReg()
描述
检查 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 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.