Skip to content

Commit

Permalink
updates for release 1.1.99
Browse files Browse the repository at this point in the history
  • Loading branch information
gigapod committed Mar 15, 2024
1 parent 6bc4c90 commit 7d25c45
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ The functionality of the DataLogger IoT firmware will continue to grow as SparkF

### Latest Firmware

* Version 01.1.99 - *Version 1.2 - Release Candidate* - [Overview of the Release](docs/relnotes/rn_v010200.md)
* >Note: OTA installation is not supported - Install via SD Card
* Version 01.1.01 - [Overview of the Release](docs/relnotes/rn_v010101.md)

## Documentation
Expand Down
Binary file added docs/relnotes/res/v010200_startup.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/relnotes/res/v010200_webI.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
127 changes: 127 additions & 0 deletions docs/relnotes/rn_v010200.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@

## SparkFun DataLogger IoT Firmware - Version 1.2

> NOTE
> The current release, Version 1.1.99, is a preview release of version 1.2 and is only available to install via an SD Card (no OTA update is available)
_March 22nd, 2024_

With the release of our version 1.2 software for our DataLogger IoT products, we continue to add additional functionally to the products capability, as well as fix a number of issues.

And with the release, we feel we’ve covered all aspects of a 1.1 release – new functionality, feature enhancements, and a wide variety of bug fixes.

### New Features and Enhancements

#### Log File Download via a Web Interface

To allow access to log files located on the DataLogger IoT device, without requiring the removal of the SD card, a new Web Interface is provided. Once enabled, you can browse the on-board log files of the DataLogger. Clicking on a a filename will download the file.

![Web Interface](res/v010200_webI.png)

Currently file browse and download options are available, but we plan on expanding this feature in the future.

Additionally, this feature has the following options:

* mDNS functionality allowing you to set a network name for a device if mDNS is supported on your network
* Username/Password authentication for the web interface.

>Note: For authentication use - currently some browsers might require a second login depending on settings.
> Note:
> The datalogger requires restarting if the web interface is enabled
This feature is enabled in settings under the **Preview** heading.

#### Startup Command Menu and Delay

To allow start-up time configuration and delay, a _**Startup Menu**_ was added to the system. Now, at startup a short menu is presented for a brief period, allowing modification of the startup options of the DataLogger.

Startup Menu options:

Pressing the highlighted letter while the menu is active, will change the behavior of the system. This change only affects the current system session.

The options include:

* 'n' - Normal startup
* 'a' - Disable I2C device auto load on startup
* 'l' - List the I2C devices supported. This device table is discarded after auto-load
* 'w' - Disable WiFi
* 's' - Disable preference restore during startup

In addition, the amount of time the menu is displayed is adjustable. This settings is on the _Settings/Application Settings_ page, under the _Advanced_ section.

### Quick (!) Commands

The addition of a quick (_!_) command system that allows for the direct execution of commands directly from the serial console, bypassing the serial menu system.

An example of this is the display of the "about" page for the system. Normally this would require navigating the serial menu system. With the _quick_ command system, entering the value of "!about" at the serial console will display the about page.

The following commands are supported:

| command | Description|
|--------------|---------|
| !about | Display the system about page
| !clear-settings | Clear the on board system preferences with a yes/no prompt|
| !clear-settings-forced | Clear the on board system preferences with no prompt |
| !devices | List the currently connected devices |
| !factory-reset | Perform a factory reset - presents a Y/N prompt|
| !heap | Display the current system heap memory usage |
| !help | List the available quick commands |
| !json-settings | For setting the device settings via a serial connection. When this command is sent, the system expects to receive a JSON settings file |
| !log-now |Perform a log observation event |
| !log-rate | If log rate measurement is enabled, the current log rate is printed |
| !reset-device | Reset the device - erasing any saved settings and restarting the device |
| !reset-device-forced | Reset the device, but without a Y/N prompt |
| !restart | Restart the device |
| !restart-forced | Restart the device without a Y/N prompt |
| !save-settings | Save the current settings to on-board flash |
| !sdcard | Output the current SD card usage statistics |
| !systime | Output current system time |
| !uptime | The uptime of the device |
| !device-id | The ID for the device |
| !version | The version of the firmware |
| !wifi | Output current system WiFi state |

#### Log Data Rate

The DataLogger system can now measure the data logging rate. Once this feature is enabled, the system will monitor the time between log events. This value is averaged over the latest 10 log events.

#### System Info in the log stream

The system operational parameters can now be added to log stream. This is useful to monitor system resource uses over time, or just perform general debugging.

Currently the following information is provided:

* WiFi SSID
* WiFi RSSI
* Memory Heap free space in bytes
* SD Card free space in bytes
* Uptime in MS

## Feature Improvements

In addition to the new functionality, we also took input from our customers (and our own use) to expand and enhance existing features. While a wide variety of small additions were made, a few notable additions include:

**Serial Console - Value Display –** The serial console now shows the current setting value in the menu system. Previously this value was only show once that item was selected.

**Serial Console Color –** Text highlighting and color were added to the serial console output. If your serial console application/command supports it, the menu system highlights key values. This setting is controlled in the **Settings/Application Settings** section of the settings menu.

**Startup Messages –** Normally a verbose log of startup options and settings are displayed at system startup. The about of information is now controllable - with values of _Normal_, _Compact_, _Disabled_.

**Improved Device Auto-Load –** A major update to the I2C auto-load device detection logic that improves device detection and address collision prevention.

**General System Enhancements –** Internal system job dispatch subsystem update to increase performance throughput. Overall decrease in static and dynamic memory usage.

## Bug Fixes

We also squashed a variety of defects in the firmware. Some of the more notable issued fixed in this release:

* Fixed issue with the LED display logic that caused a system crash if the log interval was less than 100ms
* Incorporate driver updates for greater NAU7802 device output value stability
* Incorporate driver update for the MMC5983MA device

## In Summary

With the release of DataLogger IoT firmware version 1.2.0 we continue to enhance the capabilities of our DataLogger IoT line – adding to our IOT service, supported devices as well as improving the overall quality of the system.

And this new functionality is available today at the DataLogger [repo](https://github.com/sparkfun/SparkFun_DataLogger). The update is free, available as an over-the-air upgrade, or as a file uploaded via an SD Card. Just select the “System Update” option within the DataLogger IoT menu system and select your desired upgrade option.
Binary file added firmware/bin/SparkFun_DataLoggerIoT_01.01.99.bin
Binary file not shown.

0 comments on commit 7d25c45

Please sign in to comment.