CME ERROR 50 when entering PIN during setting up new modem | Telit Cinterion IoT Developer Community
October 24, 2018 - 2:10pm, 11250 views
I’m setting up a brand new modem for SMS texting. But when entering the PIN I’m receiving CME ERROR 50.
Can you explain the reason for this error?
The SIM card works fine in a normal phone.
Setup is done using these commands:
AT&F<13> (Set to factory default)
ATE0<13> (Disable Echo)
ATQ0<13> (DCE Transmit result code)
ATV0<13> (Short Result Code Format)
AT+CMEE=1<13> (Enable error result code with numeric values)
AT+CMGF=0<13> (SMS PDU ****)
AT+CPIN?<13> (Check PIN) => +CPIN: SIM PIN<13><10>0<13>
AT+CPIN=1642<13> (Enter PIN) => +CME ERROR: 50<13>
Trying to use AT+CNMI=2,0,0,0,1 produces the same error.
Result of ATI1:
Cinterion, EHS6, REVISION 03.001, A-REVISION 00.000.42
'+CME ERROR: 50' means Incorrect parameters. You could see this information after configuring AT+CMEE=2.
It's probably happening because PIN ***** to be passed in quotation marks and maybe in your case it's not.
I most certainly am not using quotation marks around the PIN. That was not neccessary on the TC65 and older modems :-)
If it is required now then I'll just add it to my AT command setup.
It works using AT+CPIN="1642" with the quotation marks.
Thank you for helping.