isPIN()

描述

检查 SIM 卡目前是否被锁上。

语法


pin.isPIN()

参数

无参数

回传

int:回传 0 表示 SIM 卡的 PIN 锁已被解开,回传 1 表示 SIM 卡的 PIN 锁尚未解开,回传 -1 表示 SIM 卡的 PUK 锁尚未解开,回传 -2 表示有错误发生

See also

GSMPIN
begin()
checkPIN()
checkPUK()
changePIN()
switchPIN()
checkReg()
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.