Skip to content

Commit cb725c9

Browse files
authored
Merge pull request #37 from Love4yzp/main
update indicator_lorawan README
2 parents b75c932 + 842debc commit cb725c9

File tree

6 files changed

+51
-33
lines changed

6 files changed

+51
-33
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Fixed
1313

14+
## 2023-12-18
15+
### Changed
16+
- Update indicator_lorawan demo README
17+
18+
## 2023-12-15
19+
### Changed
20+
- File structure to dependent
21+
### Fixed
22+
- LoRaWAN frequency change rebooting
23+
24+
## 2023-11-23
25+
### Changed
26+
- Modify sdkconfig.defaults for lvgl,photo,squareline_demo
27+
### Added
28+
- Add Project Share to README
29+
1430
## 2023-11-17
1531
### Changed
1632
- No longer need patching IDF (thx to Hermit from SqureLine Studio)
1733
- Update README to compile with ESP-IDF v5.1.1
1834

35+
## 2023-10-31
36+
### Added
37+
- lorawan demo and fix bugs
38+
1939
## 2023-10-09
2040
### Fixed
2141
- Connection bug in Home Assistant (dc0b8b7).

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ The project includes various examples that demonstrate how to effectively use ES
3939
- `lvgl_demos` Demonstrated some demos of lvgl.
4040
- `photo_demo` Demonstrates how to display a photo of yourself.
4141
- `squareline_demo` Demonstrates how to display the UI file exported by the squareline project.
42+
- `lorawan_demo` Demonstrates how to communicate using lorawan in SenseCAP Indicator.
4243

4344
## Usage
4445

components/LoRaWAN/Kconfig.projbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
menu "LoRWAN"
1+
menu "LoRaWAN"
22
menu "Enable built-in REGION"
33
config REGION_EU868
44
bool "Enable EU868"

examples/indicator_lorawan/README.md

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
1-
# Indicator Basis Demo
2-
3-
This demo mainly implements time, sensor data display, and some configuration functions.
4-
5-
<figure class="third">
6-
<img src="./docs/page1.png" width="480"/> <img src="./docs/page2.png" width="480"/>
7-
<img src="./docs/page3.png" width="480"/> <img src="./docs/page4.png" width="480"/>
8-
</figure>
9-
10-
## Function
11-
- [x] Time display.
12-
- [x] CO2, tVOC, Temperature and Humidity data real-time display.
13-
- [x] CO2, tVOC, Temperature and Humidity history data display.
14-
- [x] Wifi config.
15-
- [x] Display config.
16-
- [x] time config.
17-
18-
19-
## How to use example
20-
21-
Please first read the [User Guide](https://wiki.seeedstudio.com/SenseCAP_Indicator_Get_Started) of the SenseCAP Indicator Board to learn about its software and hardware information.
22-
23-
24-
### Build and Flash
25-
26-
1. The project configure PSRAM with Octal 120M by default. please see [here](../../tools/patch/README.md#idf-patch) to enable `PSRAM Octal 120M` feature.
27-
2. Run `idf.py -p PORT flash monitor` to build, flash and monitor the project.
28-
29-
(To exit the serial monitor, type ``Ctrl-]``.)
30-
31-
See the [Getting Started Guide](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html) for full steps to configure and use ESP-IDF to build projects.
1+
# SenseCAP Indicator LoRaWAN Demo
2+
3+
## Introduction
4+
The SenseCAP Indicator LoRaWAN Demo, developed for the ESP32 platform, showcases the application of LoRaWAN technology in environmental monitoring. It provides a user-friendly interface for managing LoRaWAN network connections and transmitting sensor data.
5+
6+
## Usage
7+
![LoRaWAN Screen](./feature.png)
8+
The LoRaWAN screen is the user's gateway to control the device's network connection activities. It automates the connection to the LoRaWAN network and efficiently transmits captured sensor data.
9+
10+
### Console Commands
11+
To adjust device settings, use the `lorawan` command in the console. This command allows you to set essential parameters like EUI, Join EUI, and App Key, crucial for connecting and authenticating your device with a LoRaWAN network.
12+
13+
14+
### Examples
15+
```sh
16+
lorawan --eui <Your_EUI> --join_eui <Your_Join_EUI> --app_key <Your_App_Key>
17+
```
18+
1. **Set EUI**:
19+
```sh
20+
lorawan --eui 0004A30B001C0530
21+
```
22+
This sets the EUI of your device.
23+
24+
2. **Set Join EUI and App Key**:
25+
```sh
26+
lorawan --join_eui 70B3D57ED0007E4A --app_key 8AFE71A145B253E49C3031AD06827777
27+
```
28+
Use this to set the Join EUI and App Key for network authentication.
27.7 KB
Loading

examples/indicator_lorawan/main/cmd/indicator_cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ int indicator_cmd_init(void)
331331
repl_config.max_cmdline_length = 1024;
332332

333333
register_lorawan();
334-
register_lorawan_test();
334+
// register_lorawan_test();
335335

336336
esp_console_dev_uart_config_t hw_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT();
337337
ESP_ERROR_CHECK(esp_console_new_repl_uart(&hw_config, &repl_config, &repl));

0 commit comments

Comments
 (0)