這篇文章主要介紹“AT指令中AT+CPMS有什么用”,在日常操作中,相信很多人在AT指令中AT+CPMS有什么用問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”AT指令中AT+CPMS有什么用”的疑惑有所幫助!接下來,請跟著小編一起來學(xué)習(xí)吧!

成都創(chuàng)新互聯(lián)公司主要從事成都網(wǎng)站設(shè)計、做網(wǎng)站、網(wǎng)頁設(shè)計、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)泉山,10年網(wǎng)站建設(shè)經(jīng)驗,價格優(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:
, , , , , , , ,<total3
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:接收到的短信的儲存位置。
具體用法:
. 語句: AT+CPMS=? 作用:
測試命令。用于得到手機(jī)所支持的儲存位置的列表。在我的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條短信,總共可以儲存150條。ME里面有7條,共可以儲存150條。SIM卡上可以儲存50條。
到此,關(guān)于“AT指令中AT+CPMS有什么用”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識,請繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會繼續(xù)努力為大家?guī)砀鄬嵱玫奈恼拢?/p>
文章名稱:AT指令中AT+CPMS有什么用
分享路徑:http://www.chinadenli.net/article48/jdhchp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站設(shè)計、搜索引擎優(yōu)化、商城網(wǎng)站、ChatGPT、App開發(fā)、定制開發(fā)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)