Method for implementing encoding string transmission in AT command
An implementation method and a technology for encoding strings, which are applied in the directions of telephone communication, electrical components, program control devices, etc., and can solve problems such as defects in parameter transmission methods.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0015] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0016] Fig. 1 is a flow chart of the present invention. As shown in Figure 1, the present invention comprises the following steps:
[0017] Step 1: convert the encoded string into a character string by converting the number represented by the nibble into the character corresponding to the number.
[0018] Traverse all input by nibble from beginning to end, convert nibble input into corresponding byte output. The conversion principle is: nibbles less than 10 are converted to the characters corresponding to the nibble by adding 0x30, for example, 0x8 is converted to '8'; nibbles greater than or equal to a are converted to the nibble by adding 0x37 The corresponding character, eg 0xa is converted to 'A'. According to this conversion method, 0xa8 will be converted into "A8". The GSM7 code string 0x777a0066 in the above example will become 0x3737374130303636 (c...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 