![hyperterminal at commands hyperterminal at commands](https://miro.medium.com/max/1838/1*TpKyrr11xG4MfBlyvscpdA.png)
HYPERTERMINAL AT COMMANDS CODE
View the SMS AT command in the logĪT: AT SMS_ACKNOWLEDGE false 255 //RIL.java confirms that the new message has been received, but there is a problem with the new message, and returns an error code of 255ĪT: AT send on RIL_CMD_READER_2, tid: 547637703744ĪT: AT> AT+ EIMSCNMA= 2, 3, "00FF00" //AT feedback to the server that the message has been receivedĪT: response received on RIL_CMD_READER_2, tid: 547637703744Ĭustomer uses one prototype to send a text message to another prototype. When the mode is pdu, the sending format is as followsĪT+CMGS=19, "0001000b818125514688f4000006c8329bfd0601" orĪT+CMGS=20, "0001000b818175893503f4000008d3ba3a1d76ebcb"ġ9 and 20 are: pdu agrees to a fixed length of 15 + the length of the message sent (hexadecimal number)Ġ0 Service number information length is 0Ġ1 No extra information is sent, that is, service number information is not includedĨ125514688f4 Destination number, that is 18521564884 (Algorithm: the parity bit is exchanged after adding f at the end)Ġ0 protocol identifier is the normal GSM type, point-to-point methodĬ8329bfd0601 information content/Hello 3. When the mode is text, the sending format is as followsĠX1A (here means the end of the content, required)Ĥ. Sending Chinese is to use this encoding method. UCS2 encoding: Processing Unicode characters, using 2 bytes to represent a character, which can represent all characters in the world. It includes three encoding methods: 7bit encoding, 8bit encoding, and UCS2 encoding.Ĩbit encoding: ASCⅡ characters can be expressed in 7-bit binary format, but since the basic processing unit of a computer is byte (1byte=8bit), it is generally used to add 0 to the high bit and use one byte to represent an ASCⅡ character. This is the default encoding method of the mobile phone. Technically speaking, it can also be used to send Chinese short messages, but domestic mobile phones basically do not support it, mainly used in Europe and America. Plain text mode supports different character sets. Therefore, there are also two AT command execution formats for SMS, corresponding to text mode and pdu mode. There are two encoding methods for SMS: text mode and pdu mode.
![hyperterminal at commands hyperterminal at commands](https://www.developershome.com/sms/sms_tutorial_html_m4296f01c.png)
The SMS AT commands and signaling are introduced from the following aspects:ħ.