Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Inactive Publication Date: 2008-04-02
ZTE CORP
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] To sum up, when using AT commands, when passing non-ASCII strings as strings, this method of parameter transfer has flaws

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for implementing encoding string transmission in AT command

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Disclosed is an implementation method for transmitting coding string in AT command, in order to implement transferring command and parameter by using character string. The method comprises the following steps: (1) converting coding string into character string; (2) transferring the character string converted by the AT command; (3) the AT command receiver processing counter-conversion to the character string in the received AT command, obtaining the coding string of the step (1). The present invention successfully resolves the transferring problem of coding string parameter in the AT command. The present invention can not only be used for the condition for using character string to transfer command and respond parameter in AT command, any else need use character string to transfer parameter, but the parameter also comprises the condition of common character string can not process character, both can reference the present invention.

Description

technical field [0001] The invention relates to a method for transmitting coded strings in AT commands. Background technique [0002] The AT command was first used to configure the modem (Modem), and is currently widely used in the field of mobile communications. The mobile phone can be connected to the PC through a specific cable, and the PC can configure the mobile phone through AT commands. For the introduction of AT commands, please refer to 3GPP TS 27.007. For example, the following is an AT command to write a record to the phone book of the SIM card, AT+CPBW=1, "13772027651", 129, "fwz", this AT command means that the name is "fwz", and the phone number is "13772027651" The contact record of is saved to the first phonebook record of the SIM card. It can be seen from the above example that AT commands use strings to pass command parameters. In fact, AT commands use a lot of strings to pass commands and response parameters. [0003] If the parameters are normal ASCI...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04Q7/32G06F9/44G06F9/445H04M1/72403
Inventor 冯维昭薛宝林梁永胜
Owner ZTE CORP