This chapter mainly introduces the main functions of the QPYcom tool's main interface. For detailed operation instructions, please refer to Extension Function.
After obtaining the tool in the previous steps, unzip the downloaded QPYcom.zip file and enter the unzipped directory to find QPYcom.exe. With this tool, you can download your Python scripts to the module, interact with the module through the command line, and QPYcom supports firmware download and combination, update detection, and other functions. You can use the specific function according to your needs.
The main pages of the tool are shown in the following figures:
The buttons on the REPL page are explained as follows:
Start interacting with the module through commands.
Pause interacting with the module through commands.
Stop interacting with the module through commands.
Clear the screen print.
Display print time.
Display line numbers.
Switch the theme of the main interaction interface (switch between black and white themes).
Save the interaction log.
Search keywords in the interaction logs.
Module log settings, serial port configuration, and other option settings.
Shortcut commands (configured in config.ini).
Configure shortcut commands in the toolkit. You can configure the commands as needed. Please note that the maximum number of commands is 16, and the maximum length of command names is 16 characters.
Post the tool on top.
Make FOTA upgrade packages.
Function box, currently only has the function of modifying partitions.
The "View" tab includes functions "Interactive command line", "File browsing", "FW/script download", "Software setting", "Language", "Module log", and "Download log".
By clicking "View > Interactive command line", you can enter the "REPL" page, where you can manually send commands to interact with the module through the interactive window. The "REPL" page is shown below.
By clicking "View > File browsing", you can enter the "File" page, where you can upload, view, add, and delete the Python files in both your local disks and the module.
In addition to uploading files by clicking "+" on the page, you can also upload a local file to the module by drag-and-drop. Select the local file on the left and drag it to the folder on the right to upload the file. The download progress will be displayed in the status bar. Note that files can only be dragged and dropped into folders. If you drop a file to a wrong location, an error will be prompted. You can call uos.mkdir()
to create a new folder in the module and then drag and drop the local file to the new folder in the module. Note that files can only be dragged and dropped into folders indicated with "+" and "-". For folders with no symbols, refresh the page.
By clicking "View > FW/script download", you can upload Python script files in batches and download firmware to modules. The operation steps are as follows:
As shown in the figure:
By clicking "View > Software setting", you can enter the "Settings" page, where you can set whether to automatically save the module log, the size limit of a single log for saving, the maximum number of logs that can be saved, serial port parameters (including the parity bit, data bit, stop bit and flow control), mpy-cross path, and the font for the "REPL" page. These settings can be saved persistently.
By clicking the sub-menus in the "Help" tab, you can check the version and whether there is any update, and access the QuecPython official website and Quectel official website.
If you click "Help > Check updates", the tool will check whether there is a new version. If there is no new version, the notification that the current version is already up to date will pop up. If there is a new version, the update content and version number will pop up.
For a mandatory update pop-up, if you select to update, the update progress will start. If you select to cancel, you will exit QPYcom directly.
For an optional update which can be ignored this time, if you select to ignore this pop-up, it will pop up again the next time you start QPYcom, but no longer pop up this time. If you select to update, the update progress will start.
For an optional update which can be ignored this time, if you select to ignore this update, it will no longer pop up even the next time you start QPYcom. If you select to update, the update progress will start.
During the update process, a progress bar and update logs will be displayed. The tool cannot be operated during the update process.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。