Skip to content

Move main to the develop branch #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
80740db
add docs workflow ; remove workflow for v1
gigapod Jan 2, 2025
58d9ff4
pause workfow builds on push for now
gigapod Jan 2, 2025
a6b22a6
udpate of the landing/main page readme for the repo
gigapod Jan 2, 2025
b960145
update copywrite dates
gigapod Jan 2, 2025
dde0e3f
move image to jpg - make gh happy
gigapod Jan 2, 2025
24c33aa
fix issue in image path
gigapod Jan 2, 2025
b42d4d7
more badge; more better!
gigapod Jan 2, 2025
29e7a0a
shields are not easy...
gigapod Jan 2, 2025
b12d4c7
shields are not easy...
gigapod Jan 2, 2025
d73d69d
shields are not easy...
gigapod Jan 2, 2025
c77bf7e
start of the data-encoding page for docs
gigapod Jan 2, 2025
00f3c87
latest update - still work in progress
gigapod Jan 3, 2025
c8b83d4
finish sensors - need to add codes
gigapod Jan 3, 2025
82d5782
finished - codes added for value types
gigapod Jan 3, 2025
8510e54
added !command details
gigapod Jan 3, 2025
f36325e
added verbose output page
gigapod Jan 3, 2025
8623108
fix note
gigapod Jan 3, 2025
619bf32
fix readme issue, expand docs
gigapod Jan 3, 2025
a77a68b
fix
gigapod Jan 3, 2025
aedb28c
fix, remove not needed HTML
gigapod Jan 3, 2025
2e47467
fix, remove ! block
gigapod Jan 3, 2025
07bcbcd
initial setup for the settings section - overview complete
gigapod Jan 3, 2025
2079748
initial setup for the settings section - overview complete
gigapod Jan 3, 2025
dec16fa
wrong file
gigapod Jan 3, 2025
5b0e6d5
inprogress work of the settings docs
gigapod Jan 3, 2025
5cf8d4b
finished the settigns settings doc
gigapod Jan 3, 2025
49cecbc
fix layout issue
gigapod Jan 3, 2025
edb40d2
finish the device settings section of the docs
gigapod Jan 3, 2025
55bd8c0
doc speical features of the board
gigapod Jan 3, 2025
7a50b91
updated
gigapod Jan 3, 2025
15f1de8
added example of data packing
gigapod Jan 5, 2025
f0cab5f
finished up getting started
gigapod Jan 5, 2025
19b883e
updated docs with images from digi
gigapod Jan 6, 2025
df48acb
add a branch filter on the push trigger; remove main from checkout - …
gigapod Jan 14, 2025
6cbc05c
this workflow is not needed
gigapod Jan 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 0 additions & 93 deletions .github/workflows/build-iotnode-lorawan-develop.yml

This file was deleted.

93 changes: 0 additions & 93 deletions .github/workflows/build-iotnode-lorawan-release1.0.0.yml

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/build-iotnode-lorawan.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: IoT Node - LoRaWAN - Firmware build Action
on:
push:
branches:
- main

workflow_dispatch:
branches:
- 'main'
- 'develop'
- 'feature/**'
- 'release/**'
- 'hotfix/**'

env:
ARDUINO_RP2040_DIR: .arduino15/packages/rp2040/hardware/rp2040/4.3.1
Expand All @@ -20,8 +23,6 @@ jobs:
steps:
- name: Checkout Repo and submodules
uses: actions/checkout@v3
with:
ref: main

# checkout flux-sdk
- name: Checkout the flux-sdk
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Run mkdocs
on:
push:
branches:
- main

workflow_dispatch:
branches:

permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python runtime
uses: actions/setup-python@v4
with:
python-version: 3.x

- name: Install Python dependencies
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

- name: Set up build cache
uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache

- name: Install Insiders build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
- run: mkdocs gh-deploy --force
45 changes: 39 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,41 @@
# sfe-iot-node-lorawan
IoT Node Firmware for a Dig LoRaWAN deployment

