這篇文章主要介紹“AT指令中AT+CPMS有什么用”,在日常操作中,相信很多人在AT指令中AT+CPMS有什么用問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對(duì)大家解答”AT指令中AT+CPMS有什么用”的疑惑有所幫助!接下來,請(qǐng)跟著小編一起來學(xué)習(xí)吧!
成都創(chuàng)新互聯(lián)公司主要從事成都網(wǎng)站設(shè)計(jì)、做網(wǎng)站、網(wǎng)頁設(shè)計(jì)、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)泉山,10年網(wǎng)站建設(shè)經(jīng)驗(yàn),價(jià)格優(yōu)惠、服務(wù)專業(yè),歡迎來電咨詢建站服務(wù):18982081108
這是我在SIEMENS AT COMMAND SET里面摘錄的一段:
AT+CPMS Preferred SMS message storage
Revision according to GSM 07.05 Version 4.7.0
Test command
AT+CPMS=?
Response
+CPMS: (list of supported s),( list of supported s) ,(list +of
supported s)
Parameter
Memory from which messages are read and deleted
SM SIM message storage
ME Mobile Equipment message storage
MT combination of “ME” and “SM” storages
Messages will be written and sent to this memory storage:
SM SIM message storage
ME Mobile Equipment message storage
MT combination of “ME” and “SM” storages
Memory in which received messages are preferred to be stored, if
routing to TE is not set (see AT+CNMI command with parameter
=2)
SM SIM message storage
ME Mobile Equipment message storage
MT combination of “ME” and “SM” storages
Read command
AT+CPMS?
Response
+CPMS:
,
,
,
,
,
,
,
, Parameter Memory from which messages are read and deleted Number of messages currently in
Total number of messages that can be stored in
Write command AT+CPMS=
[,
[,
]] Parameter See Test command See Test command See Test command +CPMS:
,
,
,
,
,
OK/ERROR/+CMS ERROR Notes 1) The Mobil Equipment storage “ME” has capacity for 25 short messages The storage “MT” is a combination of “ME” and “SM” storage. If “MT” is chosen indices < 26 refer to ME" storage while indices 26 or higher are associated with the “SM” storage Incoming short messages with message class 2 (see GSM 03.38) will be stored in the “SM” storage only. Therefore, the AT^SMGO:2 indication (see AT^SMGO command) can occur without a preceding AT^SMGO:1 indication. 一些概念: MEM1:讀取和刪除短信所在的內(nèi)存空間。 MEM2:寫入短信和發(fā)送短信所在的內(nèi)存空間。 MEM3:接收到的短信的儲(chǔ)存位置。 具體用法: . 語句: AT+CPMS=? 作用: 測(cè)試命令。用于得到手機(jī)所支持的儲(chǔ)存位置的列表。在我的SIEMENS M55手機(jī)上返回: AT+CPMS=? +CPMS: (“MT”,“SM”,“ME”),(“MT”,“SM”,“ME”),(“MT”,“SM”,“ME”) 表示手機(jī)支持MT(手機(jī)終端),SM(SIM卡),ME(手機(jī)設(shè)備) . 語句: AT+CPMS=”MT”,”ME”,”SIM” 設(shè)置MEM1為MT,MEM2為ME,MEM3為SIM . 語句: AT+CPMS? 作用: 得到當(dāng)前的設(shè)置。 例如通過第二條語句的設(shè)置以后返回: AT+CPMS? +CPMS: “MT”,7,150,“ME”,7,100,“SM”,0,50 表示MT里面有7條短信,總共可以儲(chǔ)存150條。ME里面有7條,共可以儲(chǔ)存150條。SIM卡上可以儲(chǔ)存50條。 到此,關(guān)于“AT指令中AT+CPMS有什么用”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識(shí),請(qǐng)繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)砀鄬?shí)用的文章!
網(wǎng)頁標(biāo)題:AT指令中AT+CPMS有什么用
文章來源:http://weahome.cn/article/jdhchp.html