From 8f8bd363a2c043d455e8371743adee57913e8a35 Mon Sep 17 00:00:00 2001 From: Christopher Young Date: Tue, 19 Jan 2016 08:39:46 -0500 Subject: [PATCH] Comments. --- LICENSE | 4 ++-- main/gen_gdl90.go | 10 ++++++++++ main/managementinterface.go | 9 +++++++++ main/monotonic.go | 9 +++++++++ main/network.go | 9 +++++++++ main/ry835ai.go | 9 +++++++++ main/sdr.go | 9 +++++++++ main/traffic.go | 9 +++++++++ main/uibroadcast.go | 10 ++++++++++ 9 files changed, 76 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 17f09bcc..c8bf8c05 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2015 Christopher Young. +Copyright (c) 2015-2016 Christopher Young ("Copyright Holder"). All rights reserved. Redistribution and use in source and binary forms, with or without @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of the Christopher Young nor the + * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/main/gen_gdl90.go b/main/gen_gdl90.go index a8c83a88..a224a453 100644 --- a/main/gen_gdl90.go +++ b/main/gen_gdl90.go @@ -1,3 +1,13 @@ +/* + Copyright (c) 2015-2016 Christopher Young + Distributable under the terms of The "BSD New"" License + that can be found in the LICENSE file, herein included + as part of this header. + + gen_gdl90.go: Input demodulated UAT and 1090ES information, output GDL90. Heartbeat, + ownship, status messages, stats collection. +*/ + package main import ( diff --git a/main/managementinterface.go b/main/managementinterface.go index b86f2d72..9d68cf42 100644 --- a/main/managementinterface.go +++ b/main/managementinterface.go @@ -1,3 +1,12 @@ +/* + Copyright (c) 2015-2016 Christopher Young + Distributable under the terms of The "BSD New"" License + that can be found in the LICENSE file, herein included + as part of this header. + + managementinterface.go: Web interfaces (JSON and websocket), web server for web interface HTML. +*/ + package main import ( diff --git a/main/monotonic.go b/main/monotonic.go index cb01a85a..fe1f0ba5 100644 --- a/main/monotonic.go +++ b/main/monotonic.go @@ -1,3 +1,12 @@ +/* + Copyright (c) 2015-2016 Christopher Young + Distributable under the terms of The "BSD New"" License + that can be found in the LICENSE file, herein included + as part of this header. + + monotonic.go: Create monotonic clock using time.Timer - necessary because of real time clock changes on RPi. +*/ + package main import ( diff --git a/main/network.go b/main/network.go index 4af85b3b..8ba46170 100644 --- a/main/network.go +++ b/main/network.go @@ -1,3 +1,12 @@ +/* + Copyright (c) 2015-2016 Christopher Young + Distributable under the terms of The "BSD New"" License + that can be found in the LICENSE file, herein included + as part of this header. + + network.go: Client networking routines, DHCP lease monitoring, queue management, ICMP monitoring. +*/ + package main import ( diff --git a/main/ry835ai.go b/main/ry835ai.go index 5d34749a..debc5195 100644 --- a/main/ry835ai.go +++ b/main/ry835ai.go @@ -1,3 +1,12 @@ +/* + Copyright (c) 2015-2016 Christopher Young + Distributable under the terms of The "BSD New"" License + that can be found in the LICENSE file, herein included + as part of this header. + + ry835ai.go: GPS functions, GPS init, AHRS status messages, other external sensor monitoring. +*/ + package main import ( diff --git a/main/sdr.go b/main/sdr.go index e77686fe..79d71fa7 100644 --- a/main/sdr.go +++ b/main/sdr.go @@ -1,3 +1,12 @@ +/* + Copyright (c) 2015-2016 Christopher Young + Distributable under the terms of The "BSD New"" License + that can be found in the LICENSE file, herein included + as part of this header. + + sdr.go: SDR monitoring, SDR management, data input from UAT/1090ES channels. +*/ + package main import ( diff --git a/main/traffic.go b/main/traffic.go index 4302f683..f3541434 100644 --- a/main/traffic.go +++ b/main/traffic.go @@ -1,3 +1,12 @@ +/* + Copyright (c) 2015-2016 Christopher Young + Distributable under the terms of The "BSD New"" License + that can be found in the LICENSE file, herein included + as part of this header. + + traffic.go: Target management, UAT downlink message processing, 1090ES source input, GDL90 traffic reports. +*/ + package main import ( diff --git a/main/uibroadcast.go b/main/uibroadcast.go index f9dad337..500e2afa 100644 --- a/main/uibroadcast.go +++ b/main/uibroadcast.go @@ -1,3 +1,13 @@ +/* + Copyright (c) 2015-2016 Christopher Young + Distributable under the terms of The "BSD New"" License + that can be found in the LICENSE file, herein included + as part of this header. + + uibroadcast.go: Helper functions for managementinterface - notification channels for update "subscriptions" + (used for weather and traffic websockets). +*/ + package main import (