Skip to content

Commit e24603c

Browse files
authored
Merge pull request #10 from sparkfun/main
Move main to the develop branch
2 parents b725e6e + 6cbc05c commit e24603c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+863
-216
lines changed

.github/workflows/build-iotnode-lorawan-develop.yml

Lines changed: 0 additions & 93 deletions
This file was deleted.

.github/workflows/build-iotnode-lorawan-release1.0.0.yml

Lines changed: 0 additions & 93 deletions
This file was deleted.

.github/workflows/build-iotnode-lorawan.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
name: IoT Node - LoRaWAN - Firmware build Action
22
on:
33
push:
4-
branches:
5-
- main
64

75
workflow_dispatch:
86
branches:
7+
- 'main'
8+
- 'develop'
9+
- 'feature/**'
10+
- 'release/**'
11+
- 'hotfix/**'
912

1013
env:
1114
ARDUINO_RP2040_DIR: .arduino15/packages/rp2040/hardware/rp2040/4.3.1
@@ -20,8 +23,6 @@ jobs:
2023
steps:
2124
- name: Checkout Repo and submodules
2225
uses: actions/checkout@v3
23-
with:
24-
ref: main
2526

2627
# checkout flux-sdk
2728
- name: Checkout the flux-sdk

.github/workflows/mkdocs.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Run mkdocs
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
workflow_dispatch:
8+
branches:
9+
10+
permissions:
11+
contents: write
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Python runtime
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: 3.x
23+
24+
- name: Install Python dependencies
25+
run: pip install mkdocs-monorepo-plugin mkdocs-redirects mkdocs-with-pdf weasyprint mkdocs-git-authors-plugin mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2
26+
27+
- name: Set up build cache
28+
uses: actions/cache@v2
29+
with:
30+
key: ${{ github.ref }}
31+
path: .cache
32+
33+
- name: Install Insiders build
34+
env:
35+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
36+
run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
37+
- run: mkdocs gh-deploy --force

README.md

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,41 @@
1-
# sfe-iot-node-lorawan
2-
IoT Node Firmware for a Dig LoRaWAN deployment
31

