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

LUA-script-based wireless module automatic testing method

A wireless module, automatic test technology, applied in transmission monitoring, telephone communication, electrical components and other directions, can solve problems such as inaccurate judgment, and achieve the effect of improving test efficiency

Inactive Publication Date: 2011-11-23
SHANGHAI SIMCOM LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Some basic functions of the wireless module and AT command operation are the main ways to test the wireless module. However, due to the variety of AT commands and their parameters, there are usually many repeated operations, and when an exception occurs, it is impossible to accurately determine which step is the problem. Therefore, an automated test is needed to reduce the repetitive manual input work and accurately locate the wrong operation position, so as to reduce the repeated work of the test engineer and the time for the developer to locate the problem, so as to improve the test efficiency

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
  • LUA-script-based wireless module automatic testing method
  • LUA-script-based wireless module automatic testing method
  • LUA-script-based wireless module automatic testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0018] Such as figure 1 , figure 2 Shown, a kind of wireless module automatic testing method based on LUA script, comprises the following steps:

[0019] (1) Generate a LUA script through LUA programming for each function and AT command to be tested;

[0020] (2) Connect the wireless module 1 with the PC 2 through the serial port line 3, and judge whether the communication is normal, if yes, perform step (3);

[0021] (3) the LUA script that step (1) is generated is copied to the Multimedia (custom multimedia directory) root directory of the wireless module;

[0022] (4) Restart the wireless module, the LUA script runs automatically, and starts the test;

[0023] (5) After the test is completed, the LUA script automatically checks the running results, compares the difference between the actual results and the expected results, and generates an error report in the EXCEL form;

[0024] (6) Write different test scripts and copy them to the wireless module as needed, and repe...

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 invention relates to a LUA-script-based wireless module automatic testing method, which comprises the following steps of: (1) performing LUA programming on each function to be tested and an attention (AT) command to generate a LUA script; (2) connecting a wireless module with a personal computer (PC) by using a serial port line, judging whether communication is normal or not, and executing a step (3) if the communication is normal; (3) copying the LUA script generated by the step (1) to a Multimedia root directory of the wireless module; (4) restarting the wireless module and automatically running the LUA script to start testing the wireless module; (5) after the testing is finished, automatically checking running results, comparing the actual results and expected results and generating an error report in form of EXCEL form by using the LUA script; and (6) compiling different test scripts according to needs, copying the test scripts to the wireless module, repeating the steps (3) and (4), and after the running of all the scripts is finished, finishing automatically testing the wireless module and recording problems. Compared with the prior art, the method has the advantages of high test efficiency and the like.

Description

technical field [0001] The invention relates to a wireless module testing method, in particular to a wireless module automatic testing method based on LUA script. Background technique [0002] LUA is a scripting language that is embedded in applications and provides flexible expansion and customization functions for applications. [0003] Some basic functions of the wireless module and AT command operation are the main ways to test the wireless module, but due to the variety of AT commands and their parameters, there are usually many repeated operations, and when an exception occurs, it is impossible to accurately determine which step is the problem. Therefore, an automated test is needed to reduce the repetitive manual input work and accurately locate the wrong operation position, so as to reduce the repeated work of the test engineer and the time for the developer to locate the problem, so as to improve the test efficiency. Contents of the invention [0004] The purpose...

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
IPC IPC(8): H04B17/00H04M1/24H04B17/40
Inventor 邓亮
Owner SHANGHAI SIMCOM LTD