Reference.GSMPinIsPIN History

Hide minor edits - Show changes to output

December 01, 2012, at 02:45 PM by Scott Fitzgerald -
Changed lines 1-2 from:
[[GSM]] : ''GSMPIN'' class
to:
[[GSM]] : ''GSMPin'' class
November 30, 2012, at 11:41 PM by Scott Fitzgerald -
Changed lines 17-18 from:
int : returns 1 if locked with a PIN, otherwise returns 0.
to:
int : 0 if PIN lock is off, 1 if PIN lock is on, -1 if PUK lock is on, -2 if error exists.
November 30, 2012, at 11:29 PM by Scott Fitzgerald -
Added lines 1-28:
[[GSM]] : ''GSMPIN'' class

!!isPIN()

!!!!Description

Checks the SIM card to see if it is locked with a PIN.

!!!!Syntax

''pin''.isPIN()

!!!!Parameters
none

!!!!Returns
int : returns 1 if locked with a PIN, otherwise returns 0.

!!!!See Also
* [[GSMPinBegin | begin]]()
* [[GSMPinCheckPIN | checkPIN]]()
* [[GSMPinCheckPUK | checkPUK]]()
* [[GSMPinChangePIN | changePIN]]()
* [[GSMPinSwitchPIN| switchPIN]]()
* [[GSMPinCheckReg | checkReg]]()
* [[GSMPinGetPinUsed | getPinUsed]]()
* [[GSMPinSetPinUsed | setPinUsed]]()
\\

Share