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.