Telem-app configuration: Difference between revisions

From Phobos Wiki
Jump to navigation Jump to search
(Uus lehekülg: '= Feature = telem-app functionality can be tweaked via command line arguments and config files = Config file = The easiest way to add/override configuration options is to modi...')
 
mNo edit summary
Line 22: Line 22:


If <code>protocol.periodical-gi.use-interval</code> is not set, then Periodical GI is done every hour at value assigned to <code>protocol.periodical-gi.offset</code>. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.
If <code>protocol.periodical-gi.use-interval</code> is not set, then Periodical GI is done every hour at value assigned to <code>protocol.periodical-gi.offset</code>. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.
'''NB! This feature is available in firmware dating from 2017.09.05'''

Revision as of 16:02, 5 September 2017

Feature

telem-app functionality can be tweaked via command line arguments and config files

Config file

The easiest way to add/override configuration options is to modify the /etc/telem-gw.user.conf file

This config file is checked by telem-app by default without any additional command line arguments

Enable Periodical GI with predefined time interval

Add the follown lines to /etc/telem-gw.user.conf:

protocol.periodical-gi.use-interval=1
protocol.periodical-gi.offset=00:02:00

This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.

If protocol.periodical-gi.offset is left out, then the default value of 00:05:00 is used.

If protocol.periodical-gi.use-interval is not set, then Periodical GI is done every hour at value assigned to protocol.periodical-gi.offset. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.

NB! This feature is available in firmware dating from 2017.09.05