Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Syncleus
apex-aprs
Commits
554207b3
Commit
554207b3
authored
Oct 02, 2016
by
Jeffrey Phillips Freeman
💥
Browse files
Sends out a beacon, but only when first started up.
parent
71c5def5
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/apex.rb
View file @
554207b3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment