64 lines
2.6 KiB
Markdown
64 lines
2.6 KiB
Markdown
---
|
|
title: Networking
|
|
layout: default
|
|
nav_order: 4
|
|
permalink: /networking/
|
|
has_children: true
|
|
has_toc: false
|
|
---
|
|
|
|
## Table of Contents
|
|
{: .no_toc .text-delta }
|
|
|
|
1. TOC
|
|
{:toc}
|
|
|
|
## MiniConf Run-time Settings
|
|
Stabilizer supports run-time settings configuration using MQTT.
|
|
|
|
Settings can be stored in the MQTT broker so that they are automatically applied whenever
|
|
Stabilizer reboots and connects. This is referred to as "retained" settings. Broker implementations
|
|
may optionally store these retained settings as well such that they will be reapplied between
|
|
restarts of the MQTT broker.
|
|
|
|
Settings are specific to a device. Any settings configured for one Stabilizer will not be applied
|
|
to another. Disambiguation of devices is done by using Stabilizer's MAC address.
|
|
|
|
Settings are specific to an application. If two identical settings exist for two different
|
|
applications, each application maintains its own independent value.
|
|
|
|
Refer to the [documentation](run-time-settings) for information on how to configure run-time
|
|
settings.
|
|
|
|
## Telemetry
|
|
|
|
Stabilizer applications publish telemetry utilizes MQTT for managing run-time settings configurations as well as live telemetry
|
|
reporting.
|
|
|
|
Telemetry is defined as low rate, general health information. It is not intended for high throughput
|
|
or efficiency. Telemetry is generally used to determine that the device is functioning nominally.
|
|
|
|
Stabilizer applications publish telemetry over MQTT at a set rate. Telemetry data units are defined
|
|
by the application. All telemetry is reported using standard JSON format.
|
|
|
|
Telemetry is intended for low-bandwidth monitoring. It is not intended to transfer large amounts of
|
|
data and uses a minimal amount of bandwidth. Telemetry is published using "best effort" semantics -
|
|
individual messages may be dropped or Stabilizer may fail to publish telemetry due to internal
|
|
buffering requirements.
|
|
|
|
In its most basic form, telemetry publishes the latest ADC input voltages, DAC output voltages, and
|
|
digital input states.
|
|
|
|
Refer to the respective [application documentation]({{site.baseurl}}/#applications) for more information on telemetry.
|
|
|
|
## Livestream
|
|
|
|
Stabilizer supports livestream capabilities for streaming real-time data over UDP. The livestream is
|
|
intended to be a high-bandwidth mechanism to transfer large amounts of data from Stabilizer to a
|
|
host computer for further analysis.
|
|
|
|
Livestreamed data is sent with "best effort" - it's possible that data may be lost either due to
|
|
network congestion or by Stabilizer.
|
|
|
|
Refer to the the respective [application documentation]({{site.baseurl}}/#applications) for more information.
|