### Compile command
![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")

```
arduino-cli compile --fqbn rp2040:rp2040:sparkfun_promicrorp2350 --export-binaries ./sfeIoTNodeLoRaWAN/sfeIoTNodeLoRaWAN.ino --library `pwd`/SparkFun_Flux
```
# SparkFun IoT Node - LoRaWAN

Firmware and associated Documentation and Firmware for the SparkFun IoT Node - LoRaWAN product

![Release](https://img.shields.io/github/v/release/sparkfun/sfe-iot-node-lorawan)
![Release Date](https://img.shields.io/github/release-date/sparkfun/sfe-iot-node-lorawan?display_date=published_at)
![Documentation - build](https://img.shields.io/github/actions/workflow/status/sparkfun/sfe-iot-node-lorawan/pages%2Fpages-build-deployment?label=Documentation)
[![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)
![GitHub issues](https://img.shields.io/github/issues/sparkfun/sfe-iot-node-lorawan)

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.

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.

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.

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.

Details are outlined in [IoT Node - LoRaWAN Documentation](https://docs.sparkfun.com/sfe-iot-node-lorawan).


## Latest Firmware

* Version 01.00.00 - [Release](https://github.com/sparkfun/sfe-iot-node-lorawan/releases/tag/v01.00.00)

## Documentation

* **[Hardware Hookup Guide](https://docs.sparkfun.com/SparkFun_IoT_Node_LoRaWAN/quick_start/)** - Basic hookup guide for the SparkFun IoT Node - LoRaWAN board
* **GitHub Hardware Repo**
* **[SparkFun IoT Node - LoRaWAN](https://github.com/sparkfun/SparkFun_IoT_Node_LoRaWAN)**

## Supported Products

* **[DEV-26060](https://www.sparkfun.com/products/26060)** - SparkFun IoT Node - LoRaWAN

### Latest Release

Details on the latest Firmware release are listed on the [Release Page](https://github.com/sparkfun/sfe-iot-node-lorawan/releases)
Binary file added docs/assets/img/IoT-Node-LoRaWAN-Banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/digi-device-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/digi-device-messages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/digi-lora-provision-end.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/digi-lora-scan-begin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/digi-xon-a-device.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/digi-xon-devices.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/node-sent-messages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/opreation-led-cmd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings-device-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_all_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_application.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_device_ens160.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_device_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_entry_range.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_entry_select.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_function.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_function_prompt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_logger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_lorawan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_prompt_simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_save_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_startupmenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_system.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/settings_time.png
Binary file added docs/assets/img/settings_timer.png
Binary file added docs/assets/img/settings_top_menu.png
Binary file added docs/assets/img/verbose-lora-message.png
Binary file added docs/assets/img/verbose-startup.png
Binary file added docs/assets/img/verbose-value-type.png
35 changes: 35 additions & 0 deletions docs/console_commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# IOT Node - LoRaWAN - Console Commands

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.

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***.

## Available Commands

The following commands are available:

|Command | Description|
|:---|:----|
|<nobr>!reset-device-forced</nobr>|Resets the device (clears settings and restarts the device) without a prompt|
|<nobr>!reset-device</nobr>| Resets the device (clears settings and restarts the device) with a [Yes/No] prompt|
|<nobr>!clear-settings</nobr>|Clears the on-device saved settings with a [Yes/No] prompt|
|<nobr>!clear-settings-forced</nobr>|Clears the on-device saved settings without a prompt|
|<nobr>!restart</nobr>|Restarts the device with a [Yes/No] prompt|
|<nobr>!restart-forced</nobr>|Restarts the device without a prompt|
|<nobr>!log-rate</nobr>|Outputs the current log-rate of the device (milliseconds between logging transactions)|
|<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.|
|<nobr>!devices</nobr>|Lists the currently connected devices|
|<nobr>!save-settings</nobr>|Saves the current system settings to the preference system|
|<nobr>!verbose</nobr>|Toggles Verbose output/message mode. This value is not persistent|
|<nobr>!heap</nobr>|Outputs the current statistics of the system heap memory|
|<nobr>!log-now</nobr>|Trigger a data logging event|
|<nobr>!lora-status</nobr>|Display the status and settings of the LoRaWAN|
|<nobr>!about</nobr>|Outputs the full *About* page of the Node Board|
|<nobr>!version</nobr>|Outputs the firmware version|
|<nobr>!help</nobr>|Outputs the available *!* commands|

### Command Usage

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.

> 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.
Loading
Loading