Joke Collection Website - Public benefit messages - Structure of GSM module receiving short messages in text mode
Structure of GSM module receiving short messages in text mode
From \ r \ nLast byte (0x0D, 0x0A) to the end of the next message. However, it should be noted that one \r\n of the data received from GSM module comes before +CMGR, so before using strstr or memstr, be sure to point the pointer to the back. In addition, regarding the length, you can also take 5 before open 1 to ensure that the data will not be missed.
- Related articles
- How to reply to the greetings from the boys in Class 38?
- Girlfriend sends pictures of her legs. How should I send her a message? I'm not allowed to send it in the future. Men have fantasies. She saw her friends off and wore a skirt. How should I remind her?
- Will Peace Elite 2020 summer mode return?
- Department dinner greetings at the end of the year
- In the Ming Dynasty, the social atmosphere was corrupt, and Zhu Yuanzhang encouraged officials to keep mistresses.
- How to edit SMS and open super VIP for Unicom calling card
- What are the requirements for applying for flight attendants?
- How to check the balance of passbook with mobile phone
- Can the reserved mobile phone number of the bank card be modified on the mobile phone?
- Financing Difficulties and Solutions for Small and Medium-sized Enterprises in Anhui Province About Financing Difficulties and Countermeasures for Small and Medium-sized Enterprises