Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

HCI code secondary generation method

A secondary generation and code technology, applied in the field of HCI code, can solve problems such as error-prone, large amount of code, poor maintainability, etc., achieve fast machine processing, small code, and improve the effect of quick troubleshooting

Active Publication Date: 2019-07-30
BEIJING BAIRUI INTERNET TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] To this end, the embodiment of the present invention provides a method for secondary generation of HCI codes, which uses two HCI code generation methods to solve the problems caused by manually writing the encoding and decoding functions of commands and events and their mapping relationships one by one in the prior art. The amount of code is huge, error-prone, poor maintainability and other issues

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
  • HCI code secondary generation method
  • HCI code secondary generation method
  • HCI code secondary generation method

Examples

Experimental program
Comparison scheme
Effect test

specific example

[0029] 1. Input materials

[0030]

[0031] 2. Enter two HCI commands, as follows:

[0032]

[0033] Through the secondary generation method of the HCI code, the final OPS macro value generated by the first HCI command for its reading is: 0x2200203d;

[0034] The second HCI command generates the OPS macro value: 0x22b5203e;

[0035] The information carried by the OPS macro includes: the operation code of the command, the event code to wait after the command is sent, the encoding information of the command, and the offset in the encoding information table.

[0036] Therefore, for HCI users, they only need to perform the following two steps to issue a command, which is extremely convenient:

[0037] In the first step, when the user fills in the structure, fill in the parameters of the command;

[0038] In the second step, the user uses the above-mentioned OPS macro to inform the relevant information of the HCI code.

[0039] The user fills in the code structure:

[00...

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

The embodiment of the invention discloses an HCI code secondary generation method, which comprises the following steps of: inputting two original codes for obtaining a numerical value table and forming a converter respectively; using a converter to read codes of the numerical table; generating a final HCI code and an interface used by an HCI final user according to a fixed format by using a compressed format; reading codes of the numerical table through the converter to generate final HCI codes which are oriented to computer storage and friendly to operation, the advantages of being rapid in machine processing and small in code are achieved, the rapid error checking function is improved, and the numerical table gives consideration to human readability and maintainability.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of HCI codes, in particular to a method for secondary generation of HCI codes. Background technique [0002] The HCI (Host Controller Interface) interface specification defines a large number of command and event formats and parameters. For HCI users, filling in these commands or parsing received events requires a structured / macro-oriented definition, while the Controller needs to use the format defined by the specification. There are a large number of commands and events between the Bluetooth host (Host) and the controller (Controller) side, and the parameters are diverse. [0003] First, there is a natural need to convert the format between the two. Second, the expected return events of the commands are different. The supported commands and features returned by the Controller need to correspond to the commands and behaviors that can be sent by the Host. Simply put , there is an ...

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): G06F8/40
CPCG06F8/40Y02D10/00
Inventor 王尧朱勇叶东翔胡亮
Owner BEIJING BAIRUI INTERNET TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products