中文 | English
This repository is recommended to be used through the unirtos-cli demo workflow to ensure consistency in project creation, environment setup, and build procedures.
This demo is used to demonstrate the basic workflow of UniRTOS network capabilities and is suitable as a starting point for network-based applications.
- Demonstrates the initialization of network-related components and the basic invocation flow
- Provides a minimal runnable example for network feature verification
- Makes it easy to extend protocol, connection, and data send/receive logic on this basis
- Development Preparation
- Install the Cross-Compilation Toolchain
- Install Python3
- Install git
- Install
unirtos-cli:pip install unirtos-cli
After the above tools are installed, confirm that the following commands are available:
python --version # Python3
git --version
unirtos --version # version 1.0.5 or later
unirtos-cli version # version 1.0.11 or laterFirst, check the available demos and versions:
unirtos-cli ls-demosCreate this demo project:
unirtos-cli new -r unirtos-network-demosTo specify a version:
unirtos-cli new -r unirtos-network-demos -v 1.0.0cd unirtos-network-demos-1.0.0
unirtos-cli env-setup
unirtos-cli build# Open the SDK menu configuration
unirtos-cli menuconfig
# Clean build artifacts
unirtos-cli cleanTechnical Community: https://forumschinese.quectel.com/c/66-category/66
Contributions are welcome. It is recommended to submit changes in the following way:
- Run a basic verification before submission: env-setup, build, clean.
- Use clear commit messages describing the purpose of the change, scope of impact, and verification results.
- When adding new features or changing behavior, update the README and related documentation accordingly.
- Submit bug fixes and feature improvements through Issues or Pull Requests.