Joke Collection Website - Public benefit messages - Single-chip microcomputer serial port control GSM program (text message or phone call will do) urgent! ! !
Single-chip microcomputer serial port control GSM program (text message or phone call will do) urgent! ! !
Set the baud rates of both parties, preferably using a 5-wire serial port.
If you only send English and numbers, send them through a serial port.
at+cmgf = 1 & lt; Enter > < line break >
At+cmgs= the other party's mobile phone number & lt line feed >
Delay 0.5~ 1s
Then send the message content.
Send a 16 hex 0x 1a after the message content is sent.
If there is no problem, the other party will receive the message.
& ltEnter >< line feed > is 16 hexadecimal 0x0d, 0.
It will be more troublesome if you want to send Chinese, and it will be more troublesome to send it in pdu format.
The above is a simple experiment. If it is practical, you have to look for the information of GSM07.07 AT instruction set. There are many online.
- Related articles
- I don't want to use Tianyiyun's SMS service. How to cancel the short message of Tianyiyun?
- Is Taobao Daren YEATION genuine?
- How to bind electricity information through mobile phone number?
- Sentences related to best friends
- Words that comfort and encourage patients to overcome diseases.
- My best friend stopped talking to me in the middle of a chat. Next time she sends me a message, I won't reply directly. Is it okay?
- I received a text message saying that July is about to expire. What should I do if I want to keep this package?
- What if QQ is restricted in safe mode?
- What about the ground wire?
- How to cancel the appointment registration how to cancel the appointment registration