4-
### Compile command
2+
![SparkFun IoT Node - LoRaWAN Firmware](https://github.com/sparkfun/sfe-iot-node-lorawan/blob/main/docs/assets/img/IoT-Node-LoRaWAN-Banner.jpg "SparkFun IoT Node - LoRaWAN")
53

6-
```
7-
arduino-cli compile --fqbn rp2040:rp2040:sparkfun_promicrorp2350 --export-binaries ./sfeIoTNodeLoRaWAN/sfeIoTNodeLoRaWAN.ino --library `pwd`/SparkFun_Flux
8-
```
4+
# SparkFun IoT Node - LoRaWAN
5+
6+
Firmware and associated Documentation and Firmware for the SparkFun IoT Node - LoRaWAN product
7+
8+
![Release](https://img.shields.io/github/v/release/sparkfun/sfe-iot-node-lorawan)
9+
![Release Date](https://img.shields.io/github/release-date/sparkfun/sfe-iot-node-lorawan?display_date=published_at)
10+
![Documentation - build](https://img.shields.io/github/actions/workflow/status/sparkfun/sfe-iot-node-lorawan/pages%2Fpages-build-deployment?label=Documentation)
11+
[![IoT Node - LoRaWAN - build](https://github.com/sparkfun/sfe-iot-node-lorawan/actions/workflows/build-iotnode-lorawan-develop.yml/badge.svg)](https://github.com/sparkfun/sfe-iot-node-lorawan/actions/workflows/build-iotnode-lorawan-develop.yml)
12+
![GitHub issues](https://img.shields.io/github/issues/sparkfun/sfe-iot-node-lorawan)
13+
14+
This repository contains the latest firmware for the SparkFun IoT Node - LoRaWAN development board. While the IoT Node - LoRaWAN development board is programmable using Arduino, the IoT Node - LoRa board ships with a firmware application that enables rapid sensor definition and deployment on a Digi LoRaWAN XON network. This repository contains the source for this LoRaWAN application and well as firmware releases.
15+
16+
The IoT Node - LoRaWAN firmware is pre-programmed to automatically log data from 25+ SparkFun [Qwiic](https://www.sparkfun.com/qwiic) sensors, all without requiring any hardware setup or code development. Just plug in a qwiic board, and log data to the LoRaWAN network. The IoT Node - LoRaWAN board automatically detects the connected sensor, configures the device and enables logging to the serial console and, if connected, to the Digi LoRaWAN network.
17+
18+
The SparkFun IoT Node - LoRaWAN board and firmware are designed to enable posting data to the LoRaWAN network within minutes, requiring no development or configuration. The SparkFun IoT Node - LoRaWAN board is configured to work with the Dig LoRaWAN network. Once the board is registered with your Digi XON account (via the on-board digital data tag - which is similar to a QR code), the board with this firmware should automatically connect to your Digi LoRaWAN account. Connect a supported qwiic sensor and data is automatically posted to the LoRaWAN network.
19+
20+
The IoT Node - LoRaWAN firmware is highly configurable via an easily to use serial interface. Simply plug in a USB C cable and open a terminal at 115200 Kbps. By default the logging output is automatically streamed to the serial terminal - pressing any key will bring up the menu system.
21+
22+
Details are outlined in [IoT Node - LoRaWAN Documentation](https://docs.sparkfun.com/sfe-iot-node-lorawan).
23+
24+
25+
## Latest Firmware
26+
27+
* Version 01.00.00 - [Release](https://github.com/sparkfun/sfe-iot-node-lorawan/releases/tag/v01.00.00)
28+
29+
## Documentation
30+
31+
* **[Hardware Hookup Guide](https://docs.sparkfun.com/SparkFun_IoT_Node_LoRaWAN/quick_start/)** - Basic hookup guide for the SparkFun IoT Node - LoRaWAN board
32+
* **GitHub Hardware Repo**
33+
* **[SparkFun IoT Node - LoRaWAN](https://github.com/sparkfun/SparkFun_IoT_Node_LoRaWAN)**
34+
35+
## Supported Products
36+
37+
* **[DEV-26060](https://www.sparkfun.com/products/26060)** - SparkFun IoT Node - LoRaWAN
38+
39+
### Latest Release
40+
41+
Details on the latest Firmware release are listed on the [Release Page](https://github.com/sparkfun/sfe-iot-node-lorawan/releases)
164 KB
Loading
Loading

docs/assets/img/digi-device-list.png

112 KB
Loading
197 KB
Loading
339 KB
Loading
521 KB
Loading

docs/assets/img/digi-xon-a-device.png

98.6 KB
Loading

docs/assets/img/digi-xon-devices.png

129 KB
Loading
210 KB
Loading

docs/assets/img/opreation-led-cmd.png

23.3 KB
Loading
126 KB
Loading
116 KB
Loading
140 KB
Loading
165 KB
Loading
43.5 KB
Loading
60.2 KB
Loading
64 KB
Loading

docs/assets/img/settings_function.png

48 KB
Loading
27.9 KB
Loading

docs/assets/img/settings_logger.png

120 KB
Loading

docs/assets/img/settings_lorawan.png

104 KB
Loading
45.5 KB
Loading
132 KB
Loading
45.7 KB
Loading

docs/assets/img/settings_system.png

48.3 KB
Loading

docs/assets/img/settings_time.png

112 KB
Loading

docs/assets/img/settings_timer.png

38.4 KB
Loading

docs/assets/img/settings_top_menu.png

85.2 KB
Loading
149 KB
Loading

docs/assets/img/verbose-startup.png

245 KB
Loading
233 KB
Loading

docs/console_commands.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# IOT Node - LoRaWAN - Console Commands
2+
3+
The serial console interactive menu system of the IoT Node - LoRaWAN an intuitive, dynamic and flexible methodology to interact with the system configuration.While extremely capable, when performing common admin or debugging tasks the menu system is an impediment to the desired operation. A fast, interactive solution is needed.
4+
5+
To provide rapid access to common administration and debugging commands, the IoT Node - LoRaWAN firmware provides a set of commands that are entered directly into the console. Starting with a "!" (bang), these commands are referred to as ***Console Commands*** or ***Bang Commands***.
6+
7+
## Available Commands
8+
9+
The following commands are available:
10+
11+
|Command | Description|
12+
|:---|:----|
13+
|<nobr>!reset-device-forced</nobr>|Resets the device (clears settings and restarts the device) without a prompt|
14+
|<nobr>!reset-device</nobr>| Resets the device (clears settings and restarts the device) with a [Yes/No] prompt|
15+
|<nobr>!clear-settings</nobr>|Clears the on-device saved settings with a [Yes/No] prompt|
16+
|<nobr>!clear-settings-forced</nobr>|Clears the on-device saved settings without a prompt|
17+
|<nobr>!restart</nobr>|Restarts the device with a [Yes/No] prompt|
18+
|<nobr>!restart-forced</nobr>|Restarts the device without a prompt|
19+
|<nobr>!log-rate</nobr>|Outputs the current log-rate of the device (milliseconds between logging transactions)|
20+
|<nobr>!log-rate-toggle</nobr>|Toggle the on/off state of the log rate data recording by the system. This value is not persisted to on-board settings unless the settings are saved.|
21+
|<nobr>!devices</nobr>|Lists the currently connected devices|
22+
|<nobr>!save-settings</nobr>|Saves the current system settings to the preference system|
23+
|<nobr>!verbose</nobr>|Toggles Verbose output/message mode. This value is not persistent|
24+
|<nobr>!heap</nobr>|Outputs the current statistics of the system heap memory|
25+
|<nobr>!log-now</nobr>|Trigger a data logging event|
26+
|<nobr>!lora-status</nobr>|Display the status and settings of the LoRaWAN|
27+
|<nobr>!about</nobr>|Outputs the full *About* page of the Node Board|
28+
|<nobr>!version</nobr>|Outputs the firmware version|
29+
|<nobr>!help</nobr>|Outputs the available *!* commands|
30+
31+
### Command Usage
32+
33+
To use a *Bang Command*, connect to the target IoT Node - LoRaWAN device via a serial console. and enter the command, starting with a `!` symbol Entering any other character will launch the standard DataLogger IoT menu system. When the `!` symbol is pressed, a prompt **>** should appear.
34+
35+
> Note: Since most *Bang Commands* are not interactive, they also enable commanding by another device, such as a computer attached to the IoT Node board.

0 commit comments

Comments
 (0)