更新时间:2022-12-21 12:09:37
您是否尝试过使用调制解调器手册.这是相当特定于硬件的编程.只有硬件手册才能让您知道谁支持短信读取/写入和通知.
因为您使用的是旧的COM Port..AT命令列表因硬件不同而有所不同.
Have you tried modem manual for same. this is quite hardware specific programming. only hardware manual can let you know who it support sms reading/writing and notification.
since you are using old COM Port..AT command list is different for different hardware.
我也对此深有感触..如果您发现有任何问题,请帮助我
谢谢...
i am also struck up wit this.. if you found anything please help me
thanks...
嗨surajking123,
我想出了一些阅读SMS的想法.以下是详细信息.
首先,我们必须设置调制解调器的操作模式
AT + CMGF = 1//文本显示模式
然后,我们必须选择要在SIM或电话/调制解调器内存中读取短信的位置
AT + CPMS ="SM"//SIM卡.用于电话/调制解调器内存AT + CPMS ="ME"
AT + CMGL ="ALL"//列出sim中的所有短信
AT + CMGL ="REC READ"//列出所有已读取的短信
AT + CMGL ="REC UNREAD"//列出所有未读的短信
AT + CMGR = 1//读取第一个短信
Hi surajking123,
I figure out some ideas for reading SMS.Here is the details.
First we have to set the operation mode for modem
AT+CMGF=1 //text opeartion mode
Then we have to select the location where we are going to read sms in SIM or Phone/Modem Memory
AT+CPMS="SM" // sim. for Phone/Modem Memory AT+CPMS="ME"
AT+CMGL="ALL" //list all the sms in sim
AT+CMGL="REC READ" // list all already readed sms
AT+CMGL="REC UNREAD" // list all unreaded sms
AT+CMGR=1 //read the first sms