30/04/2024: DIAP Gateway Service v.40

Version 40 of the DIAP gateway service has been released

TCP Robot

Fixed an issue where the configuration is changed, the release if the server listening is not done correctly, and the thread is not able to restart, until some time after the OS has released it.


.CSV file import

Updated the import of .csv files to support setting up the date and time in a single column.


Gateway being offline causes infinite reboot cycle

In event of the of the modem having connectivity issues, it would cause the gateway to reboot every 15 seconds, calculated as three 5-second cycles.

An update has been applied to check the modem state every 60 seconds, executed over twelve 5-second cycles. If the modem restart script is triggered consecutively 60 times without success, the DIAP gateway will reboot. Therefore, in a worst-case scenario, the DIAP gateway will reboot hourly, resulting in a potential loss of 15 seconds of sampling data per hour.


Ping service

Bad parsing of an IP address and port when ftp/sftp service is configured to parse .csv files, due to not including the .csv as a new type of  protocol when extracting the IP and port.

Corrected a bug regarding regarding how the IP address should be extracted from the full URL. 


General improvements

- Removing an extra wrongly added blank space that causes error: Error executing the command:/etc/init.d/ nl-sender2g stop error output:/bin/sh: /etc/init.d/:


 

 

DIAP_tagline_RGB-3