Open jxmot opened 6 years ago
Currently, the last status message is retained only until a restart of the server. To fix that : when a new status arrives the server will save it in a text file. The next time the server starts it will read those files|that file and repopulate the internal storage of the last status. This is done before the server begins listening for clients. The same could also be done for the last sensor update(s).
The file(s) will have a depth of 1 for the status and update for each previously connected devices.
This feature is under test.
The status purge erases the oldest sensor status and the client field goes blank. Improve the purge process so that it will retain the oldest status record.