Skip to content

Commit 74f894f

Browse files
Updated documentation and examples
1 parent ea9a3a6 commit 74f894f

File tree

3 files changed

+34
-19
lines changed

3 files changed

+34
-19
lines changed

README.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
### Send a single packet to APRS-IS and wait for the response
99

10-
# Send a single message to WXBOt, wait for a response message and display it on the console.
10+
# Send a single message to WXBOT, wait for a response message and display it on the console.
1111
# Then terminate the test.
1212
#
1313
# Author: Joerg Schultze-Lutter, DF1JSL
14-
# https://www.github.com/joergschultzelutter
14+
# https://www.github.com/joergschultzelutter/robotframework-aprslib
1515

1616
*** Settings ***
1717
Library AprsLibrary.py
@@ -20,9 +20,15 @@
2020
Suite Teardown Close APRS-IS Connection
2121

2222
*** Variables ***
23-
${callsign} DF1JSL-15
24-
${message} ${callsign}>APRS::WXBOT${SPACE}${SPACE}${SPACE}${SPACE}:sunday
25-
${filter} g/MPAD/DF1JSL*
23+
24+
# This is your APRS-IS call sign. Replace this place holder with your personal call sign
25+
${callsign} YOURCALLSIGN
26+
27+
# This is the message that we will send out to WXBOT
28+
${message} ${callsign}>APRS::WXBOT${SPACE}${SPACE}${SPACE}${SPACE}:tomorrow
29+
30+
# APRS-IS server filter, see http://www.aprs-is.net/javAPRSFilter.aspx.
31+
${filter} g/WXBOT/${callsign}*
2632

2733
*** Test Cases ***
2834
Send packet to APRS-IS with callsign ${callsign}
@@ -54,7 +60,7 @@
5460
# This is a simple robot which captures up to 10 APRS 'message' type messages and
5561
# logs their raw messages to the console. Then terminate the test
5662
# Author: Joerg Schultze-Lutter, DF1JSL
57-
# https://www.github.com/joergschultzelutter
63+
# https://www.github.com/joergschultzelutter/robotframework-aprslib
5864

5965
*** Settings ***
6066
Library AprsLibrary.py
@@ -63,7 +69,10 @@
6369
Suite Teardown Close APRS-IS Connection
6470

6571
*** Variables ***
66-
${callsign} DF1JSL-15
72+
# This is your APRS-IS call sign. Replace this value with your personal call sign
73+
${callsign} YOURCALLSIGN
74+
75+
# APRS-IS server filter, see http://www.aprs-is.net/javAPRSFilter.aspx
6776
${filter} t/m
6877

6978
*** Test Cases ***
@@ -116,9 +125,7 @@ This default set of values will allow you to establish a read-only connection to
116125

117126
You can either specify all parameters during the initial setup of the library or alternatively via separate keywords
118127

119-
### Define the parameters as part of the library definition
120-
121-
#### Option 1 - as position parameters
128+
### Option 1 - set as position parameters
122129

123130
*** Settings ***
124131

@@ -127,7 +134,7 @@ You can either specify all parameters during the initial setup of the library or
127134
*** Test Cases ***
128135
My first test case
129136

130-
#### Option 2 - as named parameters
137+
### Option 2 - set as named parameters
131138

132139
*** Settings ***
133140

@@ -136,7 +143,7 @@ You can either specify all parameters during the initial setup of the library or
136143
*** Test Cases ***
137144
My first test case
138145

139-
### Use Robot Keywords
146+
### Option 3 - Use Robot Keywords
140147

141148
| Keyword|Description|
142149
|------- |-----------|

src/echo_aprsis_traffic.robot

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is a simple robot which captures up to 10 APRS 'message' type messages and
22
# logs their raw messages to the console. Then terminate the test
33
# Author: Joerg Schultze-Lutter, DF1JSL
4-
# https://www.github.com/joergschultzelutter
4+
# https://www.github.com/joergschultzelutter/robotframework/aprslib
55

66
*** Settings ***
77
Library AprsLibrary.py
@@ -10,7 +10,10 @@ Suite Setup Open APRS-IS Connection
1010
Suite Teardown Close APRS-IS Connection
1111

1212
*** Variables ***
13-
${callsign} DF1JSL-15
13+
# This is your APRS-IS call sign. Replace this value with your personal call sign
14+
${callsign} YOURCALLSIGN
15+
16+
# APRS-IS server filter, see http://www.aprs-is.net/javAPRSFilter.aspx
1417
${filter} t/m
1518

1619
*** Test Cases ***

src/send_and_receive_single_packet.robot

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Send a single message to WXBOt, wait for a response message and display it on the console.
2-
# Then terminate the test.
1+
# Send a single message to WXBOT, wait for a response message and display it on the console.
32
#
43
# Author: Joerg Schultze-Lutter, DF1JSL
54
# https://www.github.com/joergschultzelutter
@@ -11,9 +10,15 @@ Suite Setup Open APRS-IS Connection
1110
Suite Teardown Close APRS-IS Connection
1211

1312
*** Variables ***
14-
${message} ${callsign}>APRS::WXBOT${SPACE}${SPACE}${SPACE}${SPACE}:sunday
15-
${callsign} DF1JSL-15
16-
${filter} g/MPAD/DF1JSL*
13+
14+
# This is your APRS-IS call sign. Replace this value with your personal call sign
15+
${callsign} YOURCALLSIGN
16+
17+
# This is the message that we will send out to WXBOT
18+
${message} ${callsign}>APRS::WXBOT${SPACE}${SPACE}${SPACE}${SPACE}:tomorrow
19+
20+
# APRS-IS server filter, see http://www.aprs-is.net/javAPRSFilter.aspx.
21+
${filter} g/WXBOT/${callsign}*
1722

1823
*** Test Cases ***
1924
Send packet to APRS-IS with callsign ${callsign}

0 commit comments

Comments
 (0)