From 352cca502f256263933b1aa75ee792fa5ddabb3e Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Sun, 2 Oct 2016 07:42:10 -0400 Subject: [PATCH] Added some comments. --- lib/apex.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/apex.rb b/lib/apex.rb index 65e7908..ebc5a85 100644 --- a/lib/apex.rb +++ b/lib/apex.rb @@ -29,6 +29,7 @@ module Apex aprs_kiss = Aprs::AprsKiss.new(kiss) aprs_kiss.connect(Kiss::MODE_INIT_KENWOOD_D710) + # Transmit a beacon when we first start beacon_frame = {:source => 'WI2ARD-2', :destination => 'APRS', :path => ['WIDE1-1', 'WIDE2-2'], @@ -36,6 +37,7 @@ module Apex aprs_kiss.write(beacon_frame) echo_color_frame(beacon_frame, 'TNC', false) + # Display any packets we read in. while true frame = aprs_kiss.read if frame -- GitLab