my GSM shield (with Quectel M10) worked for some time pretty good. I am using the GSM library included in Arduino IDE 1.6.5.
Now I have big problems: 1) with a first SIM card the software hangs within gsmAccess.begin(). Some time ago it worked with it. This SIM card does not need a PIN.
2) with a second SIM card it reports an error within gsmAccess.begin(PINNUMBER). The response of the shield in debug mode is
AT%13% 78 87>AT%13%%13%%10%OK%13%%10% AT+CPIN=xxxx%13% 87 118>AT+CPIN=xxxx%13%%13%%10%+CME ERROR: 12%13%%10% not connected
The true PIN is replaced here with xxxx. The PIN is correct. Yesterday it worked with this PIN. I guess that "+CME ERROR: 12" means "wrong PIN".
Has somebody had such a problem and solved it?
The reason was not the PIN of the SIM card. My GSM shield had problems with autobaud. Now I fixed the baud rate to 9600 and it works :-)
I will write an extra post for this story.