Project:HUGnet:Scripts

From HUG Wiki

(Redirected from Project:HUGnet Scripts)
Jump to: navigation, search

Scripts are code that run in the background. They do most of the actual work in the HUGnet system.

Contents

Documentation

The code documentation is here. It is generated with phpDocumentor.

Endpoint Scripts

These are the main scripts for endpoints in the Scripts/endpoints directory. They form the core of the HUGnet software.

  • 0039-26-01-P poll.php Polls endpoints and deals with unsolicited packets.
  • 0039-26-02-P updatedb.php Pushes the new records to the database
  • 0039-26-03-P analysis.php Crunches numbers and analyzes database records.
  • 0039-26-04-P endpoint.php This script actually talks to the endpoints. Other scripts use this one as a gateway.
  • 0039-26-05-P control.php A control daemon for controlling building functions on all the buildings.
  • 0039-26-06-P config.php Checks endpoint configurations and makes sure they are up to date

Test Scripts

These are useful scripts in the Scripts/test directory.

Misc Scripts

These are useful scripts in the Scripts/misc directory.

  • monitor.php Monitors a HUGnet line. Simply prints out all of the packets going across it
  • programEP.php Programs an endpoint from firmware in the database.
  • savefirmware.php Saves firmware to the database.

SVN Access

The svn file path for this is:

  • Trunk : /HUGnet/trunk/Scripts/
  • Tags : /HUGnet/tags/Scripts/

See SVN Code Repository for more information

See Also