Reference.GSMPinCheckPUK History

Show minor edits - Show changes to markup

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:42 PM by Scott Fitzgerald -
Changed lines 7-8 from:

Queries the SIM card with a PUK number to see if it is valid. If valid, a second argument will set a new PIN number.

to:

Check the SIM if PUK code is correct and establish new PIN code.

Changed lines 18-19 from:

int : Returns 0 if the PUK is valid, returns -1 if it is not.

to:

int : Returns 0 if successful, -1 if it is not.

Changed line 30 from:

\\

to:

\\

November 30, 2012, at 11:34 PM by Scott Fitzgerald -
Added lines 1-30:

GSM : GSMPIN class

checkPUK()

Description

Queries the SIM card with a PUK number to see if it is valid. If valid, a second argument will set a new PIN number.

Syntax

pin.checkPUK(puk, pin)

Parameters

  • puk : String with the PUK number to check
  • pin : String with the PIN number to check

Returns

int : Returns 0 if the PUK is valid, returns -1 if it is not.

See Also

\\

Share