PIC16F877A带有GSM,LCD和旋转开关 [英] PIC16F877A with GSM, LCD, and a rotary switch

查看:79
本文介绍了PIC16F877A带有GSM,LCD和旋转开关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我正在构建一个程序:当我每次旋转旋转开关时,结果将显示在LCD上,GSM将向我的android发送短信。该项目成功运行。问题是:是否可以通过向GSM发送短信将电话号码更改为另一个,例如将号码更改为0123456789,以及应使用的代码。我正在使用CCS PIC-C编译器。请指教。谢谢。

Hi. I'm building a program: when each time I rotated the rotary switch, the result will be displayed on the LCD, and the GSM will send an SMS to my android. The project ran successfully. The question is: is it possible to change the phone number to another one by sending an SMS to the GSM, for example "change number to 0123456789", and what code should be used. I'm using CCS PIC-C compiler. Please advice. Thank you.

推荐答案

取决于你的意思是电话号码。

如果你的意思是更改电话号码,它会发送短信给然后是 - 只需在AT + CMGS命令中替换新号码。



如果您的意思是更改电话号码,则发送短信,那么AFAIK就可以' t - 那将是欺骗而且是不可能的。
Depends on which phone number you mean.
If you mean "change the phone number it sends an SMS to" then yes - just substitute the new number in the AT+CMGS command.

If you mean "change the phone number the SMS is sent from" then AFAIK you can't - that would be "spoofing" and is not possible.


这篇关于PIC16F877A带有GSM,LCD和旋转开关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