AT+CPMS “SM” Storage

我与影子孤独终老i 提交于 2021-01-27 19:54:02

问题


AT+CPMS? query to a SIM returns

+CPMS: "SM",0,60, "SM,0,60,"SM",0,60

OK

The total storage is 60 messages maximum, and 0 are currently stored.
All messages are stored on the SIM.

An existing legacy application fails when trying to populate all 60 message boxes because message box 55 is the last successful write location.

When trying to populate the spaces 56-60, the command returns CMS Error 322 which is a memory full error.

The text in each SMS is simply "P H" which is 3 ASCII bytes, so each text doesn't use an excessive amount of memory.

Has anyone an explanation why the spaces 56-60 are unavailable, although the CPMS? query shows them as available? Thanks.

来源:https://stackoverflow.com/questions/21732066/atcpms-sm-storage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!