sms - 如何摆脱移远 m66 中的 CMS ERROR 2051
问题描述
我在 gsm shield 工作,有时(1 周后)我在发送 SMS 时收到 CMS ERROR 2051。我该如何解决这个问题。在数据表中它说ILLEGAL MS
什么是 MS,它是如何非法的?
这是我在尝试发送短信之前的设置。我正在使用移远 m66、树莓派和 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);
解决方案
推荐阅读
- node.js - npm 错误!代码 ENOLOCAL npm 错误!无法从“Ibrahi\AppData\Roaming\npm-cache\_npx\8992”安装,因为它不包含 package.json 文件
- javascript - 在两个 div 之间创建动画图标
- postgis - 如何插入大GeoJson而不是杀死进程?
- javascript - 如何将整数数组映射到NodeJS中的颜色阴影?
- node.js - 部署问题:React 应用程序无法在 github 页面上正确呈现
- google-sheets-query - 无法将日期格式更改为第一条记录
- python - XEmbed 窗口上的抓取键盘
- php - 如何仅使用 OTP Woocommerce 使用电话号码注册和登录用户
- python - 传递 Pandas 数据时,Scipy linregress 返回元组
- haskell - 在 GADT 数据构造函数中通过类型族指定依赖类型