Skip to content

Commit 6a8bb1e

Browse files
Installation dependencies file & doc update
1 parent 465f14e commit 6a8bb1e

File tree

3 files changed

+29
-20
lines changed

3 files changed

+29
-20
lines changed

README.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,27 @@
33

44
```robotframework-aprslib``` is a [Robot Framework](https://www.robotframework.org) keyword collection for the [aprslib](https://github.com/rossengeorgiev/aprs-python) Python library. It allows __licensed ham radio operators__ to establish a connection to the APRS-IS servers and send/receive/decode APRS requests.
55

6-
## Default settings for a new APRS-IS connection
6+
## Installation
7+
8+
- clone repository
9+
- ``pip install -r dependencies.txt``
10+
11+
## Robot Framework Library Examples
12+
13+
In order to run these scripts, you need to change them and add your call sign to the script's configuration section:
14+
15+
# This is your APRS-IS call sign. Replace this place holder with your personal call sign
16+
${callsign} YOURCALLSIGN
17+
18+
Replace the current placeholder with your call sign and you are good to go.
19+
20+
- [Echo incoming APRS messages](src/echo_aprsis_traffic.robot)
21+
- [Send and receive a single APRS message](src/send_and_receive_single_packet.robot)
22+
- [Receive a message, acknowledge it if necessary and then respond to it](src/receive_and_send_single_packet.robot)
23+
24+
## Library usage and supported keywords
25+
26+
### Default settings for a new APRS-IS connection via robotframework-aprslib
727

828
When you initialize an APRS connection without explicitly setting parameters such as server, port, user/pass and filter, the following default values are automatically applied:
929

@@ -16,11 +36,11 @@ When you initialize an APRS connection without explicitly setting parameters suc
1636

1737
This default set of values will allow you to establish a read-only connection to APRS-IS, assuming that the respective APRS-IS server that you intend to connect with permits such a connection.
1838

19-
## Change the server / port / etc
39+
### Change the server / port / etc
2040

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

23-
### Option 1 - set as position parameters
43+
#### Option 1 - set as position parameters
2444

2545
```robotframework
2646
*** Settings ***
@@ -31,7 +51,7 @@ Library AprsLibrary.py server_value port_value user_value passcode_value f
3151
My first test case
3252
```
3353

34-
### Option 2 - set as named parameters
54+
#### Option 2 - set as named parameters
3555

3656
```robotframework
3757
*** Settings ***
@@ -42,7 +62,7 @@ Library AprsLibrary.py aprsis_server=server_value aprsis_port=port_value apr
4262
My first test case
4363
```
4464

45-
### Option 3 - Use Robot Keywords
65+
#### Option 3 - Use Robot Keywords
4666

4767
| Keyword|Description|
4868
|------- |-----------|
@@ -54,7 +74,7 @@ My first test case
5474
|``Get Current APRS-IS Configuration``|Returns a dictionary containing all previously listed parameters and the APRS-IS connection status to the user (basically a collection of all previously mentioned keywords). An AIS object whose value is different to ```None``` indicates an active connection.|
5575

5676

57-
## Other Robot Keywords supported by this library
77+
### Other Robot Keywords supported by this library
5878

5979
| Keyword|Description|Parameter|
6080
|------- |-----------|--|
@@ -82,19 +102,6 @@ My first test case
82102

83103
- The keyword ``Send APRS Packet`` will __not__ check whether the APRS-IS connection has been establised read-only (``N0CALL`` call sign) or read-write.
84104

85-
## Robot Framework Library Examples
86-
87-
In order to run these scripts, you need to change them and add your call sign to the script's configuration section:
88-
89-
# This is your APRS-IS call sign. Replace this place holder with your personal call sign
90-
${callsign} YOURCALLSIGN
91-
92-
Replace the current placeholder with your call sign and you are good to go.
93-
94-
- [Echo incoming APRS messages](src/echo_aprsis_traffic.robot)
95-
- [Send and receive a single APRS message](src/send_and_receive_single_packet.robot)
96-
- [Receive a message, acknowledge it if necessary and then respond to it](src/receive_and_send_single_packet.robot)
97-
98105
## The fine print
99106

100107
- APRS is a registered trademark of APRS Software and Bob Bruninga, WB4APR. Thank you Bob!

dependencies.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
aprs-python>=0.6.47
2+
robotframework>=3.2

src/AprsLibrary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
)
3131
logger = logging.getLogger(__name__)
3232

33-
__version__ = "0.4.1"
33+
__version__ = "0.4.2"
3434
__author__ = "Joerg Schultze-Lutter"
3535

3636

0 commit comments

Comments
 (0)