我现在想用GPRS模块向一手机发送SMS
我从一参考资料上看到应该是:
AT+CMGF=1
OK //Return Value
AT+CSCS=”GSM”
OK //Return Value
AT+CMGS=”13912223333”
> Good, this is test // 输入Ctrl+Z
+CMGS: 158 //Return Value
问题:
AT+CMGF=1
OK //Return Value
AT+CSCS=”GSM”
OK //Return Value
都对的
AT+CMGS=”13912223333”
> Good, this is test 以后,输入Ctrl+Z是执行了撤销操作,而且发送后的结果是
AT+CMGS=”13912223333”
> Good, t
>his is test
>口
故,请问,最后的Ctrl+Z应该怎么操作啊?谢谢了!!!
是的,我是在自己做的串口发送工具中测试的,因为以后要用到自己的程序中去的。
在AT+CMGF=1
OK //Return Value
AT+CSCS=”GSM”
OK //Return Value
都对的 的情况下,
第一次,我先最后在发送区写的内容:
AT+CMGS="15901978342"
> Good, this is test,123.456
0x1a
结果显示:
AT+CMGS="15901978342"
> Go
> od, this is test,123.456
> 口0x1a
第二次,我再在发送区试着发送:
AT+CMGS="15901978342"
> Good, this is test,123.456 0x1a
回车
结果显示:
AT+CMGS="15901978342"
> Good, this
> is test,123.456 0x1a
> 口
第三次,我再在发送区试着发送:(0x1a后面不带回车)
AT+CMGS="15901978342"
> Good, this is test,123.456 0x1a
结果显示:
AT+CMGS="15901978342"
> Good, this i
> s test,123.456
0x1a
这是什么原因啊?请多指教,谢谢!!!
To wordess:
我按照您的说法,发送如下字符:
AT+CMGS="15901978342"
> Good, this is test,123.4560x1a
回车(再按“发送”)
结果显示:
AT+CMGS="15901978342"
> Good, this i
> s test,123.4560x1a
> 口
如果直接发送:(没有回车)
AT+CMGS="15901978342"
> Good, this is test,123.4560x1a(没有回车,直接按“发送”)
则显示:
AT+CMGS="15901978342"
> > Good, this is test,123.4560x1a