Sms 如何消除quectel m66中的CMS错误2051

Sms 如何消除quectel m66中的CMS错误2051,sms,gsm,quectel,Sms,Gsm,Quectel,我在gsm屏蔽中工作,有时(1周后)在发送短信时收到CMS错误2051。 我怎样才能解决这个问题。在数据表中显示非法MS 什么是MS?它是如何违法的 这是我发送短信前的设置。我正在使用quectel m66、raspberry pi和python。我需要做一些额外的初始化吗 serialPrintf(fd,"AT+IFC=1,1\n"); // Set TE-TA Control Character Framing delay(300); serialPri

我在gsm屏蔽中工作,有时(1周后)在发送短信时收到CMS错误2051。 我怎样才能解决这个问题。在数据表中显示
非法MS

什么是MS?它是如何违法的

这是我发送短信前的设置。我正在使用quectel m66、raspberry pi和python。我需要做一些额外的初始化吗

serialPrintf(fd,"AT+IFC=1,1\n");                    // Set TE-TA Control Character Framing
delay(300);
serialPrintf(fd,"AT+CMGF=1\n");                     //Select sms format
delay(300);
serialPrintf(fd, "AT+CPMS=\"SM\",\"SM\",\"SM\"\n");
delay(300);
serialPrintf(fd,"AT+CLIP=1\n");                     //Calling Line Identification Presantation
delay(300);
serialPrintf(fd,"ATE0\n");//?
delay(5000);
serialPrintf(fd,"AT+COLP=1\n");                     // Connected Line Identification Presentation
delay(300);
serialPrintf(fd,"AT+CSCS=\"IRA\"\n");               //Select TE Character Set
delay(300);
serialPrintf(fd,"AT+QCCID\n");                      //Show ICCID
delay(300);