<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://phobos.martem.ee/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MarkTomm</id>
	<title>Phobos Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://phobos.martem.ee/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MarkTomm"/>
	<link rel="alternate" type="text/html" href="https://phobos.martem.ee/wiki/Special:Contributions/MarkTomm"/>
	<updated>2026-04-17T15:47:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Modbus_Martem&amp;diff=2262</id>
		<title>Modbus Martem</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Modbus_Martem&amp;diff=2262"/>
		<updated>2022-05-03T05:16:29Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Analog output objects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Addressing scheme ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
Modbus addressing scheme is separated in to the address and the function code.&lt;br /&gt;
&lt;br /&gt;
=== Address ===&lt;br /&gt;
&lt;br /&gt;
Modbus addresses are extracted from GWS column &#039;Obj. Addr. v&#039; in the following way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if(100000 &amp;lt;= address)&lt;br /&gt;
    address %= 100000;&lt;br /&gt;
else&lt;br /&gt;
    address %= 10000;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Function Code ===&lt;br /&gt;
&lt;br /&gt;
==== Function Code enumeration ====&lt;br /&gt;
&lt;br /&gt;
Telem Application Modbus function code enumeration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
enum ModbusFunctionCodes&lt;br /&gt;
{&lt;br /&gt;
    MODBUS_FN_UNSUPPORTED           = 0x0,&lt;br /&gt;
    MODBUS_READ_COIL                = 0x1,&lt;br /&gt;
    MODBUS_READ_INPUT               = 0x2,&lt;br /&gt;
    MODBUS_READ_HOLDING_REGISTERS   = 0x3,&lt;br /&gt;
    MODBUS_READ_INPUT_REGISTERS     = 0x4,&lt;br /&gt;
    MODBUS_FORCE_SINGLE_COIL        = 0x5,&lt;br /&gt;
    MODBUS_SET_SINGLE_REGISTER      = 0x6,&lt;br /&gt;
    MODBUS_FORCE_MULTIPLE_COIL      = 0xF,&lt;br /&gt;
    MODBUS_SET_MULTIPLE_REGISTER    = 0x10&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Function code extracting has small differences for input and output objects in Telem Application.&lt;br /&gt;
&lt;br /&gt;
==== Input objects ====&lt;br /&gt;
&lt;br /&gt;
Input objects function code is determined from the address in the following way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if(100000 &amp;lt;= address)&lt;br /&gt;
    fn_code = address / 100000;&lt;br /&gt;
else&lt;br /&gt;
    fn_code = address / 10000;&lt;br /&gt;
&lt;br /&gt;
switch( fn_code )&lt;br /&gt;
{&lt;br /&gt;
case 0:&lt;br /&gt;
    return MODBUS_READ_COIL;&lt;br /&gt;
case 1:&lt;br /&gt;
    return MODBUS_READ_INPUT;&lt;br /&gt;
case 3:&lt;br /&gt;
    return MODBUS_READ_INPUT_REGISTERS;&lt;br /&gt;
default:&lt;br /&gt;
case 4:&lt;br /&gt;
    return MODBUS_READ_HOLDING_REGISTERS;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Digital output objects ====&lt;br /&gt;
&lt;br /&gt;
Digital output function codes are determined by their &#039;SubType^&#039; type in GWS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if( SubType^ == Single ) {&lt;br /&gt;
    return MODBUS_FORCE_SINGLE_COIL&lt;br /&gt;
} else {&lt;br /&gt;
    return MODBUS_FORCE_MULTIPLE_COIL&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Analog output objects ====&lt;br /&gt;
&lt;br /&gt;
Analog output objects use MODBUS_SET_SINGLE_REGISTER as function code for &amp;quot;SubType v&amp;quot; Normalized.&lt;br /&gt;
&lt;br /&gt;
MODBUS_SET_MULTIPLE_REGISTER  on Float, Int32, UInt32.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2261</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2261"/>
		<updated>2021-07-02T10:11:21Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Info below not updated anymore, see redmine roadmap for latest data =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
Last update below was for 2.0.156 (03.04.2020)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TELEM-AGC, TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Recommended software ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning! GWS &amp;gt;= 2142 must be used&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel4: ===&lt;br /&gt;
2.0.156-3e1f29e-k4 - GW6e VMX53/6DL, AGC 6DL/6UL&lt;br /&gt;
&lt;br /&gt;
2.0.156-3e1f29e-k4-03 - GWM VMX25/VMX53/6DL/6UL&lt;br /&gt;
&lt;br /&gt;
=== kernel2(pre 2014 devices): ===&lt;br /&gt;
2020.04.01-next-02-c8fd29a - GW6e (&#039;&#039;&#039;No IEC61850 Client&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Firmware downgrade ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  telem-app Changelog for kernel 4  ==&lt;br /&gt;
*2.0.156-3e1f29e-k4/2.0.156-3e1f29e-k4-03 (GWS 2142)&lt;br /&gt;
: IEC61850 | IEC 61850 Client KEMA certified&lt;br /&gt;
: IEC60870 | 104 Server KEMA certified&lt;br /&gt;
: IEC60870 | 101UB Server fix AI event sent as normalized when implied float&lt;br /&gt;
: IEC60870 | FIX AO subtype determination&lt;br /&gt;
: IEC60870 | Fix DO/AO unknown COT&lt;br /&gt;
: IEC60870 | 101B Server fix floating point subtype up&lt;br /&gt;
: IEC60870 | Fix deact in client&lt;br /&gt;
: IEC60870 | Fix multiple lower level addresses per device (fix #3450)&lt;br /&gt;
: IEC60870 | DO/AO fixes&lt;br /&gt;
: OPC UA | OPC UA Server implementation&lt;br /&gt;
: Api | Add cls.json to webserver (fix #3522)&lt;br /&gt;
: Db | Fix backup import&lt;br /&gt;
: Core | Boost 1.71&lt;br /&gt;
: Core | Sensor code safer&lt;br /&gt;
: Core | Sensor objects have flags&lt;br /&gt;
: Core | AGC SCL IO&lt;br /&gt;
: ModBus | Mitigate offset in value&amp;lt;-&amp;gt;data (fix #3462)&lt;br /&gt;
: ModBus | Initial impl of 64 bit ai type (fix #3402)&lt;br /&gt;
*2.0.141-3b46188-k4-02  Telem-GWM (GWS 2133) &lt;br /&gt;
: Core | Fixed Control issues &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.141-3b46188-k4  Telem-AGC, Telem-GW6e (GWS 2133)&lt;br /&gt;
: Core | Fixed Control issues  &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.132-ddea1dd-k4-02  Telem-AGC, Telem-GW6e (GWS 2131)&lt;br /&gt;
: Core | Fixed Select event loss issue  &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.132-ddea1dd-k4-03  Telem-GWM (GWS 2131) &lt;br /&gt;
: Core | Fixed Select event loss issue &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.82-288715d-k4  Telem-GW6e, Telem-GWM (GWS 2104)  &lt;br /&gt;
: Updates | Minor bug fixes&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog for kernel 2 ==&lt;br /&gt;
* 2018.02.08-next-02-1a34917&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
: Other fixes&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Esileht&amp;diff=2260</id>
		<title>Esileht</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Esileht&amp;diff=2260"/>
		<updated>2021-07-02T10:08:05Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://phobos.martem.ee/wiki/GwLin_Changelog Telem-app changelog (outdated)]&lt;br /&gt;
&lt;br /&gt;
Olge head, tehke endale kasutaja ja hakake tarkust lisama!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lisage palun oma kontaktandmed [[kontakt | siia]], aitäh.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Juhiste saamiseks kasutamise kohta vaata palun inglisekeelset [http://meta.wikimedia.org/wiki/Help:Editing kasutusjuhendit].&lt;br /&gt;
&lt;br /&gt;
*Tooted&lt;br /&gt;
**[[TELEM-GW6e]]&lt;br /&gt;
**[[TELEM-GWM]]&lt;br /&gt;
**[[TELEM-GPRS]]&lt;br /&gt;
**Legacy&lt;br /&gt;
***[[Telem-RTA]]&lt;br /&gt;
***[[Telem-RTA-A]]&lt;br /&gt;
***[[Telem-RTA-XA]]&lt;br /&gt;
***[[TELEM-GW5]]&lt;br /&gt;
***[[TELEM-GW6]]&lt;br /&gt;
**[[Seadmete võimsustarve]]&lt;br /&gt;
**I/O moodulid&lt;br /&gt;
***[[Telem-AI12G]]&lt;br /&gt;
***[[Telem-AI12-T]]&lt;br /&gt;
***[[Telem-DI20G]]&lt;br /&gt;
***[[Telem-DI24-T]]&lt;br /&gt;
***[[Telem-DO8G]]&lt;br /&gt;
***[[Telem-DO5-T]]&lt;br /&gt;
*Tarkvara&lt;br /&gt;
**[[RTU-T programmi laadimine]]&lt;br /&gt;
**[[GW6-RTC programmi laadimine]]&lt;br /&gt;
**[[GPRS modemi programmi ja konfiguratsiooni laadimine]]&lt;br /&gt;
**[[GWS ja BDE installeerimine]]&lt;br /&gt;
**[[GW6Lin software upgrade]]&lt;br /&gt;
**[[Howto Manage More Than One Device]]&lt;br /&gt;
**[[Telem-2000_TDC_IEC|Telem-2000 TDC &amp;amp; IEC]]&lt;br /&gt;
**[[Telem-app configuration]]&lt;br /&gt;
**[[RTU client server communication]]&lt;br /&gt;
**Networking&lt;br /&gt;
***[[VPN(Virtual Private Networking)]]&lt;br /&gt;
*SCADA&lt;br /&gt;
**[http://phobos.martem.ee/shr/SCADA/ Super Real Telem-SCADA Demo] &lt;br /&gt;
**[[Graafik reaalajas]]&lt;br /&gt;
**[http://www.martem.ee/ylo Schema-System]&lt;br /&gt;
**[http://www.martem.ee/Telem_Demo/schemas/Map.html  Old Flash-demo] &lt;br /&gt;
*Testimine&lt;br /&gt;
**[https://phobos.martem.ee/redmine Vigade jälitus ]  &amp;lt;small&amp;gt;&#039;&#039;[[Importing issues to redmine]]&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
**[[Kaablid]]&lt;br /&gt;
**[[I/O moodulid]]&lt;br /&gt;
**[[4x-FO-3]]&lt;br /&gt;
**[[TELEM F011]]&lt;br /&gt;
**[[TELEM GW5]]&lt;br /&gt;
**[[TELEM-GW6_testing_manual | TELEM-GW6]]&lt;br /&gt;
**[[TELEM RTA]]&lt;br /&gt;
**[[TELEM GPS]]&lt;br /&gt;
**[[Ajasünkronisatsioon]]&lt;br /&gt;
**[[Seadmete tarkvara testimine]]&lt;br /&gt;
**[[Log-conf.xml TRACE]]&lt;br /&gt;
*[[Failide süstematiseerimine]]&lt;br /&gt;
*Firmast&lt;br /&gt;
**[[kontakt | Kontaktandmed]]&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2259</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2259"/>
		<updated>2021-07-02T10:07:42Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Info below not updated anymore, see redmine roadmap for latest data =&lt;br /&gt;
&lt;br /&gt;
= TELEM-AGC, TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Recommended software ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning! GWS &amp;gt;= 2142 must be used&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel4: ===&lt;br /&gt;
2.0.156-3e1f29e-k4 - GW6e VMX53/6DL, AGC 6DL/6UL&lt;br /&gt;
&lt;br /&gt;
2.0.156-3e1f29e-k4-03 - GWM VMX25/VMX53/6DL/6UL&lt;br /&gt;
&lt;br /&gt;
=== kernel2(pre 2014 devices): ===&lt;br /&gt;
2020.04.01-next-02-c8fd29a - GW6e (&#039;&#039;&#039;No IEC61850 Client&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Firmware downgrade ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  telem-app Changelog for kernel 4  ==&lt;br /&gt;
*2.0.156-3e1f29e-k4/2.0.156-3e1f29e-k4-03 (GWS 2142)&lt;br /&gt;
: IEC61850 | IEC 61850 Client KEMA certified&lt;br /&gt;
: IEC60870 | 104 Server KEMA certified&lt;br /&gt;
: IEC60870 | 101UB Server fix AI event sent as normalized when implied float&lt;br /&gt;
: IEC60870 | FIX AO subtype determination&lt;br /&gt;
: IEC60870 | Fix DO/AO unknown COT&lt;br /&gt;
: IEC60870 | 101B Server fix floating point subtype up&lt;br /&gt;
: IEC60870 | Fix deact in client&lt;br /&gt;
: IEC60870 | Fix multiple lower level addresses per device (fix #3450)&lt;br /&gt;
: IEC60870 | DO/AO fixes&lt;br /&gt;
: OPC UA | OPC UA Server implementation&lt;br /&gt;
: Api | Add cls.json to webserver (fix #3522)&lt;br /&gt;
: Db | Fix backup import&lt;br /&gt;
: Core | Boost 1.71&lt;br /&gt;
: Core | Sensor code safer&lt;br /&gt;
: Core | Sensor objects have flags&lt;br /&gt;
: Core | AGC SCL IO&lt;br /&gt;
: ModBus | Mitigate offset in value&amp;lt;-&amp;gt;data (fix #3462)&lt;br /&gt;
: ModBus | Initial impl of 64 bit ai type (fix #3402)&lt;br /&gt;
*2.0.141-3b46188-k4-02  Telem-GWM (GWS 2133) &lt;br /&gt;
: Core | Fixed Control issues &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.141-3b46188-k4  Telem-AGC, Telem-GW6e (GWS 2133)&lt;br /&gt;
: Core | Fixed Control issues  &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.132-ddea1dd-k4-02  Telem-AGC, Telem-GW6e (GWS 2131)&lt;br /&gt;
: Core | Fixed Select event loss issue  &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.132-ddea1dd-k4-03  Telem-GWM (GWS 2131) &lt;br /&gt;
: Core | Fixed Select event loss issue &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.82-288715d-k4  Telem-GW6e, Telem-GWM (GWS 2104)  &lt;br /&gt;
: Updates | Minor bug fixes&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog for kernel 2 ==&lt;br /&gt;
* 2018.02.08-next-02-1a34917&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
: Other fixes&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2258</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2258"/>
		<updated>2021-06-22T06:16:23Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* All arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kasutaja:MarkTomm|MarkTomm]] 31. oktoober 2017, kell 15:41 (EET)&lt;br /&gt;
&lt;br /&gt;
This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;setup.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.runner.out&lt;br /&gt;
| &lt;br /&gt;
| Path to telem-gw-bd-runner output&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;.telem-db&lt;br /&gt;
| Path to object sqlite db file&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.delete.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;cleardb_1&lt;br /&gt;
| Path to file that makes telem-app delete db&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.synchronous&lt;br /&gt;
| 1&lt;br /&gt;
| Sqlite PRAGMA synchronous&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.journalmode&lt;br /&gt;
| WAL&lt;br /&gt;
| Sqlite PRAGMA journal_mode&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.autovacuum&lt;br /&gt;
| 0&lt;br /&gt;
| Sqlite PRAGMA auto_vacuum&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.cachesize&lt;br /&gt;
| -8000&lt;br /&gt;
| Sqlite PRAGMA cache_size&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.pagesize&lt;br /&gt;
| 65536&lt;br /&gt;
| Sqlite PRAGMA page_size&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.walautocheckpoint&lt;br /&gt;
| 1000&lt;br /&gt;
| Sqlite PRAGMA wal_autocheckpoint&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.journalsizelimit&lt;br /&gt;
| 100000000&lt;br /&gt;
| Sqlite PRAGMA journal_size_limit&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.buffers.maxsize&lt;br /&gt;
| 300000&lt;br /&gt;
| Sqlite max db buffer table entries limit&lt;br /&gt;
|-&lt;br /&gt;
| db.sqlite.opc-ua-history.maxsize&lt;br /&gt;
| 100000&lt;br /&gt;
| Sqlite max db buffer table entries limit&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:00:01&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:00:20&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| db.run-write-thread-once&lt;br /&gt;
| &amp;quot;Run db write thread once and exit&amp;quot;)&lt;br /&gt;
| Run db write thread once and exit&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| log.counters&lt;br /&gt;
| false&lt;br /&gt;
| Option to log counters&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| varWorkingDirectory&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| varWorkingDirectory&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| timezone.app&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Set by app furing runtime&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| start-count&lt;br /&gt;
| varWorkingDirectory / &amp;quot;stats/app_start_count&lt;br /&gt;
| App start count file&lt;br /&gt;
|-&lt;br /&gt;
| total-start-count&lt;br /&gt;
| varWorkingDirectory / &amp;quot;stats/app_start_count_total&lt;br /&gt;
| App start count total file&lt;br /&gt;
|-&lt;br /&gt;
| date-time-zone-spec.path&lt;br /&gt;
| &amp;quot;Time zone info file&amp;quot;)&lt;br /&gt;
| Time zone info file&lt;br /&gt;
|-&lt;br /&gt;
| core.dump.path&lt;br /&gt;
| coreDumpFile&lt;br /&gt;
| Memory dump location&lt;br /&gt;
|-&lt;br /&gt;
| evgen.event-per-minute&lt;br /&gt;
| 60&lt;br /&gt;
| How many events each data point generates per minute&lt;br /&gt;
|-&lt;br /&gt;
| force-binary&lt;br /&gt;
| false&lt;br /&gt;
| Force telem-app to use binary conf&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.path&lt;br /&gt;
| &amp;quot;For VHPReady schedules persistance&amp;quot;)&lt;br /&gt;
| For VHPReady schedules persistance&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.k&lt;br /&gt;
| 12&lt;br /&gt;
| Write depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.w&lt;br /&gt;
| 8&lt;br /&gt;
| Unacked read depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;protocol/opc-ua&lt;br /&gt;
| For persistent Client writes in OPC UA Server and Rules&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.https-client.path&lt;br /&gt;
| /etc/protocol/opc-ua/https-client/&lt;br /&gt;
| For persistent Client writes in OPC UA Server and Rules&lt;br /&gt;
|-&lt;br /&gt;
| webserver.lcbc.cls.addr&lt;br /&gt;
| 0&lt;br /&gt;
| Value of this ai is returned in measurement array at /cls.json&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.https-peer-verif&lt;br /&gt;
| true&lt;br /&gt;
| Toggle peer verification&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.session.timeout&lt;br /&gt;
| 120000&lt;br /&gt;
| Session timeout ms. 12000ms default&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| sensors.light.multiplier&lt;br /&gt;
| 2.59724&lt;br /&gt;
| Value from 1M/1024/Rsens*12.5, if Rsense is 4.7kOhm, then we get ~2.59724&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| sensors.light.window-size&lt;br /&gt;
| 19&lt;br /&gt;
| Rolling mean window size, or in other words, how many samples to average&lt;br /&gt;
|-&lt;br /&gt;
| dali.i2c.bus&lt;br /&gt;
| /dev/i2c-main&lt;br /&gt;
| Path to i2c device&lt;br /&gt;
|-&lt;br /&gt;
| dali.i2c.addr&lt;br /&gt;
| 0x08&lt;br /&gt;
| Dali i2c device address&lt;br /&gt;
|-&lt;br /&gt;
| dali.priority.all&lt;br /&gt;
| 0&lt;br /&gt;
| Dali default priority (for testing, 0: by standard, 1-5: force priority, 6-7: invalid, but may work)&lt;br /&gt;
|-&lt;br /&gt;
| dali.bus0.i2c.bus&lt;br /&gt;
| /dev/i2c-main&lt;br /&gt;
| Same as dali.i2c.bus&lt;br /&gt;
|-&lt;br /&gt;
| dali.bus0.i2c.addr&lt;br /&gt;
| 0x08&lt;br /&gt;
| Same as dali.i2c.addr&lt;br /&gt;
|-&lt;br /&gt;
| dali.bus0.priority.all&lt;br /&gt;
| 0&lt;br /&gt;
| Same as dali.priority.all&lt;br /&gt;
|-&lt;br /&gt;
| dali.bus1.i2c.bus&lt;br /&gt;
| /dev/i2c-main&lt;br /&gt;
| Same as dali.i2c.bus&lt;br /&gt;
|-&lt;br /&gt;
| dali.bus1.i2c.addr&lt;br /&gt;
| 0x0b&lt;br /&gt;
| Same as dali.i2c.addr&lt;br /&gt;
|-&lt;br /&gt;
| dali.bus1.priority.all&lt;br /&gt;
| 0&lt;br /&gt;
| Same as dali.priority.all&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.10.31&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Assign AI Object for UI CLS source ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
webserver.lcbc.cls.addr=2001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2001 is the IOA of the AI value that will be available via &#039;&#039;&#039;/cls.json&#039;&#039;&#039; endpoint&lt;br /&gt;
&lt;br /&gt;
In the context of AGC, this IOA is considered as AI_LLS, local light source.&lt;br /&gt;
&lt;br /&gt;
In the context of SL UI, this is Central light sensor value.&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2257</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2257"/>
		<updated>2020-10-01T08:28:55Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Assign CLS AI Object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kasutaja:MarkTomm|MarkTomm]] 31. oktoober 2017, kell 15:41 (EET)&lt;br /&gt;
&lt;br /&gt;
This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:00:20&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| varWorkingDirectory&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| varWorkingDirectory&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| start-count&lt;br /&gt;
| varWorkingDirectory / &amp;quot;stats/app_start_count&lt;br /&gt;
| App start count file&lt;br /&gt;
|-&lt;br /&gt;
| total-start-count&lt;br /&gt;
| varWorkingDirectory / &amp;quot;stats/app_start_count_total&lt;br /&gt;
| App start count total file&lt;br /&gt;
|-&lt;br /&gt;
| date-time-zone-spec.path&lt;br /&gt;
| &amp;quot;Time zone info file&amp;quot;)&lt;br /&gt;
| Time zone info file&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.k&lt;br /&gt;
| 12&lt;br /&gt;
| Write depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.w&lt;br /&gt;
| 8&lt;br /&gt;
| Unacked read depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;protocol/opc-ua&lt;br /&gt;
| For persistent Client writes in OPC UA Server and Rules&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.https-client.path&lt;br /&gt;
| /etc/protocol/opc-ua/https-client/&lt;br /&gt;
| For persistent Client writes in OPC UA Server and Rules&lt;br /&gt;
|-&lt;br /&gt;
| webserver.lcbc.cls.addr&lt;br /&gt;
| 0&lt;br /&gt;
| Value of this ai is returned in measurement array at /cls.json&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| sensors.light.multiplier&lt;br /&gt;
| 2.59724&lt;br /&gt;
| Value from 1M/1024/Rsens*12.5, if Rsense is 4.7kOhm, then we get ~2.59724&lt;br /&gt;
|-&lt;br /&gt;
| sensors.light.window-size&lt;br /&gt;
| 19&lt;br /&gt;
| Rolling mean window size, or in other words, how many samples to average&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.10.31&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Assign AI Object for UI CLS source ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
webserver.lcbc.cls.addr=2001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2001 is the IOA of the AI value that will be available via &#039;&#039;&#039;/cls.json&#039;&#039;&#039; endpoint&lt;br /&gt;
&lt;br /&gt;
In the context of AGC, this IOA is considered as AI_LLS, local light source.&lt;br /&gt;
&lt;br /&gt;
In the context of SL UI, this is Central light sensor value.&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2256</id>
		<title>Kontakt</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2256"/>
		<updated>2020-06-07T12:48:58Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
|+ Telefoni numbrid, e-mailid&lt;br /&gt;
! Nimi !! class=&amp;quot;unsortable&amp;quot; | Telefon !! class=&amp;quot;unsortable&amp;quot; | e-mail !! Amet !! Märkmed&lt;br /&gt;
|-&lt;br /&gt;
| Peter Nobel || +372 5119694 || [mailto:peter@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Jaan Eilart || +372 55654090 || [mailto:jaan.eilart@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Talvi Mäeunt || +372 6397979 || [mailto:martem@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Ülo Proode || +372 55691543 || [mailto:ylo@martem.ee töö] [mailto:ylo.proode@mail.ee isiklik]&lt;br /&gt;
|-&lt;br /&gt;
| Janek Sarjas || +372 53446127 || [mailto:janek@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Alfred Liin || +372 56959795 || [mailto:alfred.liin@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Harri Trampärk || +372 5083780 || [mailto:harri@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Mark Tomm || || [mailto:mark.tomm@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kermo Basov || +372 56925894 || [mailto:kermo.basov@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Igor Nehoroshev || +375 58310622 || [mailto:igor.nehoroshev@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Aleksandr Koskin || +372 58131851 || [mailto:aleksandr.koskin@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Hannes Metsalu || +372 59816818 || [mailto:hannes.metsalu@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Robert Putnik || +372 56095670 || [mailto:robert.putnik@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kristjan Kruuser || +372 56902884 || [mailto:kristjan.kruuser@martem.ee töö]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Uue rea lisamiseks tabelisse kopeeri ja muuda järgnevad 2 rida.&lt;br /&gt;
|-&lt;br /&gt;
| Sinu nimi || telefoni number || [mailto:sinumeiliaadress@martem.ee kirjeldus-töö/kodu/vms]&lt;br /&gt;
--!&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2255</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2255"/>
		<updated>2020-04-03T16:23:26Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog for kernel 4 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-AGC, TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Recommended software ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning! GWS &amp;gt;= 2142 must be used&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel4: ===&lt;br /&gt;
2.0.156-3e1f29e-k4 - GW6e VMX53/6DL, AGC 6DL/6UL&lt;br /&gt;
&lt;br /&gt;
2.0.156-3e1f29e-k4-03 - GWM VMX25/VMX53/6DL/6UL&lt;br /&gt;
&lt;br /&gt;
=== kernel2(pre 2014 devices): ===&lt;br /&gt;
2020.04.01-next-02-c8fd29a - GW6e (&#039;&#039;&#039;No IEC61850 Client&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Firmware downgrade ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  telem-app Changelog for kernel 4  ==&lt;br /&gt;
*2.0.156-3e1f29e-k4/2.0.156-3e1f29e-k4-03 (GWS 2142)&lt;br /&gt;
: IEC61850 | IEC 61850 Client KEMA certified&lt;br /&gt;
: IEC60870 | 104 Server KEMA certified&lt;br /&gt;
: IEC60870 | 101UB Server fix AI event sent as normalized when implied float&lt;br /&gt;
: IEC60870 | FIX AO subtype determination&lt;br /&gt;
: IEC60870 | Fix DO/AO unknown COT&lt;br /&gt;
: IEC60870 | 101B Server fix floating point subtype up&lt;br /&gt;
: IEC60870 | Fix deact in client&lt;br /&gt;
: IEC60870 | Fix multiple lower level addresses per device (fix #3450)&lt;br /&gt;
: IEC60870 | DO/AO fixes&lt;br /&gt;
: OPC UA | OPC UA Server implementation&lt;br /&gt;
: Api | Add cls.json to webserver (fix #3522)&lt;br /&gt;
: Db | Fix backup import&lt;br /&gt;
: Core | Boost 1.71&lt;br /&gt;
: Core | Sensor code safer&lt;br /&gt;
: Core | Sensor objects have flags&lt;br /&gt;
: Core | AGC SCL IO&lt;br /&gt;
: ModBus | Mitigate offset in value&amp;lt;-&amp;gt;data (fix #3462)&lt;br /&gt;
: ModBus | Initial impl of 64 bit ai type (fix #3402)&lt;br /&gt;
*2.0.141-3b46188-k4-02  Telem-GWM (GWS 2133) &lt;br /&gt;
: Core | Fixed Control issues &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.141-3b46188-k4  Telem-AGC, Telem-GW6e (GWS 2133)&lt;br /&gt;
: Core | Fixed Control issues  &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.132-ddea1dd-k4-02  Telem-AGC, Telem-GW6e (GWS 2131)&lt;br /&gt;
: Core | Fixed Select event loss issue  &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.132-ddea1dd-k4-03  Telem-GWM (GWS 2131) &lt;br /&gt;
: Core | Fixed Select event loss issue &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.82-288715d-k4  Telem-GW6e, Telem-GWM (GWS 2104)  &lt;br /&gt;
: Updates | Minor bug fixes&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog for kernel 2 ==&lt;br /&gt;
* 2018.02.08-next-02-1a34917&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
: Other fixes&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2254</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2254"/>
		<updated>2020-04-03T16:23:04Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* kernel4: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-AGC, TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Recommended software ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning! GWS &amp;gt;= 2142 must be used&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel4: ===&lt;br /&gt;
2.0.156-3e1f29e-k4 - GW6e VMX53/6DL, AGC 6DL/6UL&lt;br /&gt;
&lt;br /&gt;
2.0.156-3e1f29e-k4-03 - GWM VMX25/VMX53/6DL/6UL&lt;br /&gt;
&lt;br /&gt;
=== kernel2(pre 2014 devices): ===&lt;br /&gt;
2020.04.01-next-02-c8fd29a - GW6e (&#039;&#039;&#039;No IEC61850 Client&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Firmware downgrade ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  telem-app Changelog for kernel 4  ==&lt;br /&gt;
*2.0.156-3e1f29e-k4 (GWS 2142)&lt;br /&gt;
: IEC61850 | IEC 61850 Client KEMA certified&lt;br /&gt;
: IEC60870 | 104 Server KEMA certified&lt;br /&gt;
: IEC60870 | 101UB Server fix AI event sent as normalized when implied float&lt;br /&gt;
: IEC60870 | FIX AO subtype determination&lt;br /&gt;
: IEC60870 | Fix DO/AO unknown COT&lt;br /&gt;
: IEC60870 | 101B Server fix floating point subtype up&lt;br /&gt;
: IEC60870 | Fix deact in client&lt;br /&gt;
: IEC60870 | Fix multiple lower level addresses per device (fix #3450)&lt;br /&gt;
: IEC60870 | DO/AO fixes&lt;br /&gt;
: OPC UA | OPC UA Server implementation&lt;br /&gt;
: Api | Add cls.json to webserver (fix #3522)&lt;br /&gt;
: Db | Fix backup import&lt;br /&gt;
: Core | Boost 1.71&lt;br /&gt;
: Core | Sensor code safer&lt;br /&gt;
: Core | Sensor objects have flags&lt;br /&gt;
: Core | AGC SCL IO&lt;br /&gt;
: ModBus | Mitigate offset in value&amp;lt;-&amp;gt;data (fix #3462)&lt;br /&gt;
: ModBus | Initial impl of 64 bit ai type (fix #3402)&lt;br /&gt;
*2.0.141-3b46188-k4-02  Telem-GWM (GWS 2133) &lt;br /&gt;
: Core | Fixed Control issues &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.141-3b46188-k4  Telem-AGC, Telem-GW6e (GWS 2133)&lt;br /&gt;
: Core | Fixed Control issues  &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.132-ddea1dd-k4-02  Telem-AGC, Telem-GW6e (GWS 2131)&lt;br /&gt;
: Core | Fixed Select event loss issue  &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.132-ddea1dd-k4-03  Telem-GWM (GWS 2131) &lt;br /&gt;
: Core | Fixed Select event loss issue &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.82-288715d-k4  Telem-GW6e, Telem-GWM (GWS 2104)  &lt;br /&gt;
: Updates | Minor bug fixes&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog for kernel 2 ==&lt;br /&gt;
* 2018.02.08-next-02-1a34917&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
: Other fixes&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2253</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2253"/>
		<updated>2020-04-03T16:22:49Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* TELEM-AGC, TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-AGC, TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Recommended software ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning! GWS &amp;gt;= 2142 must be used&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel4: ===&lt;br /&gt;
2.0.156-3e1f29e-k4 - GW6e VMX53/6DL, AGC 6DL/6UL&lt;br /&gt;
2.0.156-3e1f29e-k4-03 - GWM VMX25/VMX53/6DL/6UL&lt;br /&gt;
&lt;br /&gt;
=== kernel2(pre 2014 devices): ===&lt;br /&gt;
2020.04.01-next-02-c8fd29a - GW6e (&#039;&#039;&#039;No IEC61850 Client&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Firmware downgrade ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  telem-app Changelog for kernel 4  ==&lt;br /&gt;
*2.0.156-3e1f29e-k4 (GWS 2142)&lt;br /&gt;
: IEC61850 | IEC 61850 Client KEMA certified&lt;br /&gt;
: IEC60870 | 104 Server KEMA certified&lt;br /&gt;
: IEC60870 | 101UB Server fix AI event sent as normalized when implied float&lt;br /&gt;
: IEC60870 | FIX AO subtype determination&lt;br /&gt;
: IEC60870 | Fix DO/AO unknown COT&lt;br /&gt;
: IEC60870 | 101B Server fix floating point subtype up&lt;br /&gt;
: IEC60870 | Fix deact in client&lt;br /&gt;
: IEC60870 | Fix multiple lower level addresses per device (fix #3450)&lt;br /&gt;
: IEC60870 | DO/AO fixes&lt;br /&gt;
: OPC UA | OPC UA Server implementation&lt;br /&gt;
: Api | Add cls.json to webserver (fix #3522)&lt;br /&gt;
: Db | Fix backup import&lt;br /&gt;
: Core | Boost 1.71&lt;br /&gt;
: Core | Sensor code safer&lt;br /&gt;
: Core | Sensor objects have flags&lt;br /&gt;
: Core | AGC SCL IO&lt;br /&gt;
: ModBus | Mitigate offset in value&amp;lt;-&amp;gt;data (fix #3462)&lt;br /&gt;
: ModBus | Initial impl of 64 bit ai type (fix #3402)&lt;br /&gt;
*2.0.141-3b46188-k4-02  Telem-GWM (GWS 2133) &lt;br /&gt;
: Core | Fixed Control issues &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.141-3b46188-k4  Telem-AGC, Telem-GW6e (GWS 2133)&lt;br /&gt;
: Core | Fixed Control issues  &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.132-ddea1dd-k4-02  Telem-AGC, Telem-GW6e (GWS 2131)&lt;br /&gt;
: Core | Fixed Select event loss issue  &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.132-ddea1dd-k4-03  Telem-GWM (GWS 2131) &lt;br /&gt;
: Core | Fixed Select event loss issue &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.82-288715d-k4  Telem-GW6e, Telem-GWM (GWS 2104)  &lt;br /&gt;
: Updates | Minor bug fixes&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog for kernel 2 ==&lt;br /&gt;
* 2018.02.08-next-02-1a34917&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
: Other fixes&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2252</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2252"/>
		<updated>2020-04-03T16:07:28Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog for kernel 4 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-AGC, TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Firmware downgrade ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  telem-app Changelog for kernel 4  ==&lt;br /&gt;
*2.0.156-3e1f29e-k4 (GWS 214?)&lt;br /&gt;
: IEC61850 | 61850 Client KEMA certified&lt;br /&gt;
: IEC60870 | 104 Server KEMA certified&lt;br /&gt;
: IEC60870 | 101 ub server: fix ai event sent as normalized when implied float&lt;br /&gt;
: IEC60870 | ao subtype determination fix&lt;br /&gt;
: IEC60870 | fix ao/do unknown cot&lt;br /&gt;
: IEC60870 | 101b slave fix floating point subtype up&lt;br /&gt;
: IEC60870 | fix deact in client&lt;br /&gt;
: IEC60870 | fix multiple lower level addresses per device (fix #3450)&lt;br /&gt;
: IEC60870 | do/ao fixes&lt;br /&gt;
: OPC UA | OPC UA Server implementation&lt;br /&gt;
: Api | add cls.json to webserver (fix #3522)&lt;br /&gt;
: Db | fix backup import&lt;br /&gt;
: Core | Boost 1.71&lt;br /&gt;
: Core | Sensor code safer&lt;br /&gt;
: Core | Sensor objects have flags&lt;br /&gt;
: Core | AGC SCL IO&lt;br /&gt;
: ModBus | mitigate offset in value&amp;lt;-&amp;gt;data (fix #3462)&lt;br /&gt;
: ModBus | intitial impl of 64 bit ai type (fix #3402)&lt;br /&gt;
*2.0.141-3b46188-k4-02  Telem-GWM (GWS 2133) &lt;br /&gt;
: Core | Fixed Control issues &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.141-3b46188-k4  Telem-AGC, Telem-GW6e (GWS 2133)&lt;br /&gt;
: Core | Fixed Control issues  &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.132-ddea1dd-k4-02  Telem-AGC, Telem-GW6e (GWS 2131)&lt;br /&gt;
: Core | Fixed Select event loss issue  &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.132-ddea1dd-k4-03  Telem-GWM (GWS 2131) &lt;br /&gt;
: Core | Fixed Select event loss issue &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.82-288715d-k4  Telem-GW6e, Telem-GWM (GWS 2104)  &lt;br /&gt;
: Updates | Minor bug fixes&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog for kernel 2 ==&lt;br /&gt;
* 2018.02.08-next-02-1a34917&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
: Other fixes&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2251</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2251"/>
		<updated>2020-04-03T16:07:12Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog for kernel 4 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-AGC, TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Firmware downgrade ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  telem-app Changelog for kernel 4  ==&lt;br /&gt;
*2.0.156-3e1f29e-k4 (GWS 214?)&lt;br /&gt;
: IEC61850 | 61850 Client KEMA certified&lt;br /&gt;
: IEC60870 | 104 Server KEMA certified&lt;br /&gt;
: IEC60870 | 101 ub server: fix ai event sent as normalized when implied float&lt;br /&gt;
: IEC60870 | ao subtype determination fix&lt;br /&gt;
: IEC60870 | fix ao/do unknown cot&lt;br /&gt;
: IEC60870 | 101b slave fix floating point subtype up&lt;br /&gt;
: IEC60870 | fix deact in client&lt;br /&gt;
: IEC60870 | ix multiple lower level addresses per device (fix #3450)&lt;br /&gt;
: IEC60870 | do/ao fixes&lt;br /&gt;
: OPC UA | OPC UA Server implementation&lt;br /&gt;
: Api | add cls.json to webserver (fix #3522)&lt;br /&gt;
: Db | fix backup import&lt;br /&gt;
: Core | Boost 1.71&lt;br /&gt;
: Core | Sensor code safer&lt;br /&gt;
: Core | Sensor objects have flags&lt;br /&gt;
: Core | AGC SCL IO&lt;br /&gt;
: ModBus | mitigate offset in value&amp;lt;-&amp;gt;data (fix #3462)&lt;br /&gt;
: ModBus | intitial impl of 64 bit ai type (fix #3402)&lt;br /&gt;
*2.0.141-3b46188-k4-02  Telem-GWM (GWS 2133) &lt;br /&gt;
: Core | Fixed Control issues &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.141-3b46188-k4  Telem-AGC, Telem-GW6e (GWS 2133)&lt;br /&gt;
: Core | Fixed Control issues  &lt;br /&gt;
: Logging | PCAP feature  &lt;br /&gt;
*2.0.132-ddea1dd-k4-02  Telem-AGC, Telem-GW6e (GWS 2131)&lt;br /&gt;
: Core | Fixed Select event loss issue  &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.132-ddea1dd-k4-03  Telem-GWM (GWS 2131) &lt;br /&gt;
: Core | Fixed Select event loss issue &lt;br /&gt;
: Logging | Improved logging  &lt;br /&gt;
*2.0.82-288715d-k4  Telem-GW6e, Telem-GWM (GWS 2104)  &lt;br /&gt;
: Updates | Minor bug fixes&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog for kernel 2 ==&lt;br /&gt;
* 2018.02.08-next-02-1a34917&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
: Other fixes&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2250</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2250"/>
		<updated>2020-03-19T08:54:30Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Assign CLS AI Object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kasutaja:MarkTomm|MarkTomm]] 31. oktoober 2017, kell 15:41 (EET)&lt;br /&gt;
&lt;br /&gt;
This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:00:20&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| varWorkingDirectory&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| varWorkingDirectory&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| start-count&lt;br /&gt;
| varWorkingDirectory / &amp;quot;stats/app_start_count&lt;br /&gt;
| App start count file&lt;br /&gt;
|-&lt;br /&gt;
| total-start-count&lt;br /&gt;
| varWorkingDirectory / &amp;quot;stats/app_start_count_total&lt;br /&gt;
| App start count total file&lt;br /&gt;
|-&lt;br /&gt;
| date-time-zone-spec.path&lt;br /&gt;
| &amp;quot;Time zone info file&amp;quot;)&lt;br /&gt;
| Time zone info file&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.k&lt;br /&gt;
| 12&lt;br /&gt;
| Write depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.w&lt;br /&gt;
| 8&lt;br /&gt;
| Unacked read depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;protocol/opc-ua&lt;br /&gt;
| For persistent Client writes in OPC UA Server and Rules&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.https-client.path&lt;br /&gt;
| /etc/protocol/opc-ua/https-client/&lt;br /&gt;
| For persistent Client writes in OPC UA Server and Rules&lt;br /&gt;
|-&lt;br /&gt;
| webserver.lcbc.cls.addr&lt;br /&gt;
| 0&lt;br /&gt;
| Value of this ai is returned in measurement array at /cls.json&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| sensors.light.multiplier&lt;br /&gt;
| 2.59724&lt;br /&gt;
| Value from 1M/1024/Rsens*12.5, if Rsense is 4.7kOhm, then we get ~2.59724&lt;br /&gt;
|-&lt;br /&gt;
| sensors.light.window-size&lt;br /&gt;
| 19&lt;br /&gt;
| Rolling mean window size, or in other words, how many samples to average&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.10.31&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Assign CLS AI Object ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
webserver.lcbc.cls.addr=2001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is not available in any stable firmware (18.03.2020)  [http://taru.intra.martem.ee/sw/api.php?version=2.0.153-e60cfba-k4-03-mark-martem-tower-dirty&amp;amp;cpu=TX6UL&amp;amp;product=Telem-AGC dirty fw in taru]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2249</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2249"/>
		<updated>2020-03-18T10:40:35Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kasutaja:MarkTomm|MarkTomm]] 31. oktoober 2017, kell 15:41 (EET)&lt;br /&gt;
&lt;br /&gt;
This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:00:20&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| varWorkingDirectory&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| varWorkingDirectory&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| varWorkingDirectory / &amp;quot;enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| start-count&lt;br /&gt;
| varWorkingDirectory / &amp;quot;stats/app_start_count&lt;br /&gt;
| App start count file&lt;br /&gt;
|-&lt;br /&gt;
| total-start-count&lt;br /&gt;
| varWorkingDirectory / &amp;quot;stats/app_start_count_total&lt;br /&gt;
| App start count total file&lt;br /&gt;
|-&lt;br /&gt;
| date-time-zone-spec.path&lt;br /&gt;
| &amp;quot;Time zone info file&amp;quot;)&lt;br /&gt;
| Time zone info file&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.k&lt;br /&gt;
| 12&lt;br /&gt;
| Write depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.w&lt;br /&gt;
| 8&lt;br /&gt;
| Unacked read depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.path&lt;br /&gt;
| usrWorkingDirectory / &amp;quot;protocol/opc-ua&lt;br /&gt;
| For persistent Client writes in OPC UA Server and Rules&lt;br /&gt;
|-&lt;br /&gt;
| protocol.opc-ua.https-client.path&lt;br /&gt;
| /etc/protocol/opc-ua/https-client/&lt;br /&gt;
| For persistent Client writes in OPC UA Server and Rules&lt;br /&gt;
|-&lt;br /&gt;
| webserver.lcbc.cls.addr&lt;br /&gt;
| 0&lt;br /&gt;
| Value of this ai is returned in measurement array at /cls.json&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| sensors.light.multiplier&lt;br /&gt;
| 2.59724&lt;br /&gt;
| Value from 1M/1024/Rsens*12.5, if Rsense is 4.7kOhm, then we get ~2.59724&lt;br /&gt;
|-&lt;br /&gt;
| sensors.light.window-size&lt;br /&gt;
| 19&lt;br /&gt;
| Rolling mean window size, or in other words, how many samples to average&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.10.31&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Assign CLS AI Object ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
webserver.lcbc.cls.addr=2001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is not available in any stable firmware (18.03.2020)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2192</id>
		<title>Kontakt</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2192"/>
		<updated>2019-01-07T16:52:24Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
|+ Telefoni numbrid, e-mailid&lt;br /&gt;
! Nimi !! class=&amp;quot;unsortable&amp;quot; | Telefon !! class=&amp;quot;unsortable&amp;quot; | e-mail !! Amet !! Märkmed&lt;br /&gt;
|-&lt;br /&gt;
| Peter Nobel || +372 5119694 || [mailto:peter@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Ülo Proode || +372 55691543 || [mailto:ylo@martem.ee töö] [mailto:ylo.proode@mail.ee isiklik]&lt;br /&gt;
|-&lt;br /&gt;
| Aldur Järvalt || +372 5077430 || [mailto:aldur.jarvalt@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Janek Sarjas || +372 53446127 || [mailto:janek@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Alfred Liin || +372 56959795 || [mailto:alfred.liin@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Harri Trampärk || +372 5083780 || [mailto:harri@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Mark Tomm || +372 58426909 || [mailto:mark.tomm@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kermo Basov || +372 56925894 || [mailto:kermo.basov@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Igor Nehoroshev || +375 58310622 || [mailto:igor.nehoroshev@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Aleksandr Koskin || +372 58131851 || [mailto:aleksandr.koskin@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Hannes Metsalu || +372 59816818 || [mailto:hannes.metsalu@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Robert Putnik || +372 56095670 || [mailto:robert.putnik@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kristjan Kruuser || +372 56902884 || [mailto:kristjan.kruuser@martem.ee töö]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Uue rea lisamiseks tabelisse kopeeri ja muuda järgnevad 2 rida.&lt;br /&gt;
|-&lt;br /&gt;
| Sinu nimi || telefoni number || [mailto:sinumeiliaadress@martem.ee kirjeldus-töö/kodu/vms]&lt;br /&gt;
--!&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2191</id>
		<title>Kontakt</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2191"/>
		<updated>2019-01-04T13:17:30Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
|+ Telefoni numbrid, e-mailid&lt;br /&gt;
! Nimi !! class=&amp;quot;unsortable&amp;quot; | Telefon !! class=&amp;quot;unsortable&amp;quot; | e-mail !! Amet !! Märkmed&lt;br /&gt;
|-&lt;br /&gt;
| Peter Nobel || +372 5119694 || [mailto:peter@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Ülo Proode || +372 55691543 || [mailto:ylo@martem.ee töö] [mailto:ylo.proode@mail.ee isiklik]&lt;br /&gt;
|-&lt;br /&gt;
| Aldur Järvalt || +372 5077430 || [mailto:aldur.jarvalt@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Janek Sarjas || +372 53446127 || [mailto:janek@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Alfred Liin || +372 56959795 || [mailto:alfred.liin@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Harri Trampärk || +372 5083780 || [mailto:harri@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Mark Tomm || +372 58426909 || [mailto:mark.tomm@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kermo Basov || +372 56925894 || [mailto:kermo.basov@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Igor Nehoroshev || +375 58310622 || [mailto:igor.nehoroshev@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Aleksandr Koskin || +372 58131851 || [mailto:aleksandr.koskin@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Hannes Metsalu || +372 59816818 || [mailto:hannes.metsalu@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Robert Putnik || +372 56095670 || [mailto:robert.putnik@martem.ee töö]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Uue rea lisamiseks tabelisse kopeeri ja muuda järgnevad 2 rida.&lt;br /&gt;
|-&lt;br /&gt;
| Sinu nimi || telefoni number || [mailto:sinumeiliaadress@martem.ee kirjeldus-töö/kodu/vms]&lt;br /&gt;
--!&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2186</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2186"/>
		<updated>2018-04-18T09:10:43Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* All arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kasutaja:MarkTomm|MarkTomm]] 31. oktoober 2017, kell 15:41 (EET)&lt;br /&gt;
&lt;br /&gt;
This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| /usr/local/etc/telem/config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| /usr/local/etc/telem/gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| /usr/local/etc/telem/log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| /var/local/telem/object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:01:00&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| /var/local/telem/log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| /var/local/telem/sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| /usr/local/etc/telem/custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| /var/local/telem/enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.k&lt;br /&gt;
| 12&lt;br /&gt;
| Write depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec104.w&lt;br /&gt;
| 8&lt;br /&gt;
| Unacked read depth (1-32767sec)&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.10.31&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2185</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2185"/>
		<updated>2018-03-20T14:05:02Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Milestones */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* KEMA certified IEC-60870-104 Server&lt;br /&gt;
* OPC UA Server&lt;br /&gt;
* DNP3 - implemented, not in main branch yet&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2184</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2184"/>
		<updated>2018-03-20T14:04:31Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Milestones */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3 - implemented, not in main branch yet&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2183</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2183"/>
		<updated>2018-03-06T11:15:02Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* All arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kasutaja:MarkTomm|MarkTomm]] 31. oktoober 2017, kell 15:41 (EET)&lt;br /&gt;
&lt;br /&gt;
This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| /usr/local/etc/telem/config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| /usr/local/etc/telem/gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| /usr/local/etc/telem/log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| /var/local/telem/object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:01:00&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| /var/local/telem/log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| /var/local/telem/sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| /usr/local/etc/telem/custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| /var/local/telem/enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101-104.datalayer.max-frame-size&lt;br /&gt;
| 252&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.10.31&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2182</id>
		<title>Kontakt</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2182"/>
		<updated>2018-03-05T15:55:46Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
|+ Telefoni numbrid, e-mailid&lt;br /&gt;
! Nimi !! class=&amp;quot;unsortable&amp;quot; | Telefon !! class=&amp;quot;unsortable&amp;quot; | e-mail !! Amet !! Märkmed&lt;br /&gt;
|-&lt;br /&gt;
| Peter Nobel || +372 5119694 || [mailto:peter@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Roland Uuesoo || +372 58058950 || [mailto:roland@martem.ee töö] [mailto:rolandu@gmail.com isiklik] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Taimar Täheväli || +372 55654090 || [mailto:taimar.tahevali@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Ülo Proode || +372 55691543 || [mailto:ylo@martem.ee töö] [mailto:ylo.proode@mail.ee isiklik]&lt;br /&gt;
|-&lt;br /&gt;
| Meelis Osi || +372 5200403 || [mailto:meelis.osi@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Aldur Järvalt || +372 5077430 || [mailto:aldur.jarvalt@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Janar Tähepõld || +372 58415959 || [mailto:janar.tahepold@martem.ee töö] [mailto:janar.tahepold@hot.ee isiklik] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Indrek Luuk || +372 5248139 || [mailto:indrek.luuk@eesti.ee meil] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Janek Sarjas || +372 53446127 || [mailto:janek@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Alfred Liin || +372 56959795 || [mailto:alfred.liin@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Harri Trampärk || +372 5083780 || [mailto:harri@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Andres Kask || +372 5077224 || [mailto:andres.kask@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Andres Veskimeister || +372 5026160 || [mailto:andres@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Aivar Liimets || +372 5038980 || [mailto:aivar.liimets@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Andrus Kaljumäe || +372 56213684 || [mailto:andrus.kaljumae@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Rainer Süld || +372 51922124 || [mailto:rainer.suld@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Kersti Kuusalu || +372 5087182 || [mailto:martem@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Hendrik Püi || +372 59044610 || [mailto:hendrik@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Robert Rand || +372 53026626 || [mailto:robert.rand@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Mark Tomm || +372 58426909 || [mailto:mark.tomm@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kermo Basov || +372 56925894 || [mailto:kermo.basov@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Igor Nehoroshev || +375 58310622 || [mailto:igor.nehoroshev@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Priit Reinmets || +375 5115209 || [mailto:priit.reinmets@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Aleksandr Koskin || +372 58131851 || [mailto:aleksandr.koskin@martem.ee töö]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Uue rea lisamiseks tabelisse kopeeri ja muuda järgnevad 2 rida.&lt;br /&gt;
|-&lt;br /&gt;
| Sinu nimi || telefoni number || [mailto:sinumeiliaadress@martem.ee kirjeldus-töö/kodu/vms]&lt;br /&gt;
--!&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2181</id>
		<title>Kontakt</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2181"/>
		<updated>2018-03-05T15:55:02Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
|+ Telefoni numbrid, e-mailid&lt;br /&gt;
! Nimi !! class=&amp;quot;unsortable&amp;quot; | Telefon !! class=&amp;quot;unsortable&amp;quot; | e-mail !! Amet !! Märkmed&lt;br /&gt;
|-&lt;br /&gt;
| Peter Nobel || +372 5119694 || [mailto:peter@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Roland Uuesoo || +372 58058950 || [mailto:roland@martem.ee töö] [mailto:rolandu@gmail.com isiklik] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Taimar Täheväli || +372 55654090 || [mailto:taimar.tahevali@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Ülo Proode || +372 55691543 || [mailto:ylo@martem.ee töö] [mailto:ylo.proode@mail.ee isiklik]&lt;br /&gt;
|-&lt;br /&gt;
| Meelis Osi || +372 5200403 || [mailto:meelis.osi@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Aldur Järvalt || +372 5077430 || [mailto:aldur.jarvalt@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Janar Tähepõld || +372 58415959 || [mailto:janar.tahepold@martem.ee töö] [mailto:janar.tahepold@hot.ee isiklik] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Indrek Luuk || +372 5248139 || [mailto:indrek.luuk@eesti.ee meil] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Janek Sarjas || +372 53446127 || [mailto:janek@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Alfred Liin || +372 56959795 || [mailto:alfred.liin@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Harri Trampärk || +372 5083780 || [mailto:harri@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Andres Kask || +372 5077224 || [mailto:andres.kask@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Andres Veskimeister || +372 5026160 || [mailto:andres@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Aivar Liimets || +372 5038980 || [mailto:aivar.liimets@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Andrus Kaljumäe || +372 56213684 || [mailto:andrus.kaljumae@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Rainer Süld || +372 51922124 || [mailto:rainer.suld@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kersti Kuusalu || +372 5087182 || [mailto:martem@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Hendrik Püi || +372 59044610 || [mailto:hendrik@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Robert Rand || +372 53026626 || [mailto:robert.rand@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Mark Tomm || +372 58426909 || [mailto:mark.tomm@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kermo Basov || +372 56925894 || [mailto:kermo.basov@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Igor Nehoroshev || +375 58310622 || [mailto:igor.nehoroshev@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Priit Reinmets || +375 5115209 || [mailto:priit.reinmets@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Aleksandr Koskin || +372 58131851 || [mailto:aleksandr.koskin@martem.ee töö]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Uue rea lisamiseks tabelisse kopeeri ja muuda järgnevad 2 rida.&lt;br /&gt;
|-&lt;br /&gt;
| Sinu nimi || telefoni number || [mailto:sinumeiliaadress@martem.ee kirjeldus-töö/kodu/vms]&lt;br /&gt;
--!&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2180</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2180"/>
		<updated>2018-02-08T16:21:02Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* kernel 4: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2018.02.08-linux_4-04-b7d1941&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2179</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2179"/>
		<updated>2018-02-08T16:14:42Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* kernel 2: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2018.02.08-next-02-1a34917&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2178</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2178"/>
		<updated>2018-02-08T16:13:44Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / 2018.02.08-next-02-1a34917 (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2177</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2177"/>
		<updated>2018-02-08T14:16:01Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / NA (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC60870 | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC101/104 | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC101/104 DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC101/104 | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2176</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2176"/>
		<updated>2018-02-08T14:14:08Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2018.02.08-linux_4-04-b7d1941 / NA (GWS 2086)&lt;br /&gt;
: Formula | Fix complex formulas not recalculating after after init&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC10x | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC 101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC10x | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2175</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2175"/>
		<updated>2018-01-12T16:14:51Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC10x | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround [https://phobos.martem.ee/redmine/issues/2916 #2916]&lt;br /&gt;
: IEC61850 | Improve cmds [https://phobos.martem.ee/redmine/issues/2925 #2925]&lt;br /&gt;
: IEC 101UB Slave | Improve varLenMsg parsing [https://phobos.martem.ee/redmine/issues/2933 #2933]&lt;br /&gt;
: IEC10x | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout [https://phobos.martem.ee/redmine/issues/2930 #2930]&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2174</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2174"/>
		<updated>2018-01-12T16:11:58Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2018.01.12-linux_4-01-8b72574 / 2018.01.12-next-02-abe5e00 (GWS 2083)&lt;br /&gt;
: Formula | DB accessor thread optimisations&lt;br /&gt;
: Change Filter | Discard NaN values. Pass event with previous value and OVF bit&lt;br /&gt;
: IEC10x | Event priority rework&lt;br /&gt;
: Core | Periodical GI improvements&lt;br /&gt;
: IEC61850 | Alstom P14 DI bug workaround&lt;br /&gt;
: IEC61850 | Improve cmds&lt;br /&gt;
: IEC 101UB Slave | Improve varLenMsg parsing&lt;br /&gt;
: IEC10x | Add debug messages to AO cmd&lt;br /&gt;
: Scale Filter | Fix AI scaling twice on lower device timeout&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2173</id>
		<title>Kontakt</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Kontakt&amp;diff=2173"/>
		<updated>2017-12-12T15:03:12Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
|+ Telefoni numbrid, e-mailid&lt;br /&gt;
! Nimi !! class=&amp;quot;unsortable&amp;quot; | Telefon !! class=&amp;quot;unsortable&amp;quot; | e-mail !! Amet !! Märkmed&lt;br /&gt;
|-&lt;br /&gt;
| Peter Nobel || +372 5119694 || [mailto:peter@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Roland Uuesoo || +372 58058950 || [mailto:roland@martem.ee töö] [mailto:rolandu@gmail.com isiklik] || Tarkvara arendus || GW6, RTA-A, GWM , RTA-XA&lt;br /&gt;
|-&lt;br /&gt;
| Taimar Täheväli || +372 55654090 || [mailto:taimar.tahevali@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Ülo Proode || +372 55691543 || [mailto:ylo@martem.ee töö] [mailto:ylo.proode@mail.ee isiklik]&lt;br /&gt;
|-&lt;br /&gt;
| Meelis Osi || +372 5200403 || [mailto:meelis.osi@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Aldur Järvalt || +372 5077430 || [mailto:aldur.jarvalt@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Janar Tähepõld || +372 58415959 || [mailto:janar.tahepold@martem.ee töö] [mailto:janar.tahepold@hot.ee isiklik] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Indrek Luuk || +372 5248139 || [mailto:indrek.luuk@eesti.ee meil] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Janek Sarjas || +372 53446127 || [mailto:janek@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Alfred Liin || +372 56959795 || [mailto:alfred.liin@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Harri Trampärk || +372 5083780 || [mailto:harri@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Andres Kask || +372 5077224 || [mailto:andres.kask@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Andres Veskimeister || +372 5026160 || [mailto:andres@martem.ee töö] || || Ei tööta enam Martemis&lt;br /&gt;
|-&lt;br /&gt;
| Aivar Liimets || +372 5038980 || [mailto:aivar.liimets@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Andrus Kaljumäe || +372 56213684 || [mailto:andrus.kaljumae@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Rainer Süld || +372 51922124 || [mailto:rainer.suld@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kersti Kuusalu || +372 5087182 || [mailto:martem@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Hendrik Püi || +372 59044610 || [mailto:hendrik@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Robert Rand || +372 53026626 || [mailto:robert.rand@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Mark Tomm || +372 58426909 || [mailto:mark.tomm@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Kermo Basov || +372 56925894 || [mailto:kermo.basov@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Igor Nehoroshev || +375 58310622 || [mailto:igor.nehoroshev@martem.ee töö]&lt;br /&gt;
|-&lt;br /&gt;
| Priit Reinmets || +375 5115209 || [mailto:priit.reinmets@martem.ee töö]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Uue rea lisamiseks tabelisse kopeeri ja muuda järgnevad 2 rida.&lt;br /&gt;
|-&lt;br /&gt;
| Sinu nimi || telefoni number || [mailto:sinumeiliaadress@martem.ee kirjeldus-töö/kodu/vms]&lt;br /&gt;
--!&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2171</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2171"/>
		<updated>2017-11-20T12:54:42Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Latest Firmware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.11.18-linux_4-01-87d4416&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.11.18-next-01-9c9c97b&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2170</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2170"/>
		<updated>2017-11-20T12:53:45Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
*2017.11.18-linux_4-01-87d4416 / 2017.11.18-next-01-9c9c97b (GWS 2081b)&lt;br /&gt;
: Build for all devices and kernels&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081b)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2169</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2169"/>
		<updated>2017-11-10T20:36:50Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.11.10-linux_4-01-8595646 / N/A k2 (GWS 2081)&lt;br /&gt;
: Formula | Integral expression minor timing fix [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: IEC60870 | Fix device objects not sent with GI on 101-104 translation, only lower device objects [https://phobos.martem.ee/redmine/issues/2908 #2908] &lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2168</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2168"/>
		<updated>2017-10-31T13:41:15Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kasutaja:MarkTomm|MarkTomm]] 31. oktoober 2017, kell 15:41 (EET)&lt;br /&gt;
&lt;br /&gt;
This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| /usr/local/etc/telem/config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| /usr/local/etc/telem/gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| /usr/local/etc/telem/log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| /var/local/telem/object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:01:00&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| /var/local/telem/log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| /var/local/telem/sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| /usr/local/etc/telem/custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| /var/local/telem/enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.10.31&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2167</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2167"/>
		<updated>2017-10-31T13:39:17Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* Downgrading firmware has never been supported.&lt;br /&gt;
* It is possible to downgrade, but there are no guarantees.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;2017.10.17-linux_4-11-872c6fa&amp;lt;/code&amp;gt; is first firmware with kernel 4.9.y, do not downgrade to earlier versions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.10.31-linux_4-03-e9d281f / N/A k2 (GWS 2081)&lt;br /&gt;
: Formula | Integral expression rewrite to integral(@ai, @di) [https://phobos.martem.ee/redmine/issues/2848 #2848]&lt;br /&gt;
: Filter | Optimize lock usage between LatestValues and UpdateLatest &lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
*2017.02.10&lt;br /&gt;
: fix sftp access&lt;br /&gt;
: fix configuring SSH from GWS&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2166</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2166"/>
		<updated>2017-10-31T13:11:38Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Change Integral Filter recalculation interval */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| /usr/local/etc/telem/config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| /usr/local/etc/telem/gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| /usr/local/etc/telem/log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| /var/local/telem/object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:01:00&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| /var/local/telem/log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| /var/local/telem/sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| /usr/local/etc/telem/custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| /var/local/telem/enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.10.31&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kasutaja:MarkTomm|MarkTomm]] 22. september 2017, kell 16:55 (EEST)&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2165</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2165"/>
		<updated>2017-10-31T13:11:26Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Change Integral Filter recalculation interval */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| /usr/local/etc/telem/config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| /usr/local/etc/telem/gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| /usr/local/etc/telem/log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| /var/local/telem/object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:01:00&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| /var/local/telem/log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| /var/local/telem/sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| /usr/local/etc/telem/custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| /var/local/telem/enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
NB! This feature is available in firmware starting from 2017.10.31&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kasutaja:MarkTomm|MarkTomm]] 22. september 2017, kell 16:55 (EEST)&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2164</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2164"/>
		<updated>2017-10-31T13:10:58Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Config file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| /usr/local/etc/telem/config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| /usr/local/etc/telem/gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| /usr/local/etc/telem/log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| /var/local/telem/object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:01:00&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| /var/local/telem/log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| /var/local/telem/sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| /usr/local/etc/telem/custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| /var/local/telem/enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the &#039;&#039;&#039;/etc/telem-gw.user.conf&#039;&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Change Integral Filter recalculation interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
filter.integral.recalc-period=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to change to 1 second (10 is default)&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kasutaja:MarkTomm|MarkTomm]] 22. september 2017, kell 16:55 (EEST)&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2163</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2163"/>
		<updated>2017-10-31T13:08:19Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* All arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| /usr/local/etc/telem/config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| /usr/local/etc/telem/gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| /usr/local/etc/telem/log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| /var/local/telem/object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:01:00&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| /var/local/telem/log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| /var/local/telem/sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| /usr/local/etc/telem/custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| /var/local/telem/enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the /etc/telem-gw.user.conf file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kasutaja:MarkTomm|MarkTomm]] 22. september 2017, kell 16:55 (EEST)&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2162</id>
		<title>Telem-app configuration</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Telem-app_configuration&amp;diff=2162"/>
		<updated>2017-10-31T13:06:02Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* All arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section applies to GW6e and GWM.&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
&lt;br /&gt;
telem-app functionality can be tweaked via command line arguments and config files&lt;br /&gt;
&lt;br /&gt;
== All arguments ==&lt;br /&gt;
{|&lt;br /&gt;
! Argument&lt;br /&gt;
! Default value&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
| N/A&lt;br /&gt;
| Show help message&lt;br /&gt;
|-&lt;br /&gt;
| conf-path&lt;br /&gt;
| /etc/telem-gw.conf&lt;br /&gt;
| Configuration file&lt;br /&gt;
|-&lt;br /&gt;
| no-watchdog&lt;br /&gt;
| N/A&lt;br /&gt;
| Disable watchdog&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.path&lt;br /&gt;
| /usr/local/etc/telem/config.xml&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| hw-conf&lt;br /&gt;
| path&lt;br /&gt;
| Hardware configuration file&lt;br /&gt;
|-&lt;br /&gt;
| conf.bin.path&lt;br /&gt;
| /usr/local/etc/telem/gwSetup.bin&lt;br /&gt;
| Binary setup file&lt;br /&gt;
|-&lt;br /&gt;
| conf.log.path&lt;br /&gt;
| /usr/local/etc/telem/log-conf.xml&lt;br /&gt;
| Logging configuration file&lt;br /&gt;
|-&lt;br /&gt;
| path.root&lt;br /&gt;
| /&lt;br /&gt;
| Path to virtual system /&lt;br /&gt;
|-&lt;br /&gt;
| path.sys.bus.w1&lt;br /&gt;
| /sys/bus/w1/devices&lt;br /&gt;
| Path to /sys/bus/w1/devices&lt;br /&gt;
|-&lt;br /&gt;
| www.path&lt;br /&gt;
| /var/www&lt;br /&gt;
| Path to WWW dir&lt;br /&gt;
|-&lt;br /&gt;
| svg.screens.path&lt;br /&gt;
| /var/www/svg/screens&lt;br /&gt;
| Path to SVG screens dir&lt;br /&gt;
|-&lt;br /&gt;
| db.backup.path&lt;br /&gt;
| /var/local/telem/object_backup.xml&lt;br /&gt;
| Path to object backup XML file&lt;br /&gt;
|-&lt;br /&gt;
| db.sync.interval&lt;br /&gt;
| 00:01:00&lt;br /&gt;
| Database sync interval&lt;br /&gt;
|-&lt;br /&gt;
| conf.user.path&lt;br /&gt;
| /etc/telem-gw.user.conf&lt;br /&gt;
| Configuration file provided by user&lt;br /&gt;
|-&lt;br /&gt;
| dsp.timesync.receiving&lt;br /&gt;
| bool&lt;br /&gt;
| Allow receiving of timesync from DSP&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.keys.path&lt;br /&gt;
| /etc/ssl/private&lt;br /&gt;
| Path to SSL server key directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.server.cert.path&lt;br /&gt;
| /etc/ssl/certs&lt;br /&gt;
| Path to SSL server directory&lt;br /&gt;
|-&lt;br /&gt;
| ssl.bin&lt;br /&gt;
| /usr/bin/openssl&lt;br /&gt;
| Path to openssl binary&lt;br /&gt;
|-&lt;br /&gt;
| log.var.path&lt;br /&gt;
| /var/log&lt;br /&gt;
| Path to var log&lt;br /&gt;
|-&lt;br /&gt;
| log.telem.path&lt;br /&gt;
| /var/local/telem/log&lt;br /&gt;
| Path to log telem&lt;br /&gt;
|-&lt;br /&gt;
| sms.local.path&lt;br /&gt;
| /var/local/telem/sms&lt;br /&gt;
| Path to local sms directory&lt;br /&gt;
|-&lt;br /&gt;
| var.telem.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to temporary /var/local/telem directory&lt;br /&gt;
|-&lt;br /&gt;
| sms.temp.path&lt;br /&gt;
| /tmp/sms&lt;br /&gt;
| Path to temporary sms directory&lt;br /&gt;
|-&lt;br /&gt;
| cmd.path&lt;br /&gt;
| /var/local/telem&lt;br /&gt;
| Path to cmd file directory&lt;br /&gt;
|-&lt;br /&gt;
| log.root&lt;br /&gt;
| Gateway&lt;br /&gt;
| Root logger name&lt;br /&gt;
|-&lt;br /&gt;
| conf.xml.custom.path&lt;br /&gt;
| /usr/local/etc/telem/custom.xml&lt;br /&gt;
| Path to custom XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| timezone.default&lt;br /&gt;
| EET+2EEST+1,M3.5.0/03:00:00,M10.5.0/04:00:00&lt;br /&gt;
| Default timezone for application&lt;br /&gt;
|-&lt;br /&gt;
| www.custom.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to XML setup file&lt;br /&gt;
|-&lt;br /&gt;
| www.port.debug.path&lt;br /&gt;
| path&lt;br /&gt;
| Path to file where webserver port number will be put&lt;br /&gt;
|-&lt;br /&gt;
| thread.count&lt;br /&gt;
| 2&lt;br /&gt;
| Thread count for io-service thread group&lt;br /&gt;
|-&lt;br /&gt;
| feature.list.path&lt;br /&gt;
| /var/local/telem/enabled_features&lt;br /&gt;
| GWS check for available features via this file&lt;br /&gt;
|-&lt;br /&gt;
| channel.sleepms.default&lt;br /&gt;
| 1&lt;br /&gt;
| Default channel sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| portio.sleepms&lt;br /&gt;
| 1&lt;br /&gt;
| Portio sleep in milliseconds (1..20)&lt;br /&gt;
|-&lt;br /&gt;
| nice&lt;br /&gt;
| 0&lt;br /&gt;
| Default nice value (0..19)&lt;br /&gt;
|-&lt;br /&gt;
| latitude&lt;br /&gt;
| 59.411780&lt;br /&gt;
| Device latitude&lt;br /&gt;
|-&lt;br /&gt;
| longitude&lt;br /&gt;
| 24.684477&lt;br /&gt;
| Device longitude&lt;br /&gt;
|-&lt;br /&gt;
| watchdog&lt;br /&gt;
| true&lt;br /&gt;
| Is Watchdog enabled&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.util&lt;br /&gt;
| true&lt;br /&gt;
| (deprecated) Use external watchdog utility&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.interval&lt;br /&gt;
| 00:00:45&lt;br /&gt;
| System watchdog kick interval&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.vpath&lt;br /&gt;
| /tmp/.telem_watchdog&lt;br /&gt;
| Virtual watchdog path&lt;br /&gt;
|-&lt;br /&gt;
| watchdog.dev&lt;br /&gt;
| /dev/watchdog&lt;br /&gt;
| (deprecated) Watchdog device path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.config-path&lt;br /&gt;
| /etc/pinger/&lt;br /&gt;
| Pinger configuration path&lt;br /&gt;
|-&lt;br /&gt;
| protocol.icmp.procfs&lt;br /&gt;
| /tmp/pingers&lt;br /&gt;
| procfs directory for pingers&lt;br /&gt;
|-&lt;br /&gt;
| ordercode.batterypowered.path&lt;br /&gt;
| /var/local/telem/ordercode/battery_powered&lt;br /&gt;
| If file exists, device will be in battery powered mode&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.max-length&lt;br /&gt;
| 00:30:00&lt;br /&gt;
| Maximum session length&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.retry-period&lt;br /&gt;
| 00:15:00&lt;br /&gt;
| Session retry period&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.keep-alive&lt;br /&gt;
| 00:00:30&lt;br /&gt;
| Session keep-alive&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.connect-timeout&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| Connect timeout&lt;br /&gt;
|-&lt;br /&gt;
| protocol.session.period&lt;br /&gt;
| 24:00:00&lt;br /&gt;
| Next retry after successful session&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.tdc-workaround&lt;br /&gt;
| true&lt;br /&gt;
| IEC101-balanced TDC workaround&lt;br /&gt;
|-&lt;br /&gt;
| protocol.iec101b.dfc-delay&lt;br /&gt;
| 0&lt;br /&gt;
| IEC101-balanced DataFlowControl delay&lt;br /&gt;
|-&lt;br /&gt;
| protocol.modbus.sequential-poll-cnt&lt;br /&gt;
| 15&lt;br /&gt;
| How many objects should be polled from modbus before issuing protocol change on channel&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.recalc-period&lt;br /&gt;
| 10&lt;br /&gt;
| How frequently should the interval(@ai, @di) recalculate itself in seconds&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| filter.integral.raclac-start&lt;br /&gt;
| 120&lt;br /&gt;
| When should interval recalculations start after app init in seconds&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.offset&lt;br /&gt;
| 00:05:00&lt;br /&gt;
| GI offset every hour or interval if protocol.periodical-gi.use-interval is true&lt;br /&gt;
|-&lt;br /&gt;
| protocol.periodical-gi.use-interval&lt;br /&gt;
| false&lt;br /&gt;
| Use interval value for GI instead of offset&lt;br /&gt;
|-&lt;br /&gt;
| xml&lt;br /&gt;
| N/A&lt;br /&gt;
| XML enabled&lt;br /&gt;
|-&lt;br /&gt;
| new-setup&lt;br /&gt;
| N/A&lt;br /&gt;
| Use new setup&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Config file =&lt;br /&gt;
&lt;br /&gt;
The easiest way to add/override configuration options is to modify the /etc/telem-gw.user.conf file&lt;br /&gt;
&lt;br /&gt;
This config file is checked by telem-app by default without any additional command line arguments&lt;br /&gt;
&lt;br /&gt;
== Enable Periodical GI with predefined time interval ==&lt;br /&gt;
&lt;br /&gt;
Add the follown lines to /etc/telem-gw.user.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
protocol.periodical-gi.use-interval=1&lt;br /&gt;
protocol.periodical-gi.offset=00:02:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will indicate to telem-app that it should do a Periodical GI every 2 minutes instead of every hour at 00:05:00.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt; is left out, then the default value of 00:05:00 is used.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;protocol.periodical-gi.use-interval&amp;lt;/code&amp;gt; is not set, then Periodical GI is done every hour at value assigned to &amp;lt;code&amp;gt;protocol.periodical-gi.offset&amp;lt;/code&amp;gt;. E.g. in case of default 00:05:00 Periodical GI will be issued every hour at xx:05:00.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NB! This feature is available in firmware starting from 2017.09.05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Resetting =&lt;br /&gt;
&lt;br /&gt;
Use case: If for example by some invalid logic or fault in telem-app some AI values end up as NaN all the time. And restart or clear buffers does not help.&lt;br /&gt;
&lt;br /&gt;
To fully remove all object info from telem-app in device SSH to the device, switch to root user and do the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ /etc/init.d/S81telem stop&lt;br /&gt;
$ rm -f /var/local/telem/object_backup*&lt;br /&gt;
$ /etc/init.d/S81telem start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that rerunning telem app from command line like that renders upcoming console.log files unreadable for martem user. To alleviate the issue run the following as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chown martem:gws /var/log/telem/console*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kasutaja:MarkTomm|MarkTomm]] 22. september 2017, kell 16:55 (EEST)&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2158</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2158"/>
		<updated>2017-09-27T15:05:02Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* kernel 4 Changelog since 2017 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*2017.08.22&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2157</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2157"/>
		<updated>2017-09-27T15:04:37Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* kernel 4 Changelog since 2017 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
*22.08.2017&lt;br /&gt;
: fix GW DNS service&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2156</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2156"/>
		<updated>2017-09-26T17:54:44Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature [https://phobos.martem.ee/redmine/issues/2841 #2841]&lt;br /&gt;
: Modbus | Fix polling delay [https://phobos.martem.ee/redmine/issues/2839 #2839]&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality [https://phobos.martem.ee/redmine/issues/2833 #2833]&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix [https://phobos.martem.ee/redmine/issues/2814 #2814]&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2155</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2155"/>
		<updated>2017-09-26T17:50:19Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC DO_FN | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature&lt;br /&gt;
: Modbus | Fix polling delay&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC DO_FN | IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC DO_FN | IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2154</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2154"/>
		<updated>2017-09-26T17:48:47Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature&lt;br /&gt;
: Modbus | Fix polling delay&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream &#039;&#039;&#039;Retract 2016.09.19-next-01-c0127ec additions&#039;&#039;&#039;&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted in 2016.10.05-next-06-bb13408&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2153</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2153"/>
		<updated>2017-09-26T17:46:02Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; IEC | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature&lt;br /&gt;
: Modbus | Fix polling delay&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2152</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2152"/>
		<updated>2017-09-26T17:45:44Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* telem-app Changelog since 2013 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.09.26-next-03-c81082e / 2017.09.26-linux_4-05-50ff00d (GWS 2079)&lt;br /&gt;
: IEC &#039;&#039;&#039;HOTFIX&#039;&#039;&#039; | Fix: SCADA did not receive command status responses if DO_FN object configured for IED [https://phobos.martem.ee/redmine/issues/2877 #2871]&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature&lt;br /&gt;
: Modbus | Fix polling delay&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2151</id>
		<title>GwLin Changelog</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=GwLin_Changelog&amp;diff=2151"/>
		<updated>2017-09-26T17:43:34Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: /* Latest Firmware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TELEM-GW6e, TELEM-GWM53 and TELEM-GWM25 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
=== kernel 4: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX25: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-VMX53: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6UL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6DL: 2017.09.26-linux_4-05-50ff00d&lt;br /&gt;
&lt;br /&gt;
Telem-GWM-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e-TX6QP: N/A&lt;br /&gt;
&lt;br /&gt;
=== kernel 2: ===&lt;br /&gt;
&lt;br /&gt;
Telem-GWM25: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GWM53: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
Telem-GW6e: 2017.09.26-next-03-c81082e&lt;br /&gt;
&lt;br /&gt;
== Milestones ==&lt;br /&gt;
* DNP3&lt;br /&gt;
&lt;br /&gt;
== telem-app Changelog since 2013 ==&lt;br /&gt;
* 2017.09.20-next-01-b162ac5 / 2017.09.20-linux_4-02-2436894 (GWS 2079)&lt;br /&gt;
: Modbus | Polling sequence fix (AI was polled less) [https://phobos.martem.ee/redmine/issues/2871 #2871]&lt;br /&gt;
: Modbus | Communication on port stalls if any device has no valid objects [https://phobos.martem.ee/redmine/issues/2873 #2873]&lt;br /&gt;
* 2017.09.13-next-01-800b844 / 2017.09.13-linux_4-feature-integral-expression-01-930dddd (GWS 2079)&lt;br /&gt;
: Modbus | fix AO scaling [https://phobos.martem.ee/redmine/issues/2807 #2807]&lt;br /&gt;
* 2017.09.11-linux_4-01-7ee57df (GWS 2079)&lt;br /&gt;
: Telem Master | support 18 (was 17) CMD address&lt;br /&gt;
: Formula | AI Formula -&amp;gt; AO CMD fix&lt;br /&gt;
* 2017.08.08 (GWS 2079)&lt;br /&gt;
: WebServer | Correctly set persistant pages&lt;br /&gt;
: WebServer | Fix user credentials&lt;br /&gt;
: GWM IO-Board IFR feature&lt;br /&gt;
: Modbus | Fix polling delay&lt;br /&gt;
: WebServer | fix sprintf buffer size&lt;br /&gt;
: Channel | Channel optimisations&lt;br /&gt;
: Core | Fix thread pool manager (TaskIoBase)&lt;br /&gt;
: WebServer | replace deprecated functions&lt;br /&gt;
: IEC | add DST bit functionality&lt;br /&gt;
* 2017.06.09-next-01-353984f (GWS 2079)&lt;br /&gt;
: Reset 2 Clear Buffers fix&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: Logging | Buffered logging&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: SPA-Bus | Timesync: send 3x short ts and 3x long ts&lt;br /&gt;
* 2017.04.03-next-01-557bc40&lt;br /&gt;
: Core | Fix spontaneous events after GI on initial successful lower lever device initialisation ([https://phobos.martem.ee/redmine/issues/2793 #2793])&lt;br /&gt;
: Core | Refix sending reset cmds from TDC&lt;br /&gt;
* 2017.03.21-next-03-b5cc1d0&lt;br /&gt;
: Optimisation (Webserver) | Avoid websocket connection duplicates&lt;br /&gt;
: Optimisation (app close) | make WebSocketAppender thread safe&lt;br /&gt;
: Optimisation (app close) | fix numerous potential places that cause segfault on app close&lt;br /&gt;
: Build | build with latest GNU compilers (v 6).&lt;br /&gt;
: IEC60870 | IEC103 events without timetag fix&lt;br /&gt;
: Formula | fix Formula output controller trying to execute DO CMD until it succeeds.&lt;br /&gt;
: Formula | fix Formula when using another formula object as argument, that is further down the list in GWS ([https://phobos.martem.ee/redmine/issues/2794 #2794])&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: Optimisation | all telem-app optimisations merge&lt;br /&gt;
: IEC60870 | fix control state conatiner in IEC 101 for GWM with IO board&lt;br /&gt;
: Protocol | control state logger improved logs&lt;br /&gt;
* 2016.12.02-next-01-a502dae &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: SPA-Bus | ABB SPAC330C feature&lt;br /&gt;
: IEC61850 | 101 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.23-next-01-0260688 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 103 support multiple DO with same v-addresses (multiple rows with same v-addresses)&lt;br /&gt;
* 2016.11.15-next-02-b43c191 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Localization | Change non-ASCII characters to * in Port and Device commments ([https://phobos.martem.ee/redmine/issues/2751 #2751])&lt;br /&gt;
* 2016.11.15-next-01-5dc3aa7 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC61850 | 104 event loss after disconnect fix ([https://phobos.martem.ee/redmine/issues/2725 #2725])&lt;br /&gt;
* 2016.11.04-next-02-3a9808a &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: Database | Set object flags to Invalid instead of NotTopical on startup&lt;br /&gt;
: SPA-Bus | objects not going not topical on Timeout fix&lt;br /&gt;
: SPA-Bus | potential segfault fix&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: IEC-101,104 | GI Switch per object (requires GWS 6.1.0.2068+)&lt;br /&gt;
: IEC-101,104 | DO can have 2 downstream addresses (like 1/2)&lt;br /&gt;
* 2016.10.05-next-06-bb13408&lt;br /&gt;
: Protocol | Remove event sorting by time when sending to upstream&lt;br /&gt;
: Protocol | upstream events faster&lt;br /&gt;
: IEC-103 | Micom workarounds&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Protocol | time sync interval from XML implementation&lt;br /&gt;
: SPA-Bus | fix event time is it is assumed that event came before last minut change&lt;br /&gt;
: SPA-Bus | request L, then poll once and change device&lt;br /&gt;
: SPA-Bus | delay next device for 50ms after timesync&lt;br /&gt;
* 2016.09.26-next-01-91e178f&lt;br /&gt;
: SPA-Bus | Scaling fix ([https://phobos.martem.ee/redmine/issues/2689 #2689])&lt;br /&gt;
: Logging | raw port log in ASCII&lt;br /&gt;
* 2016.09.23-next-01-00fde37 ([https://phobos.martem.ee/redmine/issues/2721 #2721])&lt;br /&gt;
: SPA-Bus | event can have effect on multiple objects&lt;br /&gt;
* 2016.09.19-next-01-c0127ec ([https://phobos.martem.ee/redmine/issues/2693 #2693])&lt;br /&gt;
: Protocol | Events are sent upstream in order of the lowest timetag &#039;&#039;&#039;Retracted&#039;&#039;&#039;&lt;br /&gt;
* 2016.09.08-next-01-526b387 &lt;br /&gt;
: IEC | fix IEC 101 UB variable length frame bigger than 255 issue&lt;br /&gt;
: Formula | fix double masking in fomrula ???&lt;br /&gt;
* 2016 year device fw and GWS 6.1.0.2064&lt;br /&gt;
: NoMainLog for formula&lt;br /&gt;
* 2016.08.25-next-03-b45984d&lt;br /&gt;
: Modbus | ai_bit DI type&lt;br /&gt;
: Modbus | DO: define ON and OFF address in the same cell&lt;br /&gt;
: improved logging&lt;br /&gt;
: SPA-Bus | poll all&lt;br /&gt;
* 2016.08.23-next-01-d702b81&lt;br /&gt;
: Logging | fine tuned device initialization logging. Old device oriented (GW6, RTA)&lt;br /&gt;
: fix DO Inversion bug ([https://phobos.martem.ee/redmine/issues/2702 #2702])&lt;br /&gt;
* 2016.05.11-next-02-e02304a&lt;br /&gt;
:SPA-Bus | minor fixes for rare nack and timeout cases&lt;br /&gt;
:SPA-Bus | commented out object sorting&lt;br /&gt;
* 2016.05.04-next-01-64e4492&lt;br /&gt;
:SPA-Bus | protocol subtype for ABB ref542&lt;br /&gt;
:SPA-Bus | poll L messages after 5 object poll requests&lt;br /&gt;
:SPA-Bus | mode 1 implementation: poll multiple objects in one request ([https://phobos.martem.ee/redmine/issues/2635 #2635])&lt;br /&gt;
:SPA-Bus | DO: define ON and OFF address in the same cell &lt;br /&gt;
:SPA-Bus | channel number definable for every event number ([https://phobos.martem.ee/redmine/issues/2637 #2637])&lt;br /&gt;
:SPA-Bus | event numbers for Intermediate and Error states&lt;br /&gt;
:SPA-Bus | fallback fixes ([https://phobos.martem.ee/redmine/issues/2658 #2658])&lt;br /&gt;
:SPA-Bus | switch between devices on same port after L message&lt;br /&gt;
:SPA-Bus | define incoming DI object type (Dobule/Single) ([https://phobos.martem.ee/redmine/issues/2654 #2654])&lt;br /&gt;
:SD card licence implementation ([https://phobos.martem.ee/redmine/issues/2592 #2592])&lt;br /&gt;
:remove non ASCII characters from object comment ([https://phobos.martem.ee/redmine/issues/2577 #2577])&lt;br /&gt;
*[22.03.2016]&lt;br /&gt;
:1-wire segfault on bing temp. change fix ([https://phobos.martem.ee/redmine/issues/2640 #2640])&lt;br /&gt;
*[11.03.2016]&lt;br /&gt;
:IEC-104 object type priorities fix. Big amounts of AI data prevented DI events propagation. ([https://phobos.martem.ee/redmine/issues/2625 #2625])&lt;br /&gt;
*[23.02.2016]&lt;br /&gt;
:webserver v2 IE11 not working fix&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:NEW_DATABASE formulas numerous fixes&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
:logging optimizations using fastformat. VMX25 up to 10x faster&lt;br /&gt;
*[16.12.2015]&lt;br /&gt;
:license additions to support no modem GWM ([https://phobos.martem.ee/redmine/issues/2565 #2565])&lt;br /&gt;
*[17.11.2015]&lt;br /&gt;
:longer interval for some tasks&lt;br /&gt;
:SyncDatabaseToFile 2s-&amp;gt;5s&lt;br /&gt;
:ProcessRetranslation 10ms-&amp;gt;500ms&lt;br /&gt;
:explicitly sync db backup to non-volatile memory only on reset/low-power.&lt;br /&gt;
*[06.11.2015]&lt;br /&gt;
:IEC-101/104 QOC (Qualifier of command) implementation ([https://phobos.martem.ee/redmine/issues/2495 #2495])&lt;br /&gt;
*[05.11.2015]&lt;br /&gt;
:AI scaling rewrite &#039;&#039;&#039;(COMPATIBILITY BREAK)&#039;&#039;&#039;&lt;br /&gt;
:virtual I/O object pair crash app if invalid address fix ([https://phobos.martem.ee/redmine/issues/2572 #2572])&lt;br /&gt;
*[30.10.2015]&lt;br /&gt;
:web-server v2 shows device eth info ([https://phobos.martem.ee/redmine/issues/2532 #2532])&lt;br /&gt;
*[16.10.2015]&lt;br /&gt;
:fix SPA-Bus polling delay ([https://phobos.martem.ee/redmine/issues/2546 #2546])&lt;br /&gt;
*[14.10.2015]&lt;br /&gt;
:IEC101/104 type 105 C_RP_NA_1 (reset process) implementation ([https://phobos.martem.ee/redmine/issues/2498 #2498])&lt;br /&gt;
:IEC101/104 GI command via DO implementation ([https://phobos.martem.ee/redmine/issues/2499 #2499])&lt;br /&gt;
*[13.10.2015]&lt;br /&gt;
:zero value deadband implementation ([https://phobos.martem.ee/redmine/issues/2536 #2536])&lt;br /&gt;
*[24.09.2015]&lt;br /&gt;
:DO/AO stops IEC-101 messages fix for devices using old database ([https://phobos.martem.ee/redmine/issues/2527 #2527])&lt;br /&gt;
:allow bigger conf size for NEW_DATABASE devices&lt;br /&gt;
:SETUP_WITH_XML_BIN_SIZE 500KB-&amp;gt;1.5MB&lt;br /&gt;
:EXTRACTED_XML_SETUP_SIZE 6MB-&amp;gt;20MB&lt;br /&gt;
*[07.09.2015]&lt;br /&gt;
:GWM IO-board + 101-104 conversion not working fix ([https://phobos.martem.ee/redmine/issues/2520 #2520])&lt;br /&gt;
*[25.08.2015]&lt;br /&gt;
:IEC-61850 mem-leak/consumption fixes&lt;br /&gt;
:remove BIT_INVALID_TIME from BIT_VALUE_CHANGED_MASK&lt;br /&gt;
*[22.08.2015]&lt;br /&gt;
:devie booting time nnX times faster ([https://phobos.martem.ee/redmine/issues/2472 #2472])&lt;br /&gt;
&lt;br /&gt;
== kernel 4 Changelog since 2017 ==&lt;br /&gt;
&lt;br /&gt;
== kernel 2 Changelog since 2013 ==&lt;br /&gt;
* 2017.07.12&lt;br /&gt;
: log4cxx | patch for socket appender&lt;br /&gt;
: pack_logs | pack modem history log&lt;br /&gt;
: init | fix spamming logs (S48, S61m S99)&lt;br /&gt;
: fw_update | fix errors on fw update (S12usb)&lt;br /&gt;
: init | fix spamming logs on stop (S37)&lt;br /&gt;
: modem | fix handling huawei modems&lt;br /&gt;
: WebServer | Restore syslog options&lt;br /&gt;
* 2017.04.17-next-08-af772c0&lt;br /&gt;
: update | Additional checks in post-update scripts for GWM rev.1 FTDI IO Board&lt;br /&gt;
* 2017.04.05-next-07-65a2e5a&lt;br /&gt;
: pack_logs now packs all existing console logs and eeprom log if exists&lt;br /&gt;
* 2017.04.03-next-03-49423a0&lt;br /&gt;
: fix enabling peripheral power on startup with usbs suspended (fixes old GWM53 FTDI IO Board)&lt;br /&gt;
* 2017.01.31-next-01-3eefdf3&lt;br /&gt;
: remove cifs support from vmx25 kernel. No more space left on device.&lt;br /&gt;
* 2016.11.04-next-01-51a8c40 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: IEC-101,104 | DO invert fix sending ACK with inverted address&lt;br /&gt;
: init | S99phy fix toggling LAN power and wait longer&lt;br /&gt;
: init | fix starting modem then date is in the start of epoch (1970)&lt;br /&gt;
: init | Script fixes for fresh device with linux default time&lt;br /&gt;
* 2016.10.19-next-09-3e89e79 &#039;&#039;&#039;Don&#039;t use on VMX25&#039;&#039;&#039; &#039;&#039;&#039;Don&#039;t use on GWM with DO&#039;&#039;&#039;&lt;br /&gt;
: CIFS support in kernel for network mounts &#039;&#039;&#039;!! This change bricks VMX25. Removed from VMX25 after 30.01.2017&#039;&#039;&#039;&lt;br /&gt;
* 2016.10.08-next-01-c91481f&lt;br /&gt;
: init | optimizations for FTDI eeprom software&lt;br /&gt;
: init | getwdbootmsg fixes&lt;br /&gt;
: init | major refactoring. Performance &amp;amp; readability fixes&lt;br /&gt;
* 2016.10.03-next-02-1cb7e5f&lt;br /&gt;
: Syslog | Add possibility to change loglevel and remote server port&lt;br /&gt;
: ntp | do not restart ntp if only gps is configured (2711)&lt;br /&gt;
: ntp | avoid frequent ntp restarts by other scripts&lt;br /&gt;
: modem | avoid frequent modem restart by multiple scripts (only 1 restart allowed per one minute).&lt;br /&gt;
: modem | rewrite telit modem reseting as described in telit manual&lt;br /&gt;
: init | fix socat sometimes creating /dev/tty* as ordinary file instead of letting modem driver to do it.&lt;br /&gt;
: init | performance fixes&lt;br /&gt;
* 2016.07.28-next-06-3d426af&lt;br /&gt;
:Device CPU frequency lowered from 1.2GHz to 1.0GHz | Improved ssh key generation and license cheking&lt;br /&gt;
*[11.02.2016]&lt;br /&gt;
:physical interface checker script implementation&lt;br /&gt;
*[10.02.2016]&lt;br /&gt;
:ADDED LIB TO PROJECT: fastformat&lt;br /&gt;
*[26.01.2016]&lt;br /&gt;
:GWS &#039;Get logs&#039; acquires n+1 more rotating logs&lt;br /&gt;
*[23.07.2015]&lt;br /&gt;
:ADDED LIB TO PROJECT: boost_chrono to source.pro (websocketpp 0.6.0 depends)&lt;br /&gt;
*[08.06.2015]&lt;br /&gt;
:application segmentation fault fix (2429)&lt;br /&gt;
*[27.04.2015]&lt;br /&gt;
:DI fallback bug fix (2312)&lt;br /&gt;
*[23.04.2015]&lt;br /&gt;
:DI object double inversion bug fix (2345)&lt;br /&gt;
*[21.04.2015]&lt;br /&gt;
:no flags not working fix (2194)&lt;br /&gt;
*[24.03.2015]&lt;br /&gt;
:Periodical GI implementation for all protocols (every 5th minute of hour)&lt;br /&gt;
*[16.03.2015]&lt;br /&gt;
:Telem Master protocol implementation&lt;br /&gt;
*[29.01.2015]&lt;br /&gt;
:IEC-10x ASDU transfer implementation&lt;br /&gt;
*[30.10.2014]&lt;br /&gt;
:IEC-101B serial communication improvements&lt;br /&gt;
*[23.10.2014]&lt;br /&gt;
:No main/CSV log for individual objects&lt;br /&gt;
*2014.01.13-next-01-2a5df30&lt;br /&gt;
:added uINT16 (unsigned 16bit integer) in modbus protocol. (also update gws)&lt;br /&gt;
*2014.01.09-next-01-2fae2d9&lt;br /&gt;
:fix IEC104 bug in GW6&lt;br /&gt;
*2014.01.07-next-01-8180155&lt;br /&gt;
:fix fallback (GW6e and GWM), &amp;quot;NONE&amp;quot; protocol, device &amp;quot;in use&amp;quot;=no, FP-to-normalised conversion, deadband issues, IEC104 bug in GW6e. (also update gws)&lt;br /&gt;
*2013.11.18-next-04&lt;br /&gt;
:fix IEC-104 bug (mark data as NT if connection to IEC-104 slave is lost and parameter &amp;quot;failed query count for disabling contr.&amp;quot; &amp;gt; 1)&lt;br /&gt;
*2013.11.12-next01&lt;br /&gt;
:fix AO feedback bug in GW6 and RTA-A&lt;br /&gt;
*2013.11.04-next    &lt;br /&gt;
:time invalid flag for GW6 and RTA-A (also requires DSP/RTC software update!)&lt;br /&gt;
*2013.10.24-next    &lt;br /&gt;
:IEC101-to-IEC104 short time to long time conversion&lt;br /&gt;
*2013.09.16-next07  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101b&lt;br /&gt;
*2013.09.09-next01  &lt;br /&gt;
:configurable COT=2 Bytes for IEC101ub&lt;br /&gt;
*2013.07.12-next02  &lt;br /&gt;
:write modem status to /var/log/modem.st&lt;br /&gt;
&lt;br /&gt;
= Old Devices RTA-A and GW6 =&lt;br /&gt;
&lt;br /&gt;
== Latest Firmware ==&lt;br /&gt;
&lt;br /&gt;
Last fw version GW6: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M502: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
Last fw version RTA-A M501: 2015.12.11-develop-01-104a492&lt;br /&gt;
&lt;br /&gt;
==GW6-1206 ==&lt;br /&gt;
* Timezones for ports and system.&lt;br /&gt;
===Userland ===&lt;br /&gt;
* dnsmasq&lt;br /&gt;
* iperf&lt;br /&gt;
===Kernel ===&lt;br /&gt;
* iptables: Support for -m limit. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/sbin/iptables -t filter -A INPUT -p tcp --dport 2404 --sport 1024:65535 -m state --state NEW -m limit --limit 25/minute --limit-burst 100 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* tc: Basic support.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/tc qdisc del dev eth0 root    2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
/sbin/tc qdisc del dev eth0 ingress 2&amp;gt; /dev/null &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 handle ffff: ingress&lt;br /&gt;
/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 512kbit burst 1m drop flowid :1&lt;br /&gt;
&lt;br /&gt;
/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 20mbit &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 1 bounded isolated &lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 2 bounded isolated&lt;br /&gt;
/sbin/tc class add dev eth0 parent 1: classid 1:3 cbq rate 512kbit allot 1500 prio 3 bounded isolated&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip protocol 1 0xff flowid 1:1&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:2&lt;br /&gt;
/sbin/tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GW6-1204 ==&lt;br /&gt;
* IEC104: Respond to message sent to broadcast ASDU (0xFFFF)&lt;br /&gt;
* IEC-62056: mask incoming data with 0x7F (ASCII protocol)&lt;br /&gt;
* Serial ports: Suppress echo&lt;br /&gt;
* WebPage: Long awaited by all interenet browsers the favicon.ico&lt;br /&gt;
&lt;br /&gt;
==GW6-1202 ==&lt;br /&gt;
* IEC104: Fix possible event loss on ethernet cable removal.&lt;br /&gt;
* Formula: Do not generate control event, on first successful calculation.&lt;br /&gt;
==GW6-1200 ==&lt;br /&gt;
*Firmware version readable through internal &#039;&#039;&#039;WebServer&#039;&#039;&#039;&lt;br /&gt;
*Fix possible event loss when lots of changes arrive for one input.&lt;br /&gt;
*GPRS-modem protocol: if connection to internet is lost, all &#039;&#039;&#039;TCP client connections&#039;&#039;&#039; are closed&lt;br /&gt;
*IEC104: force &#039;&#039;&#039;long-time format&#039;&#039;&#039;&lt;br /&gt;
==GW6-1198==&lt;br /&gt;
*IEC101/103 Unbalanced Master: add feature &#039;&#039;polling delay&#039;&#039;&lt;br /&gt;
*When sending a &#039;&#039;&#039;control operation&#039;&#039;&#039; over IEC103 channel with many devices. Speed up receiving of control response.&lt;br /&gt;
==GW6-1196==&lt;br /&gt;
*Connection loss with RTC-board does not result in watchdog reset.&lt;br /&gt;
**Symptoms: device will reset after 20 seconds of running.&lt;br /&gt;
*Device will write &#039;&#039;&#039;system boot count&#039;&#039;&#039; and &#039;&#039;&#039;application start count&#039;&#039;&#039; to &#039;&#039;console.log&#039;&#039;. Latest values can be found in &#039;&#039;&#039;/var/local/telem/stats&#039;&#039;&#039;&lt;br /&gt;
==RTA-A-1192==&lt;br /&gt;
* RTA-A: possible to define &#039;&#039;&#039;DO object&#039;&#039;&#039; to &#039;&#039;&#039;clear annunciator LED&#039;&#039;&#039; &#039;s&lt;br /&gt;
* Modbus Master: Fix receiving of negative 16bit normalized values.&lt;br /&gt;
==GW6-1190==&lt;br /&gt;
* Added new update pack type &#039;&#039;&#039;app-only&#039;&#039;&#039;.&lt;br /&gt;
** Note: This update pack type should only be used on device with SW version 1190 or later.&lt;br /&gt;
** This update will not overwrite system files - less chance for bricking if something goes wrong (accidental power loss or reset).&lt;br /&gt;
* Generate &#039;&#039;&#039;/etc/network/interfaces&#039;&#039;&#039; file once after receiving &#039;&#039;new setup&#039;&#039;.&lt;br /&gt;
* New protocol type &#039;&#039;&#039;IEC ^ Setup&#039;&#039;&#039;&lt;br /&gt;
** Only reading and writing of device setup is allowed on this Port.&lt;br /&gt;
** Allows faster booting of device with a lot of unused Up-channel ports.&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Esileht&amp;diff=2150</id>
		<title>Esileht</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Esileht&amp;diff=2150"/>
		<updated>2017-09-26T17:01:05Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://phobos.martem.ee/wiki/GwLin_Changelog Telem-app changelog]&lt;br /&gt;
&lt;br /&gt;
Olge head, tehke endale kasutaja ja hakake tarkust lisama!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lisage palun oma kontaktandmed [[kontakt | siia]], aitäh.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Juhiste saamiseks kasutamise kohta vaata palun inglisekeelset [http://meta.wikimedia.org/wiki/Help:Editing kasutusjuhendit].&lt;br /&gt;
&lt;br /&gt;
*Tooted&lt;br /&gt;
**[[TELEM-GW6e]]&lt;br /&gt;
**[[TELEM-GWM]]&lt;br /&gt;
**[[TELEM-GPRS]]&lt;br /&gt;
**Legacy&lt;br /&gt;
***[[Telem-RTA]]&lt;br /&gt;
***[[Telem-RTA-A]]&lt;br /&gt;
***[[Telem-RTA-XA]]&lt;br /&gt;
***[[TELEM-GW5]]&lt;br /&gt;
***[[TELEM-GW6]]&lt;br /&gt;
**[[Seadmete võimsustarve]]&lt;br /&gt;
**I/O moodulid&lt;br /&gt;
***[[Telem-AI12G]]&lt;br /&gt;
***[[Telem-AI12-T]]&lt;br /&gt;
***[[Telem-DI20G]]&lt;br /&gt;
***[[Telem-DI24-T]]&lt;br /&gt;
***[[Telem-DO8G]]&lt;br /&gt;
***[[Telem-DO5-T]]&lt;br /&gt;
*Tarkvara&lt;br /&gt;
**[[RTU-T programmi laadimine]]&lt;br /&gt;
**[[GW6-RTC programmi laadimine]]&lt;br /&gt;
**[[GPRS modemi programmi ja konfiguratsiooni laadimine]]&lt;br /&gt;
**[[GWS ja BDE installeerimine]]&lt;br /&gt;
**[[GW6Lin software upgrade]]&lt;br /&gt;
**[[Howto Manage More Than One Device]]&lt;br /&gt;
**[[Telem-2000_TDC_IEC|Telem-2000 TDC &amp;amp; IEC]]&lt;br /&gt;
**[[Telem-app configuration]]&lt;br /&gt;
**[[RTU client server communication]]&lt;br /&gt;
**Networking&lt;br /&gt;
***[[VPN(Virtual Private Networking)]]&lt;br /&gt;
*SCADA&lt;br /&gt;
**[http://phobos.martem.ee/shr/SCADA/ Super Real Telem-SCADA Demo] &lt;br /&gt;
**[[Graafik reaalajas]]&lt;br /&gt;
**[http://www.martem.ee/ylo Schema-System]&lt;br /&gt;
**[http://www.martem.ee/Telem_Demo/schemas/Map.html  Old Flash-demo] &lt;br /&gt;
*Testimine&lt;br /&gt;
**[https://phobos.martem.ee/redmine Vigade jälitus ]  &amp;lt;small&amp;gt;&#039;&#039;[[Importing issues to redmine]]&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
**[[Kaablid]]&lt;br /&gt;
**[[I/O moodulid]]&lt;br /&gt;
**[[4x-FO-3]]&lt;br /&gt;
**[[TELEM F011]]&lt;br /&gt;
**[[TELEM GW5]]&lt;br /&gt;
**[[TELEM-GW6_testing_manual | TELEM-GW6]]&lt;br /&gt;
**[[TELEM RTA]]&lt;br /&gt;
**[[TELEM GPS]]&lt;br /&gt;
**[[Ajasünkronisatsioon]]&lt;br /&gt;
**[[Seadmete tarkvara testimine]]&lt;br /&gt;
**[[Log-conf.xml TRACE]]&lt;br /&gt;
*[[Failide süstematiseerimine]]&lt;br /&gt;
*Firmast&lt;br /&gt;
**[[kontakt | Kontaktandmed]]&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=RTU_client_server_communication&amp;diff=2149</id>
		<title>RTU client server communication</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=RTU_client_server_communication&amp;diff=2149"/>
		<updated>2017-09-26T13:25:19Z</updated>

		<summary type="html">&lt;p&gt;MarkTomm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kasutaja:MarkTomm|MarkTomm]] 25. september 2017, kell 16:05 (EEST)&lt;br /&gt;
&lt;br /&gt;
= Connections =&lt;br /&gt;
&lt;br /&gt;
The IEC 104 TCP was documented on 25.09.2017 when there was an issue with connection. GWM iec 104 server closed the connection every ~20 seconds because it was 101-to-104 with GWMIO and GWMIO was disconnected.&lt;br /&gt;
&lt;br /&gt;
== IEC 104 TCP ==&lt;br /&gt;
&lt;br /&gt;
=== Client log when server disconnects ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
2017-09-25 15:48:44.975 [INFO] Gateway.Port16.port - Close connection, connection reset by peer&lt;br /&gt;
2017-09-25 15:48:44.977 [DEBUG] Gateway.Port16.link - CommunicationBad&lt;br /&gt;
2017-09-25 15:48:44.977 [ERROR] Gateway.Port16.port - Request disconnect, no connection&lt;br /&gt;
2017-09-25 15:48:44.977 [ERROR] Gateway.Port16 - Timeout, suppressing following timeout messages!&lt;br /&gt;
2017-09-25 15:48:44.997 [DEBUG] Gateway.Port16 - StatusDi: no connection&lt;br /&gt;
2017-09-25 15:48:45.000 [ERROR] Gateway.Port16 - Remove from polling&lt;br /&gt;
2017-09-25 15:48:45.000 [INFO] Gateway.Port16 - Reset communication&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Client log when it connects ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
2017-09-25 15:48:45.980 [INFO] Gateway.Port16.port - Connecting to 10.0.0.173:2404&lt;br /&gt;
2017-09-25 15:48:45.982 [INFO] Gateway.Port16.port - Connected to 10.0.0.173:2404&lt;br /&gt;
2017-09-25 15:48:45.982 [TRACE] Gateway.Port16.port - Clear communication buffers&lt;br /&gt;
2017-09-25 15:48:45.982 [DEBUG] Gateway.Port16 - Port open!&lt;br /&gt;
2017-09-25 15:48:45.982 [DEBUG] Gateway.Port16 - Retry/Establish communication&lt;br /&gt;
2017-09-25 15:48:45.983 [INFO] Gateway.Port16 - Enable polling&lt;br /&gt;
2017-09-25 15:48:45.983 [INFO] Gateway.Port16 - Reset communication done&lt;br /&gt;
2017-09-25 15:48:45.983 [TRACE] Gateway.Port16.port.link - Port connected&lt;br /&gt;
2017-09-25 15:48:46.003 [DEBUG] Gateway.Port16.port.write.link - UFormat: STARTDT_ACT&lt;br /&gt;
2017-09-25 15:48:46.009 [TRACE] Gateway.Port16.port.write -  68 04 07 00 00 00&lt;br /&gt;
2017-09-25 15:48:46.011 [TRACE] Gateway.Port16.port.read -  68 04 0B 00 00 00&lt;br /&gt;
2017-09-25 15:48:46.012 [DEBUG] Gateway.Port16.port.read.link - UFormat: STARTDT_CON&lt;br /&gt;
2017-09-25 15:48:46.012 [DEBUG] Gateway.Port16.link - CommunicationOk&lt;br /&gt;
2017-09-25 15:48:46.012 [TRACE] Gateway.Port16 - Status DI needs updating!&lt;br /&gt;
2017-09-25 15:48:46.012 [DEBUG] Gateway.Port16 - StatusDi: connected&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Server log when it disconnects ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
2017-09-01 15:56:48.669 [DEBUG] Gateway.104port.link - CommunicationBad&lt;br /&gt;
2017-09-01 15:56:48.669 [ERROR] Gateway.104port.port - Request disconnect, subdevice removed from polling&lt;br /&gt;
2017-09-01 15:56:48.670 [INFO] Gateway.104port.port - Close connection, Force disconnect&lt;br /&gt;
2017-09-01 15:56:48.670 [ERROR] Gateway.104port - Timeout, suppressing following timeout messages!&lt;br /&gt;
2017-09-01 15:56:49.001 [DEBUG] Gateway.104port.db - Time cn (11) event: 57409 time: 2017-Sep-01 15:56:49.000063, buffered&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Server log when client connects after reset ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
2017-09-01 16:09:40.069 [TRACE] Gateway.104port.port - Clear communication buffers&lt;br /&gt;
2017-09-01 16:09:40.070 [INFO] Gateway.104port.port - Incoming connection from 10.0.0.231 established.&lt;br /&gt;
2017-09-01 16:09:40.070 [TRACE] Gateway.104port.port.link - Port connected&lt;br /&gt;
2017-09-01 16:09:40.070 [DEBUG] Gateway.104port - Port open!&lt;br /&gt;
2017-09-01 16:09:40.070 [DEBUG] Gateway.104port - Retry/Establish communication&lt;br /&gt;
2017-09-01 16:09:40.070 [INFO] Gateway.104port - Enable polling&lt;br /&gt;
2017-09-01 16:09:40.070 [INFO] Gateway.104port - Reset communication&lt;br /&gt;
2017-09-01 16:09:40.071 [INFO] Gateway.104port - Reset communication done&lt;br /&gt;
2017-09-01 16:09:40.097 [TRACE] Gateway.104port.port.read -  68 04 07 00 00 00&lt;br /&gt;
2017-09-01 16:09:40.097 [DEBUG] Gateway.104port.port.read.link - UFormat: STARTDT_ACT&lt;br /&gt;
2017-09-01 16:09:40.098 [TRACE] Gateway.104port.link - Received U format message with &amp;quot;Start Data Transfer Activation&amp;quot; from master. Reissue &amp;quot;Port connected&amp;quot; to port buffer. This will clear buffers counters and timers.&lt;br /&gt;
2017-09-01 16:09:40.098 [TRACE] Gateway.104port.port.link - Port connected&lt;br /&gt;
2017-09-01 16:09:40.098 [DEBUG] Gateway.104port.port.write.link - UFormat: STARTDT_CON&lt;br /&gt;
2017-09-01 16:09:40.098 [DEBUG] Gateway.104port.link - CommunicationOk&lt;br /&gt;
2017-09-01 16:09:40.098 [DEBUG] Gateway.104port - StatusDi: connected&lt;br /&gt;
2017-09-01 16:09:40.098 [INFO] Gateway.104port - Connected&lt;br /&gt;
2017-09-01 16:09:40.098 [INFO] Gateway.104port - Refresh all values&lt;br /&gt;
2017-09-01 16:11:46.093 [TRACE] Gateway.104port.port.write -  68 04 0B 00 00 00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Server log when client reconnects after sudden disconnect ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
2017-09-01 15:56:49.675 [TRACE] Gateway.104port.port - Clear communication buffers&lt;br /&gt;
2017-09-01 15:56:49.676 [DEBUG] Gateway.104port - Port open!&lt;br /&gt;
2017-09-01 15:56:49.676 [DEBUG] Gateway.104port - Retry/Establish communication&lt;br /&gt;
2017-09-01 15:56:49.676 [INFO] Gateway.104port - Enable polling&lt;br /&gt;
2017-09-01 15:56:49.676 [INFO] Gateway.104port - Reset communication&lt;br /&gt;
2017-09-01 15:56:49.676 [INFO] Gateway.104port - Reset communication done&lt;br /&gt;
2017-09-01 15:56:49.676 [TRACE] Gateway.104port.port.link - Port connected&lt;br /&gt;
2017-09-01 15:56:49.677 [INFO] Gateway.104port.port - Incoming connection from 10.0.0.231 established.&lt;br /&gt;
2017-09-01 15:56:49.703 [TRACE] Gateway.104port.port.read -  68 04 07 00 00 00&lt;br /&gt;
2017-09-01 15:56:49.703 [DEBUG] Gateway.104port.port.read.link - UFormat: STARTDT_ACT&lt;br /&gt;
2017-09-01 15:56:49.703 [TRACE] Gateway.104port.link - Received U format message with &amp;quot;Start Data Transfer Activation&amp;quot; from master. Reissue &amp;quot;Port connected&amp;quot; to port buffer. This will clear buffers counters and timers.&lt;br /&gt;
2017-09-01 15:56:49.703 [TRACE] Gateway.104port.port.link - Port connected&lt;br /&gt;
2017-09-01 15:56:49.703 [DEBUG] Gateway.104port.port.write.link - UFormat: STARTDT_CON&lt;br /&gt;
2017-09-01 15:56:49.703 [DEBUG] Gateway.104port.link - CommunicationOk&lt;br /&gt;
2017-09-01 15:56:49.704 [DEBUG] Gateway.104port - StatusDi: connected&lt;br /&gt;
2017-09-01 15:56:49.704 [TRACE] Gateway.104port.port.write -  68 04 0B 00 00 00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Commands =&lt;br /&gt;
&lt;br /&gt;
== IEC 101UB Serial ==&lt;br /&gt;
&lt;br /&gt;
=== IEC 101UB Serial SCADA CMD (Select &amp;amp; Execute) to IEC 101UB IED ===&lt;br /&gt;
&lt;br /&gt;
Port6 -  IEC 101UB Scada&lt;br /&gt;
&lt;br /&gt;
DO5T - IED which recv cmd&lt;br /&gt;
&lt;br /&gt;
DI24T - other IED not used in this example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
2017-09-26 16:15:28.120 [TRACE] telem-gw6e.Port6.port.read -  68 0A 0A 68 73 01 2D&lt;br /&gt;
2017-09-26 16:15:28.136 [TRACE] telem-gw6e.Port6.port.read -  01 06 01 00 C9 00 81 F3 16&lt;br /&gt;
2017-09-26 16:15:28.137 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] RecvVarLenFrame CTRL_FCV(16) CTRL_FCB(32) CTRL_FN(3) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:28.137 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] SendFixLenFrame CTRL_ACD(0) CTRL_FN(0) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:28.137 [INFO] telem-gw6e.Port6.db - DO1 (201) control: 2 flags: Select Command Activation  time: 2017-Sep-26 16:15:28.137173, recv&lt;br /&gt;
2017-09-26 16:15:28.137 [DEBUG] Gateway.Filter.Update - [DO_5_1_1_filter] DO_1_1_value = 2 flags: Select Activation Select Command Activation  time: 2017-Sep-26 13:15:28.137173&lt;br /&gt;
2017-09-26 16:15:28.137 [TRACE] Gateway.Filter.AddToBuffer - [DO_5_1_1_filter] DO_1_1_buf &amp;lt;&amp;lt; 2 flags: Select Activation Confirmation Select Command Activation  time: 2017-Sep-26 13:15:28.137173&lt;br /&gt;
2017-09-26 16:15:28.137 [DEBUG] telem-gw6e.Port5.DO5T.db - DO1 (1) event: 2 flags: Select Command Activation  time: 2017-Sep-26 16:15:28.137173, buffered&lt;br /&gt;
2017-09-26 16:15:28.241 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] SendFixedFrame CTRL_FCV(1) CTRL_FCB(0) CTRL_FN(CTRL_REQUEST_CLASS_2 - 11) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:28.241 [TRACE] telem-gw6e.Port5.port.write -  10 5B 01 5C 16&lt;br /&gt;
2017-09-26 16:15:28.258 [TRACE] telem-gw6e.Port5.port.read -  10 09 01&lt;br /&gt;
2017-09-26 16:15:28.274 [TRACE] telem-gw6e.Port5.port.read -  0A 16&lt;br /&gt;
2017-09-26 16:15:28.274 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] RecvFixLenFrame. CTRL_ACD(0) CTRL_FN(CTRL_NO_DATA - 9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:28.274 [INFO] telem-gw6e.Port5.DO5T.db - DO1 (1) control: 2 flags: Select Command Activation  time: 2017-Sep-26 16:15:28.137173, sent&lt;br /&gt;
2017-09-26 16:15:28.274 [TRACE] IEC.setEvent - [Core -&amp;gt; Prot] (Input Events) add event EVENTCODE_DIGITAL_OUTPUT_COMMAND&lt;br /&gt;
2017-09-26 16:15:28.437 [TRACE] telem-gw6e.Port6.port.write -  10 00 01 01 16&lt;br /&gt;
2017-09-26 16:15:28.568 [TRACE] telem-gw6e.Port6.port.read -  10 5B 01 5C&lt;br /&gt;
2017-09-26 16:15:28.575 [TRACE] telem-gw6e.Port5.ControlStateLogger - register obj_id: 0 arg: 1&lt;br /&gt;
2017-09-26 16:15:28.575 [TRACE] telem-gw6e.Port5.ControlStateLogger - SELECT 1&lt;br /&gt;
2017-09-26 16:15:28.576 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] SendVarLenFrame CTRL_FCV(1) CTRL_FCB(1) CTRL_FN(CTRL_USER_DATA - 3) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:28.576 [TRACE] telem-gw6e.Port5.port.write -  68 0A 0A 68 73 03 2E 01 06 03 00 01 00 82 31 16&lt;br /&gt;
2017-09-26 16:15:28.584 [TRACE] telem-gw6e.Port6.port.read -  16&lt;br /&gt;
2017-09-26 16:15:28.584 [TRACE] telem-gw6e.Port6 - [IEC60870 101 UB Data] class 2 data available: no&lt;br /&gt;
2017-09-26 16:15:28.584 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] SendFixLenFrame CTRL_ACD(0) CTRL_FN(9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:28.610 [TRACE] telem-gw6e.Port5.port.read -  10 20 03 23 16&lt;br /&gt;
2017-09-26 16:15:28.610 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] RecvFixLenFrame. CTRL_ACD(1) CTRL_FN(CTRL_ACK - 0) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:28.884 [TRACE] telem-gw6e.Port6.port.write -  10 09 01 0A 16&lt;br /&gt;
2017-09-26 16:15:28.912 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] SendFixedFrame CTRL_FCV(1) CTRL_FCB(1) CTRL_FN(CTRL_REQUEST_CLASS_2 - 11) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:28.912 [TRACE] telem-gw6e.Port5.port.write -  10 7B 01 7C 16&lt;br /&gt;
2017-09-26 16:15:28.930 [TRACE] telem-gw6e.Port5.port.read -  10 09 01 0A&lt;br /&gt;
2017-09-26 16:15:28.946 [TRACE] telem-gw6e.Port5.port.read -  16&lt;br /&gt;
2017-09-26 16:15:28.946 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] RecvFixLenFrame. CTRL_ACD(0) CTRL_FN(CTRL_NO_DATA - 9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.016 [TRACE] telem-gw6e.Port6.port.read -  68&lt;br /&gt;
2017-09-26 16:15:29.032 [TRACE] telem-gw6e.Port6.port.read -  0A 0A 68 73 01 2D 01 06 01 00 C9 00 01 73 16&lt;br /&gt;
2017-09-26 16:15:29.032 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] RecvVarLenFrame CTRL_FCV(16) CTRL_FCB(32) CTRL_FN(3) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.032 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] SendFixLenFrame CTRL_ACD(0) CTRL_FN(0) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.032 [INFO] telem-gw6e.Port6.db - DO1 (201) control: 2 flags: Activation  time: 2017-Sep-26 16:15:29.032667, recv&lt;br /&gt;
2017-09-26 16:15:29.032 [DEBUG] Gateway.Filter.Update - [DO_5_1_1_filter] DO_1_1_value = 2 flags: Execute Activation Activation  time: 2017-Sep-26 13:15:29.032667&lt;br /&gt;
2017-09-26 16:15:29.032 [TRACE] Gateway.Filter.AddToBuffer - [DO_5_1_1_filter] DO_1_1_buf &amp;lt;&amp;lt; 2 flags: Execute Activation Confirmation Activation  time: 2017-Sep-26 13:15:29.032667&lt;br /&gt;
2017-09-26 16:15:29.032 [DEBUG] telem-gw6e.Port5.DO5T.db - DO1 (1) event: 2 flags: Activation  time: 2017-Sep-26 16:15:29.032667, buffered&lt;br /&gt;
2017-09-26 16:15:29.248 [INFO] telem-gw6e.Port5.DO5T.db - DO1 (1) control: 2 flags: Activation  time: 2017-Sep-26 16:15:29.032667, sent&lt;br /&gt;
2017-09-26 16:15:29.248 [TRACE] IEC.setEvent - [Core -&amp;gt; Prot] (Input Events) add event EVENTCODE_DIGITAL_OUTPUT_COMMAND&lt;br /&gt;
2017-09-26 16:15:29.250 [TRACE] telem-gw6e.Port5.ControlStateLogger - register obj_id: 0 arg: 1&lt;br /&gt;
2017-09-26 16:15:29.250 [TRACE] telem-gw6e.Port5.ControlStateLogger - ACTIVATION 1&lt;br /&gt;
2017-09-26 16:15:29.250 [TRACE] telem-gw6e.Port5.ControlStateLogger - register obj_id: 0 arg: 1&lt;br /&gt;
2017-09-26 16:15:29.250 [TRACE] telem-gw6e.Port5.ControlStateLogger - RESPONSE 1&lt;br /&gt;
2017-09-26 16:15:29.250 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] SendVarLenFrame CTRL_FCV(1) CTRL_FCB(0) CTRL_FN(CTRL_USER_DATA - 3) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.250 [TRACE] telem-gw6e.Port5.port.write -  68 0A 0A 68 53 03 2E 01 06 03 00 01 00 02 91 16&lt;br /&gt;
2017-09-26 16:15:29.281 [TRACE] telem-gw6e.Port5.port.read -  10 20 03 23 16&lt;br /&gt;
2017-09-26 16:15:29.281 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] RecvFixLenFrame. CTRL_ACD(1) CTRL_FN(CTRL_ACK - 0) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.332 [TRACE] telem-gw6e.Port6.port.write -  10 00 01 01 16&lt;br /&gt;
2017-09-26 16:15:29.448 [TRACE] telem-gw6e.Port6.port.read -  10 5B 01 5C 16&lt;br /&gt;
2017-09-26 16:15:29.448 [TRACE] telem-gw6e.Port6 - [IEC60870 101 UB Data] class 2 data available: no&lt;br /&gt;
2017-09-26 16:15:29.448 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] SendFixLenFrame CTRL_ACD(0) CTRL_FN(9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.584 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] SendFixedFrame CTRL_FCV(1) CTRL_FCB(0) CTRL_FN(CTRL_REQUEST_CLASS_2 - 11) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.584 [TRACE] telem-gw6e.Port5.port.write -  10 5B 01 5C 16&lt;br /&gt;
2017-09-26 16:15:29.602 [TRACE] telem-gw6e.Port5.port.read -  10 09 01 0A&lt;br /&gt;
2017-09-26 16:15:29.618 [TRACE] telem-gw6e.Port5.port.read -  16&lt;br /&gt;
2017-09-26 16:15:29.618 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] RecvFixLenFrame. CTRL_ACD(0) CTRL_FN(CTRL_NO_DATA - 9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.748 [TRACE] telem-gw6e.Port6.port.write -  10 09 01 0A 16&lt;br /&gt;
2017-09-26 16:15:29.863 [TRACE] telem-gw6e.Port6.port.read -  10 7B 01 7C 16&lt;br /&gt;
2017-09-26 16:15:29.863 [TRACE] telem-gw6e.Port6 - [IEC60870 101 UB Data] class 2 data available: no&lt;br /&gt;
2017-09-26 16:15:29.863 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] SendFixLenFrame CTRL_ACD(0) CTRL_FN(9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.922 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] SendFixedFrame CTRL_FCV(1) CTRL_FCB(1) CTRL_FN(CTRL_REQUEST_CLASS_1 - 10) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.922 [TRACE] telem-gw6e.Port5.port.write -  10 7A 03 7D 16&lt;br /&gt;
2017-09-26 16:15:29.938 [TRACE] telem-gw6e.Port5.port.read -  68&lt;br /&gt;
2017-09-26 16:15:29.954 [TRACE] telem-gw6e.Port5.port.read -  0A 0A 68 28 03 2E 01 07 03 00 01 00 82 E7 16&lt;br /&gt;
2017-09-26 16:15:29.954 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] RecvVarLenFrame CTRL_PRM(0) CTRL_ACD(1) CTRL_FN(CTRL_DATA - 8) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:29.954 [TRACE] telem-gw6e.Port5.ControlStateLogger - found SELECT obj_addr = 1 obj_id = 0&lt;br /&gt;
2017-09-26 16:15:29.954 [TRACE] telem-gw6e.Port5.ControlStateLogger - register obj_id: 0 arg: 0&lt;br /&gt;
2017-09-26 16:15:29.954 [TRACE] telem-gw6e.Port5.ControlStateLogger - SELECT 0&lt;br /&gt;
2017-09-26 16:15:29.954 [INFO] telem-gw6e.Port5.DO5T.db - DO1 (1) response: 2 flags: Activation  time: 2017-Sep-26 16:15:29.032667, recv&lt;br /&gt;
2017-09-26 16:15:29.954 [TRACE] Gateway.Filter.AddToBuffer - [DO_5_1_1_resp_filter] DO_5_1_1_buf &amp;lt;&amp;lt; 2 flags: Execute Activation OK GwTime Activation  time: 2017-Sep-26 13:15:29.954604&lt;br /&gt;
2017-09-26 16:15:29.954 [DEBUG] telem-gw6e.Port6.db - DO1 (201) event: 2 flags: GwTime Activation  time: 2017-Sep-26 16:15:29.954604, buffered&lt;br /&gt;
2017-09-26 16:15:30.163 [TRACE] telem-gw6e.Port6.port.write -  10 09 01 0A 16&lt;br /&gt;
2017-09-26 16:15:30.257 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] SendFixedFrame CTRL_FCV(1) CTRL_FCB(1) CTRL_FN(CTRL_REQUEST_CLASS_2 - 11) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:30.257 [TRACE] telem-gw6e.Port5.port.write -  10 7B 01 7C 16&lt;br /&gt;
2017-09-26 16:15:30.273 [TRACE] telem-gw6e.Port5.port.read -  10 09 01&lt;br /&gt;
2017-09-26 16:15:30.289 [TRACE] telem-gw6e.Port5.port.read -  0A 16&lt;br /&gt;
2017-09-26 16:15:30.289 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] RecvFixLenFrame. CTRL_ACD(0) CTRL_FN(CTRL_NO_DATA - 9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:30.295 [TRACE] telem-gw6e.Port6.port.read -  10 5B 01 5C 16&lt;br /&gt;
2017-09-26 16:15:30.295 [TRACE] telem-gw6e.Port6 - [IEC60870 101 UB Data] class 2 data available: no&lt;br /&gt;
2017-09-26 16:15:30.295 [TRACE] telem-gw6e.Port6 - [IEC60870 101 UB Data] class 1 data state: digital output response&lt;br /&gt;
2017-09-26 16:15:30.295 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] SendFixLenFrame CTRL_ACD(1) CTRL_FN(9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:30.593 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] SendFixedFrame CTRL_FCV(1) CTRL_FCB(0) CTRL_FN(CTRL_REQUEST_CLASS_1 - 10) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:30.593 [TRACE] telem-gw6e.Port5.port.write -  10 5A 03 5D 16&lt;br /&gt;
2017-09-26 16:15:30.595 [TRACE] telem-gw6e.Port6.port.write -  10 29 01 2A 16&lt;br /&gt;
2017-09-26 16:15:30.609 [TRACE] telem-gw6e.Port5.port.read -  68&lt;br /&gt;
2017-09-26 16:15:30.625 [TRACE] telem-gw6e.Port5.port.read -  0A 0A 68 28 03 2E 01 07 03 00 01 00 02 67 16&lt;br /&gt;
2017-09-26 16:15:30.626 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] RecvVarLenFrame CTRL_PRM(0) CTRL_ACD(1) CTRL_FN(CTRL_DATA - 8) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:30.626 [TRACE] telem-gw6e.Port5.ControlStateLogger - found ACTIVATION obj_addr = 1 obj_id = 0&lt;br /&gt;
2017-09-26 16:15:30.626 [TRACE] telem-gw6e.Port5.ControlStateLogger - register obj_id: 0 arg: 0&lt;br /&gt;
2017-09-26 16:15:30.626 [TRACE] telem-gw6e.Port5.ControlStateLogger - ACTIVATION 0&lt;br /&gt;
2017-09-26 16:15:30.727 [TRACE] telem-gw6e.Port6.port.read -  10 7A 01 7B&lt;br /&gt;
2017-09-26 16:15:30.743 [TRACE] telem-gw6e.Port6.port.read -  16&lt;br /&gt;
2017-09-26 16:15:30.744 [TRACE] telem-gw6e.Port6 - [IEC60870 101 UB Data] class 1 data state: digital output response&lt;br /&gt;
2017-09-26 16:15:30.744 [TRACE] telem-gw6e.Port6 - [IEC60870 101 UB Data] class 1 data available: yes&lt;br /&gt;
2017-09-26 16:15:30.746 [INFO] telem-gw6e.Port6.db - DO1 (201) response: 2 flags: GwTime Activation  time: 2017-Sep-26 16:15:29.954604, sent&lt;br /&gt;
2017-09-26 16:15:30.746 [TRACE] IEC.setEvent - [Core -&amp;gt; Prot] (Input Events) add event EVENTCODE_DIGITAL_OUTPUT_RESPONSE&lt;br /&gt;
2017-09-26 16:15:30.747 [TRACE] telem-gw6e.Port6.link - mSendBuffer.Count() 8 req1:1 req2:0&lt;br /&gt;
2017-09-26 16:15:30.747 [TRACE] telem-gw6e.Port6.link - sending mSendBuffer.Count() 8 req1:1 req2:0&lt;br /&gt;
2017-09-26 16:15:30.747 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] SendVarLenFrame CTRL_ACD(1) CTRL_FN(8) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:30.928 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] SendFixedFrame CTRL_FCV(1) CTRL_FCB(0) CTRL_FN(CTRL_REQUEST_CLASS_2 - 11) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:30.928 [TRACE] telem-gw6e.Port5.port.write -  10 5B 01 5C 16&lt;br /&gt;
2017-09-26 16:15:30.945 [TRACE] telem-gw6e.Port5.port.read -  10 09 01 0A&lt;br /&gt;
2017-09-26 16:15:30.961 [TRACE] telem-gw6e.Port5.port.read -  16&lt;br /&gt;
2017-09-26 16:15:30.961 [TRACE] telem-gw6e.Port5.DI24T.link - [IEC60870 101 UB Master Link] RecvFixLenFrame. CTRL_ACD(0) CTRL_FN(CTRL_NO_DATA - 9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:31.047 [TRACE] telem-gw6e.Port6.link - mSendBuffer.Count() 0 req1:0 req2:0&lt;br /&gt;
2017-09-26 16:15:31.047 [TRACE] telem-gw6e.Port6.port.write -  68 0A 0A 68 28 01 2D 01 07 01 00 C9 00 01 29 16&lt;br /&gt;
2017-09-26 16:15:31.191 [TRACE] telem-gw6e.Port6.port.read -  10 5A 01 5B 16&lt;br /&gt;
2017-09-26 16:15:31.191 [TRACE] telem-gw6e.Port6 - [IEC60870 101 UB Data] class 1 data available: no&lt;br /&gt;
2017-09-26 16:15:31.191 [TRACE] telem-gw6e.Port6.link - [IEC60870 101 UB Slave Link] SendFixLenFrame CTRL_ACD(0) CTRL_FN(9) LINK_ADDR(1) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:31.264 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] SendFixedFrame CTRL_FCV(1) CTRL_FCB(1) CTRL_FN(CTRL_REQUEST_CLASS_1 - 10) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:31.264 [TRACE] telem-gw6e.Port5.port.write -  10 7A 03 7D 16&lt;br /&gt;
2017-09-26 16:15:31.281 [TRACE] telem-gw6e.Port5.port.read -  68&lt;br /&gt;
2017-09-26 16:15:31.297 [TRACE] telem-gw6e.Port5.port.read -  0A 0A 68 28 03 2E 01 0A 03 00 01 00 02 6A 16&lt;br /&gt;
2017-09-26 16:15:31.297 [TRACE] telem-gw6e.Port5.DO5T.link - [IEC60870 101 UB Master Link] RecvVarLenFrame CTRL_PRM(0) CTRL_ACD(1) CTRL_FN(CTRL_DATA - 8) LINK_ADDR(3) ADDR_LEN(1)&lt;br /&gt;
2017-09-26 16:15:31.297 [TRACE] telem-gw6e.Port5.ControlStateLogger - found RESPONSE obj_addr = 1 obj_id = 0&lt;br /&gt;
2017-09-26 16:15:31.297 [TRACE] telem-gw6e.Port5.ControlStateLogger - register obj_id: 0 arg: 0&lt;br /&gt;
2017-09-26 16:15:31.297 [TRACE] telem-gw6e.Port5.ControlStateLogger - RESPONSE 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
View in VINCI:&lt;br /&gt;
&lt;br /&gt;
[[Pilt:vincido.png]]&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
</feed>