SMdata.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:2k
- /*******************************************************/
- /* ShortMessage data define */
- /*******************************************************/
- //SYSTEM ORDER
- #define DELETESMFIRST "AT+CMGD=1r"
- #define DELETESMSECOND "AT+CMGD=2r"
- #define DELETESMTHIRD "AT+CMGD=3r"
- #define DELETESMFOUR "AT+CMGD=4r"
- #define DELETESMFIVE "AT+CMGD=5r"
- #define DELETESMSIX "AT+CMGD=6r"
- #define DELETESMSEVEN "AT+CMGD=7r"
- #define READSMSECOND "AT+CMGR=2r"
- #define READSMFIRST "AT+CMGR=1r"
- #define WAVECOMINITETEXT "AT+CMGF=1r"
- #define WAVECOMINITEPDU "AT+CMGF=0r"
- #define SENDNEWMESSAGE "AT+CMGS="
- #define TELRECEIVED "RING"
- //CONTROL ORDER
- #define GETHELP "#0#" //取帮助信息
- #define SETHOSTTELNO "#1*" //设置车主手机号
- #define USERCHANGEPASS "#2*" //设置操作密码
- #define GETPOSITION "#3#" //取车况等信息
- #define SETLOCK "#4#" //给汽车上琐
- #define SHUTOIL "#5#" //断油断电
- #define OPENLOCK "#6#" //解琐或取消断油
- #define AUTOMONITOR "#8*" //自动监控
- #define CANCELAUTOMONITOR "#8#" //取消自动监控
- #define CENTERCHANGEPASS "#9*" //
- //syster response
- #define NEWSMREADONE " "SM",1A"
- #define NEWSMREADTWO " "SM",2A"
- #define NEWSMREADTHREE " "SM",3A"
- #define NEWSMREADFOUR " "SM",4A"
- #define NEWSMREADFIVE " "SM",5A"
- #define NEWSMREADSIX " "SM",6A"
- #define NEWSMREADSEVEN " "SM",7A"
- #define NEWSMREAEIGHT " "SM",8A"
- #define NEWSMREADNINE " "SM",9A"
- #define WAVECOMINITETEXTSUCCESS "AT+CMGF=1OK"
- #define WAVECOMINITETEXTFAILE "AT+CMGF=1ERROR"
- #define WAVECOMINITEPDUSUCCESS "AT+CMGF=0OK"
- #define WAVECOMINITEPDUFAILE "AT+CMGF=0ERROR"
- #define READFIRTSMFAILED "AT+CMGR=1ERROR"
- #define DELETEFIRSTSMSUCCESS "AT+CMGD=1OK"
- #define DELETEFIRSTSMFAILE "AT+CMGD=1ERROR"
- #define COMMANDTAIL "$@hOK"
- #define COMMANDHEAD "$@h"
- #define CENTERUSER 0
- #define NORMALUSER 1
- #define READONESHORTMESSAGE "AT+CMGR=XXXr"
- #define DELONESHORTMESSAGE "AT+CMGD=XXXr"
- #define NEWMESSAGEINDICATION "+CMTI"
- #define NEWMESSAGEISSM "SM"