Jump to content

Landis+Gyr Collector

From RECESSIM, A Reverse Engineering Community

A collector is the gateway between a Landis+Gyr GridStream RF mesh and the utility's head-end. Meters route their long packets to it over the mesh, and it forwards them over its back-haul (cellular in the unit below). See Network Overview for its role on the air.

The unit pictured contains a small Intel-based Windows computer with an mSATA SSD, a cellular modem, a Cellnet IWR Series 5 radio for the 900 MHz mesh, a power supply backplane and a backup battery.

Software

The collector computer runs a Landis+Gyr .NET application, ReceiverForm (version 4.8.17.0 analysed), on embedded Windows. Its decompiled code shows how a collector works:

  • Radio link: it talks to its attached IWR radio over a serial port using Landis+Gyr's local port protocol (LPP), the same framing the radios use on their serial host port.
  • Collector DCW: it loads a signed DCW program of its own into the radio (files Coll.MM.mm.hex, see DCW images and signing). That program gives the radio its collector role and sends the computer a heartbeat every 30 seconds.
  • Head-end link: it forwards messages from the mesh to the utility's head-end and fetches queued commands from it through a SOAP web service. For a cellular back-haul the application manages the modem's dial-up (RAS) connection itself.
  • Time: it keeps its clock with NTP. The radio can take wall-clock time from its serial host and pass it on to the meters over the air. This is wall-clock time only; the radios' frequency-hopping clocks are not synchronised by it.
  • Platform checks: the application knows four computer boards (LB620, LB700, CM730 and "Erie") and drives their GPIO and hardware watchdog. At start-up it compares the operating system against a stored fingerprint file for its board (Windows XP Embedded and Windows Embedded Standard 7 versions ship with it).