5. **Upload File**:
- ```
+
+```bash
AT+QFTPPUT="test_my2.txt","COM:",0
- ```
+```
6. **Download File**:
- ```
+
+```bash
AT+QFTPGET="test_my2.txt","COM:"
- ```
+```
7. **Close FTP Session**:
- ```
+
+```bash
AT+QFTPCLOSE
AT+QIDEACT=1
- ```
+```
---
From d490ae7cce5235a0ac2390e93d32a9ca966bcbc4 Mon Sep 17 00:00:00 2001
From: nfs0619 <1447996181@qq.com>
Date: Wed, 18 Dec 2024 10:54:49 +0800
Subject: [PATCH 21/25] Updated the button for XIAO S3 Plus
---
.../SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md
index 6f5ce5d6b4f0..916f7ed53096 100644
--- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md
+++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md
@@ -41,7 +41,7 @@ import TabItem from '@theme/TabItem';
|
From a10374df60456cabb8690a6d8aa834c385d49866 Mon Sep 17 00:00:00 2001
From: KasunThushara <73091563+KasunThushara@users.noreply.github.com>
Date: Wed, 18 Dec 2024 09:16:24 +0530
Subject: [PATCH 22/25] modified url
---
.../Applications/send_text_massages_lte_cat_hat_for_rpi.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md
index 1b75f4903719..07a45eb10ae1 100644
--- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md
+++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md
@@ -10,7 +10,7 @@ keywords:
- SMS
- Edge Computing
image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/sms_setup.png
-slug: /send_recive_sms_raspberry_pi_4g_lte_hat
+slug: /send_receive_sms_raspberry_pi_4g_lte_hat
last_update:
date: 12/11/2024
author: Kasun Thushara
From 20239a91bc698539103b82d0781378a7219e6fe4 Mon Sep 17 00:00:00 2001
From: KasunThushara <73091563+KasunThushara@users.noreply.github.com>
Date: Wed, 18 Dec 2024 10:53:17 +0530
Subject: [PATCH 23/25] ADD: MQTT on 4g rpi Hat
---
.../Applications/mqtt_on_rpi_4g_lte_hat.md | 176 ++++++++++++++++++
sidebars.js | 1 +
2 files changed, 177 insertions(+)
create mode 100644 docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat.md
diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat.md
new file mode 100644
index 000000000000..520ff1911359
--- /dev/null
+++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat.md
@@ -0,0 +1,176 @@
+---
+description: Discover how the 4G LTE HAT for Raspberry Pi and MQTT protocol enable efficient, real-time communication for IoT and IIoT applications. Simplify remote connectivity with AT commands for scalable, high-speed data transmission and remote management.
+
+title: Setting Up 4G LTE Connectivity for IIoT with MQTT
+keywords:
+ - Raspberry Pi Hat
+ - Getting started
+ - IIoT
+ - IoT
+ - MQTT
+ - Edge Computing
+image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/sms_setup.png
+slug: /mqtt_raspberry_pi_4g_lte_hat
+last_update:
+ date: 12/18/2024
+ author: Kasun Thushara
+---
+
+## Introduction
+
+The 4G LTE HAT for Raspberry Pi provides reliable, high-speed cellular connectivity, making it essential for remote and industrial IoT (IIoT) applications. With MQTT, a lightweight messaging protocol, devices can communicate efficiently over cellular networks, even in isolated locations. Using AT commands for configuration, it simplifies the process of connecting IoT devices to the network. This combination of 4G LTE and MQTT enhances real-time data transmission, enabling scalable IIoT solutions with remote management capabilities.
+
+## Prerequisites
+
+### Hardware Requirements
+
+
+
+
+ Raspberry Pi 5 |
+ Raspberry Pi 4G LTE CAT4 HAT |
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+
+
+### Software Requirements
+
+#### Communication drivers and tools
+
+If you have not installed relevant drivers and communication tools, please check the [guide](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#software-preparation) first
+
+#### Mosquitto Explorer
+
+We will be using the Mosquitto broker, specifically the test broker available at **https://test.mosquitto.org** , which `does not require a username or password`. For convenience, it is recommended to [install Mosquitto](https://mqtt-explorer.com/) directly on your PC for testing purposes.
+
+
+
+
+
+## Using AT commands Let's connect to MQTT Broker
+
+**Step 1: Configure receiving mode**
+
+```bash
+AT+QMTCFG="recv/mode",0,0,1
+```
+**Step 2: Open a network for MQTT client**
+
+```bash
+AT+QMTOPEN=0,"test.mosquitto.org",1883
+
+```
+**Step 3: Check MQTT connection status (optional)**
+
+```bash
+AT+QMTOPEN?
+```
+
+**Step 4: Connect a client to the Mosquitto MQTT server**
+
+```bash
+AT+QMTCONN=0,"clientExample"
+```
+
+:::note
+Note that the client ID must be unique, so ensure you generate a highly unique one. Mosquitto's public broker does not require a username or password for access.
+:::
+
+**Step 5: Publish a message to a topic**
+
+```bash
+AT+QMTPUBEX=0,0,0,0,"test/topic",30
+
+```
+:::note
+ when `>` appear type the massage and press ctrl+z
+:::
+
+```bash
+> This is test data, hello MQTT.
+```
+Open Mosquitto Explorer and enter the topic you published to. You will see the updates appear there.
+
+
+
+
+
+
+**Step 6: Subscribe to a topic**
+
+```bash
+AT+QMTSUB=0,1,"test/topic",2
+```
+
+Open Mosquitto Explorer and enter the topic and massage you want to publish to from the 4G module.
+
+
+
+
+
+You will then see the published message successfully subscribed to at the 4G module's end.
+
+
+
+
+
+**Step 7: Unsubscribe from a topic**
+
+```bash
+AT+QMTUNS=0,2,"test/topic"
+```
+
+**Step 8: Disconnect the client from the MQTT server**
+```bash
+AT+QMTDISC=0
+```
+
+## Resources
+
+
+- **[PDF Book]** [MQTT Application Guide](https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/Quectel_LTE_Standard_MQTT_Application_Note_V1.2.pdf )
+
+
+
+
+## Tech Support & Product Discussion
+
+Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.
+
+
+
+
\ No newline at end of file
diff --git a/sidebars.js b/sidebars.js
index 98e57d46a11e..306c031daa5d 100644
--- a/sidebars.js
+++ b/sidebars.js
@@ -2738,6 +2738,7 @@ const sidebars = {
'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss',
'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up',
'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat',
+ 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat',
],
},
],
From 3ef9d23d71aa02e83f530370742a52c122ea4bbc Mon Sep 17 00:00:00 2001
From: JasonWenTin
Date: Thu, 19 Dec 2024 09:27:06 +0800
Subject: [PATCH 24/25] add tip for download lsm6ds3 library
---
.../SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md
index 8bbb64c8aab0..58f998260b55 100644
--- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md
+++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md
@@ -124,7 +124,11 @@ void loop() {
}
}
```
+:::tip
+
+Due to the update of the LSM6DS3 library, if you have previously added this library to the user, you will need to re-download version 2.0.4 or higher and add the ZIP file to the Arduino.
+:::
### Function Overview
- **Include Libraries**
```cpp
From f518b38530cc355f5de7fa2d1c99f2f2a7f9c51b Mon Sep 17 00:00:00 2001
From: addictCode <2286173541@qq.com>
Date: Thu, 19 Dec 2024 11:18:39 +0800
Subject: [PATCH 25/25] update: watcher to nodered wiki update import code
---
.../node_red_integration/watcher_node_red.md | 48 +++++++++++--------
1 file changed, 28 insertions(+), 20 deletions(-)
diff --git a/docs/Sensor/SenseCAP/SenseCAP_Watcher/Notifications/Http_Proxy_Application/node_red_integration/watcher_node_red.md b/docs/Sensor/SenseCAP/SenseCAP_Watcher/Notifications/Http_Proxy_Application/node_red_integration/watcher_node_red.md
index 13c1be79ad39..19f920ce837e 100644
--- a/docs/Sensor/SenseCAP/SenseCAP_Watcher/Notifications/Http_Proxy_Application/node_red_integration/watcher_node_red.md
+++ b/docs/Sensor/SenseCAP/SenseCAP_Watcher/Notifications/Http_Proxy_Application/node_red_integration/watcher_node_red.md
@@ -203,57 +203,65 @@ Paste the following code into it and click **Import** button.
```
[
{
- "id": "ae13bbcd03f719ce",
+ "id": "99b783856e77b41f",
+ "type": "tab",
+ "label": "Flow 2",
+ "disabled": false,
+ "info": "",
+ "env": []
+ },
+ {
+ "id": "2791b077ca7367c9",
"type": "http in",
- "z": "f6f2187d.f17ca8",
+ "z": "99b783856e77b41f",
"name": "",
"url": "/v1/notification/event",
"method": "post",
"upload": false,
"swaggerDoc": "",
- "x": 280,
- "y": 360,
+ "x": 450,
+ "y": 460,
"wires": [
[
- "139364fe839c4715"
+ "5de4e51231d87d00"
]
]
},
{
- "id": "93011c7c05cd8352",
+ "id": "61c50a0666f83a50",
"type": "http response",
- "z": "f6f2187d.f17ca8",
+ "z": "99b783856e77b41f",
"name": "",
"statusCode": "200",
"headers": {},
- "x": 660,
- "y": 360,
+ "x": 830,
+ "y": 460,
"wires": []
},
{
- "id": "139364fe839c4715",
+ "id": "5de4e51231d87d00",
"type": "function",
- "z": "f6f2187d.f17ca8",
+ "z": "99b783856e77b41f",
"name": "",
- "func": "// 在这个地方处理数据\n// 例如下面的,提取了报警信息\n// msg.payload = {\n// alertMsg: msg.payload.events.text\n// }\n msg.payload = {\n code: 200,\n msg:\"ok\",\n data: msg.payload\n}\nreturn msg;",
+ "func": "// here to process data\n// for example, extract alarm info \n// msg.payload = {\n// alertMsg: msg.payload.events.text\n// }\n msg.payload = {\n code: 200,\n msg:\"ok\",\n data: msg.payload\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
- "x": 480,
- "y": 360,
+ "x": 660,
+ "y": 460,
"wires": [
[
- "93011c7c05cd8352",
- "356cfd540bad72dd"
+ "61c50a0666f83a50",
+ "852490a1c300cd94"
]
]
},
{
- "id": "356cfd540bad72dd",
+ "id": "852490a1c300cd94",
"type": "debug",
- "z": "f6f2187d.f17ca8",
+ "z": "99b783856e77b41f",
"name": "",
"active": true,
"tosidebar": true,
@@ -262,8 +270,8 @@ Paste the following code into it and click **Import** button.
"complete": "false",
"statusVal": "",
"statusType": "auto",
- "x": 670,
- "y": 420,
+ "x": 840,
+ "y": 520,
"wires": []
}
]