1钻洒、AT+CPMS="MT"
設(shè)置短信存儲載體奋姿,MT表示移動終端
2、AT+CPMS=?
顯示當(dāng)前存儲載體設(shè)置
例:"MT",40,40,"MO",0,40
移動終端中可以存儲40條素标,目前已經(jīng)存了40條了
3称诗、AT+CMGF=1 (0,1)
設(shè)置讀取短信時(shí)的編碼头遭,1-Ascii編碼 0-unicode編碼
4寓免、AT+CMGL=all
查詢(這個是查詢不是讀取)設(shè)備中的短信條數(shù)计维,all-所有短信袜香,0-未讀短信,1-是已讀短信
5鲫惶、AT+CMGD=1,4
刪除短信
1,0 The message from the preferred message storage at the location 1 is deleted
1,1 ALL READ messages from the preferred message storage are deleted
1,2 ALL READ messages and SENT mobile originated messages are deleted
1,3 ALL READ, SENT and UNSENT messages are deleted
1,4 ALL messages are deleted
6蜈首、AT+CMGR=0
讀取短信內(nèi)容,0表示第一條短信