From d48d016e98d1c253e3155e00b82c55fb8004ede0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=92=8C?= Date: Fri, 28 Mar 2025 17:47:35 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9mqtt=5Fdemo.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/Application_guide/en/sidebar.yaml | 15 +++++++++++++++ .../en/solutions/DTU-EG912U/mqtt_demo.md | 8 ++------ .../en/solutions/DTU-EG912U/quick_start.md | 2 +- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/docs/Application_guide/en/sidebar.yaml b/docs/Application_guide/en/sidebar.yaml index b35ce4f0..c79c8ea5 100644 --- a/docs/Application_guide/en/sidebar.yaml +++ b/docs/Application_guide/en/sidebar.yaml @@ -262,6 +262,20 @@ items: - label: Product Solution file: solutions/README.md items: + - label: DTU based on EG912U Solution + file: solutions/DTU-EG912U/README.md + items: + - label: Development resources summary + file: solutions/DTU-EG912U/dev_resources.md + - label: quick start + file: solutions/DTU-EG912U/quick_start.md + items: + - label: Device development based on TCP protocol + file: solutions/DTU-EG912U/tcp_demo.md + - label: Device development based on the MQTT protocol + file: solutions/DTU-EG912U/mqtt_demo.md + - label: software design + file: solutions/DTU-EG912U/software_design.md - label: DTU Solution file: solutions/DTU/README.md - label: Smart Agriculture Central Control Panel @@ -272,6 +286,7 @@ items: file: solutions/electricity-meter/README.md - label: Tracker Solution file: solutions/tracker/README.md + items: - label: HeliosSDK file: helios-sdk/README.md items: diff --git a/docs/Application_guide/en/solutions/DTU-EG912U/mqtt_demo.md b/docs/Application_guide/en/solutions/DTU-EG912U/mqtt_demo.md index 76edd01f..16bf2ce8 100644 --- a/docs/Application_guide/en/solutions/DTU-EG912U/mqtt_demo.md +++ b/docs/Application_guide/en/solutions/DTU-EG912U/mqtt_demo.md @@ -109,13 +109,13 @@ Download and install the **QPYCom** tool and use it to download scripts to the Q ## Service debugging -**View REPL interface logs ** +**View REPL interface logs** After the program is run, you can see the log output in the REPL interaction page as shown in the following figure. There are two threads in the DTU service to process data, one is used to detect and read serial port data and forward the data to the cloud, and the other is to detect the cloud downlink data to the serial port, as shown in the following figure. ![](../../media/solutions/DTU-EG912U/repl_logs.png) -**Uplink transparent transmission ** +**Uplink transparent transmission** The serial debugging tool is used to simulate the mcu to send uplink data to the module. @@ -144,10 +144,6 @@ The cloud sends downlink data. ![](../../media/solutions/DTU-EG912U/cloud_down.png) -xxxxxxxxxx git clone https://github.com/QuecPython/solution-simple-DTUcd solution-simple-DTUshell - - git clone https://github.com/QuecPython/solution-simple-DTUcd solution-simple-DTUshell - Using QCOM to observe serial debugging tool to simulate mcu receiving module downlink data. ![](../../media/solutions/DTU-EG912U/qcom_down.png) diff --git a/docs/Application_guide/en/solutions/DTU-EG912U/quick_start.md b/docs/Application_guide/en/solutions/DTU-EG912U/quick_start.md index ae672c2e..2ec9e1ff 100644 --- a/docs/Application_guide/en/solutions/DTU-EG912U/quick_start.md +++ b/docs/Application_guide/en/solutions/DTU-EG912U/quick_start.md @@ -3,7 +3,7 @@ ## Hardware preparation - A Windows computer, Win10 system is recommended. -- One set [EG912U Core Board]([QuecPython BG&EG 系列核心板介绍 - QuecPython](https://python.quectel.com/doc/Getting_started/zh/evb/bg-eg-core-evb.html)) +- One set [EG912U Core Board](https://python.quectel.com/doc/Getting_started/zh/evb/bg-eg-core-evb.html) - One usable Nano Sim card. - An antenna. - A Mini USB cable. -- Gitee From 865a88e5721cd95c7b606fa5e3024e8e30e9462d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=92=8C?= <15466851+Arronchenzhihe@user.noreply.gitee.com> Date: Fri, 28 Mar 2025 09:54:45 +0000 Subject: [PATCH 2/2] update docs/Application_guide/en/solutions/DTU-EG912U/tcp_demo.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈志和 <15466851+Arronchenzhihe@user.noreply.gitee.com> --- docs/Application_guide/en/solutions/DTU-EG912U/tcp_demo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Application_guide/en/solutions/DTU-EG912U/tcp_demo.md b/docs/Application_guide/en/solutions/DTU-EG912U/tcp_demo.md index a3490bbc..d1694b53 100644 --- a/docs/Application_guide/en/solutions/DTU-EG912U/tcp_demo.md +++ b/docs/Application_guide/en/solutions/DTU-EG912U/tcp_demo.md @@ -82,7 +82,7 @@ The complete profile template is as follows: } ``` -参数说明: +Parameter description: - `system_config.config`: Specifies the type of private cloud currently in use. tcp and mqtt are currently supported. - `mqtt_private_cloud_config`: MQTT private cloud configuration. -- Gitee