User Tools

Site Tools


dbrooke_nodes:dbpg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dbrooke_nodes:dbpg [2020/07/10 16:54]
dbrooke Update for libraries as git submodules
dbrooke_nodes:dbpg [2020/07/10 18:56] (current)
dbrooke Configuration is now runtime
Line 59: Line 59:
 ==== Configuration ==== ==== Configuration ====
  
-This is done in the build directory, change to there using **cd ~/ukhasnet/UKHASNetPiGateway**+Configuration is read from a file **gateway.ini** which needs to be present in the directory from which the software is started.
  
-The ''master'' branch provides gateway functionality without any telemetry from the gateway itself, other than the bootup packet with the location data.+A sample file is provided with all parameters commented out and showing the default value where applicable. A minimal configuration requires the node ID to be specified.
  
-If the Pi is fitted with a BMP085 (or BMP180pressure and temperature sensor then data from this can be periodically uploadedThis support is enabled by selecting the ''bmp085'' branch: **git checkout bmp085**+By default the software provides gateway functionality without any telemetry from the gateway itself, other than the bootup packet with the location data (if specified in the configuration file).
  
-Create a configuration by copying the provided template to nodeconfig.h and editing it to reflect your node ID and location (signed decimal latitude, signed decimal longitude):+If the Pi is fitted with a BMP085 (or BMP180pressure and temperature sensor then data from this can be periodically uploaded. This support can be enabled in the configuration file.
  
-**cp nodeconfig-template.h nodeconfig.h && sensible-editor nodeconfig.h** +The xAP support is experimental and currently just broadcasts a message with the raw UKHASnet payloadIt is likely to be replaced with MQTT.
- +
-The software should then build without errors by typing: +
- +
-**make**+
  
 ===== Usage ===== ===== Usage =====
dbrooke_nodes/dbpg.txt · Last modified: 2020/07/10 18:56 by dbrooke