From 0ede7b8eda28316c2ca482b57106f1cb1f1d9041 Mon Sep 17 00:00:00 2001 From: nq4t Date: Thu, 6 Apr 2023 00:00:27 +0000 Subject: [PATCH] Update Software Page --- software/index.md | 2 +- software/log4omudp.md | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/software/index.md b/software/index.md index a6b5970..c816a4b 100644 --- a/software/index.md +++ b/software/index.md @@ -12,7 +12,7 @@ I am by no means a software developer, that being said I've written some code th Some of it can fall under the category of "stupid tricks" that are geared toward web presence. Some of it is the actual website itself since it uses Jekyll/Liquid/Ruby for static generation. -- [Log4OM UDP Web Display](https://nq4t.com/software/log4omudp) · [Git Repository](https://git.pickmy.org/nq4t/Log4OM-WebStatus) +- [Log4OM UDP Web Status](https://nq4t.com/software/log4omudp) · [Git Repository](https://git.pickmy.org/nq4t/Log4OM-WebStatus) - Python script that accepts and parses Log4OM UDP messages to generate a real-time auto-refresh HTML page. - [PiScrape - Text-Only Hotspot Information](https://nq4t.com/software/piscrape) · [Git Repository](https://git.pickmy.org/nq4t/piscrape) diff --git a/software/log4omudp.md b/software/log4omudp.md index fa40827..3d019bb 100644 --- a/software/log4omudp.md +++ b/software/log4omudp.md @@ -1,6 +1,6 @@ --- layout: page2 -title: Log4OM UDP Display +title: Log4OM Web Status --- [Git Repository](https://git.pickmy.org/nq4t/Log4OM-WebStatus) @@ -35,9 +35,8 @@ My version has CSS applied to match my website. The default version does not. Log4OM sends packets to my server's IP. Python picks these up, parses the required information out, and stuffs them in to some HTML it saves directly to the server. This file is set to auto-refresh every 5 seconds. -A monitoring thread checks every few seconds to see when the last packet was received. If it doesn't see any in about 15 -seconds; it changes the status to indicate this. In this state, it only checks for updates every 30 seconds. +If the UDP monitor doesn't get any packets within 6 seconds, it executes a routine to see what's up. This function merely sends the +"Alive" command over the UDP Remote Port. Any response will indicate the radio is off; but a lack of response within 2 seconds assumes +that Log4OM is not running on the shack PC. -The thread listening for UDP always runs. When UDP starts streaming in, it immedately executes. - -It can be considered real-time to within 30 seconds or so. +When the radio is off or Log4OM is not loaded; the code only sends the remote request every 60 seconds.