From 554207b37755a9a5898c779a1af3ad2cb701dee0 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Sun, 2 Oct 2016 07:29:46 -0400 Subject: [PATCH] Sends out a beacon, but only when first started up. --- lib/apex.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/apex.rb b/lib/apex.rb index 66ab9f0..e4316e6 100644 --- a/lib/apex.rb +++ b/lib/apex.rb @@ -29,6 +29,13 @@ module Apex aprs_kiss = Aprs::AprsKiss.new(kiss) aprs_kiss.connect(Kiss::MODE_INIT_KENWOOD_D710) + beacon_frame = {:source => 'WI2ARD-2', + :destination => 'APRS', + :path => ['WIDE1-1', 'WIDE2-2'], + :text => '!/:=i@;N.G& --PHG5790/G/D R-I-R H24 C30'} + aprs_kiss.write(beacon_frame) + echo_color_frame(beacon_frame, 'TNC', false) + while true frame = aprs_kiss.read if frame -- GitLab