File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2344,24 +2344,25 @@ PIN : String with the PIN number to check
2344
2344
#### Returns
2345
2345
int : Returns 0 if the PIN is valid, returns -1 if it is not.
2346
2346
2347
- ### ` checkPIN ()`
2347
+ ### ` checkPUK ()`
2348
2348
2349
2349
#### Description
2350
2350
2351
- Queries the SIM card with a PIN number to see if it is valid.
2351
+ Queries the SIM card with a PUK and PIN number to see if it is valid.
2352
2352
2353
2353
#### Syntax
2354
2354
2355
2355
```
2356
- pin.checkPIN(PIN)
2356
+ pin.checkPIN(PUK, PIN)
2357
2357
2358
2358
```
2359
2359
2360
2360
#### Parameters
2361
- PIN : String with the PIN number to check
2361
+ - PIN : String with the PIN number to check
2362
+ - PUK : String with the PUK number to check
2362
2363
2363
2364
#### Returns
2364
- int : Returns 0 if the PIN is valid, returns -1 if it is not.
2365
+ int : Returns 0 if it is valid, returns -1 if it is not.
2365
2366
2366
2367
### ` changePIN() `
2367
2368
You can’t perform that action at this time.
0 commit comments