Simulation serial port testing method and device
A technology for simulating serial ports and testing devices, applied in the field of communication, can solve the problems affecting development progress, client development and debugging cannot be debugged, and there is no hardware or baseband software client synchronous debugging, etc., to achieve the effect of improving development progress
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0133] Example 1: This example implements AT commands and responses, and URC reporting, as follows:
[0134] The AT command receiving processing unit is used to adopt D-Bus Method Reply (soft bus response program), receive and extract the AT command from the client, and issue the AT command to the AT process control unit.
[0135] The AT process control unit is used to read the current node information from the XML file through the XML parser unit, if the current node is a URC command, then transfer the URC command to the AT command response processing unit; otherwise, after receiving the AT command receiving processing unit After sending the AT command, use the AT command to match the expected AT command of the current node in the current XML file. If the match fails, use the unknown content to pass to the AT command response processing unit; if the match is successful, use the current node in the XML file. The response content of recv_hex (AT response) is passed to the AT co...
example 2
[0140] Example 2: This example further implements the response and timeout processing of AT commands on the basis of Example 1, as follows:
[0141] The AT command receiving processing unit is used to receive and extract the AT command from the client by using D-Bus Method Reply, and send the AT command to the AT process control unit.
[0142] The AT process control unit is used to read the current node information from the XML file through the XML parser unit. If the current node is a URC command, then control the AT timeout simulation unit to start the timer; otherwise, after receiving the AT command, the receiving processing unit issues After the AT command, use the AT command to match the expected AT command of the current node in the current XML file, if the match fails, use the unknown content to pass to the AT command response processing unit; if the match is successful, control the AT timeout simulation unit to start timer;
[0143] The AT timeout simulation unit star...
example 3
[0147] Example 3: This example further implements the response and Abort processing of AT commands on the basis of Example 2, as follows:
[0148] The AT command receiving processing unit is used to receive and extract the AT command from the client by using D-Bus Method Reply, and send the AT command to the AT process control unit.
[0149] The AT process control unit, after receiving the AT command issued by the AT command receiving processing unit, uses the AT command to match the expected AT command of the current node in the current XML file, and if the match fails, uses the unknown content to pass to the AT command Response processing unit; if the match is successful, then control the AT timeout simulation unit to start the timer;
[0150] The AT timeout simulation unit starts the timer according to the delay requirement of the current node in the XML configuration file, and when the timer overflows, the recv_hex content is passed to the AT command response processing un...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com