The Arduino Reference text is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
Find anything that can be improved? Suggest corrections and new documentation via GitHub.
Doubts on how to use Github? Learn everything you need to know in this tutorial.
Queries the SIM card with a PIN number to see if it is valid.
PIN : String with the PIN number to check
int : Returns 0 if the PIN is valid, returns -1 if it is not.