diff --git a/lib/apex.rb b/lib/apex.rb index 66ab9f03be11273bfa011bd23d823f477aedd8e3..e4316e69d15986b0822ee607db830deb71d9bad7 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