Part 7 of the fifth-protocol series. The protocol bug took an afternoon. The hour before it went on screens that described the terminal wrongly, and every wrong description sent people to check something that was fine. This post is those screens.
before · Machine page
Never connected
What it cost: 'Never connected' was shown while the PC talked to the terminal every minute. It sent everyone looking at the network.
1. A phantom link address
For terminals stuck on a factory address in another range, the PC can add an address of its own on a small private range and reach them there. Setup had made one of these for the FK terminal, under the brand it was first saved as. The terminal never joined it. The details panel listed the link address as the terminal's "fixed address", and the PC dialled it first, every minute.
Now: a terminal of this family never gets a link address, and one already stored is ignored. The panel shows the address the terminal is actually read at.
2. A serial nobody could read off the network
Adding a terminal asked for its serial. This terminal's protocol has no way to send one, so someone had to find it in a menu on the terminal. Remote setup was impossible.
Now: when the office PC has found the terminal, adding it is one screen: a name and a branch. The terminal is known by its network ID, through a stand-in the platform makes from it. Two terminals of this kind on one PC cannot be mixed up. With neither a serial nor a network ID, adding is refused with a message saying what is missing, never saved with a blank.
3. Nowhere to change the address
The menu had Edit details, Test the connection and Remove. The address that needed changing had no field. It was fixed by hand on the server.
Now: Change address is first in the menu. It opens in the side pane, not a dialog over the page, with address, port and device number, the same Check as when adding a terminal, and Save. Checking is optional; saving always works, and the PC reads the new address within a minute.
4. "Never connected"
The status said "never connected" while the PC opened a connection to the terminal every minute and the terminal answered it. That one phrase sent people to check cables and routers.
Now the status says which of these it is:
- Reading it for the first time. The PC has the terminal on its list and has not finished a read yet.
- The terminal answers but won't hand over its punches. With what to do at the terminal: leave it on its clock screen, close the maker's program on any PC.
- Nothing answers at this address, with the address, and Change address next to it.
The help steps that cannot work for this kind of terminal, searching by serial and trying factory addresses, are not shown for it.
5. A connection test that tested the PC
"Test the connection" checked that the office PC was online, and then said the PC "is reading it". On the day it said that while the terminal had never been read once.
Now it says what the PC last saw from the terminal: when it last read it, or that it has not yet, and whether the last try worked. A test that can only prove the PC is online says only that.
6. Adding it twice
Adding a terminal that was already there showed an error with the internal stand-in for its serial, a string nobody had ever typed.
Now: "this terminal is already in the platform as 'Front gate'", with a way to open it. The stand-in is never shown as a serial anywhere.
7. The office PC's search
The connector's own search listed the terminal under the vendor SDK's family name, and offered to add it even when it had been added already.
Now a row says "attendance terminal" with its address and port. A terminal the PC already reads shows "already in the platform" and opens its page, instead of an add button that would create a second one.
And a clock warning
The last fix was a warning for a terminal whose clock has drifted, worked out from the punches alone. Reading a clock you cannot touch has the method. It applies to every terminal read by an office PC, and the threshold dropped from fifteen minutes to five for all of them.
What they had in common
Each screen described the terminal from the platform's point of view: what was saved, what was configured, whether the PC was online. None of them said what the PC had actually seen at the terminal. The fix in every case was the same: show the last thing the PC observed, in words a person at the terminal can act on.