Thomas Kolb
f3b6ab1a29
The oneshot queue is for connection management frames that are only sent once, at the beginning of the next burst. An example is the Connection Reset packet. Intervals define the boundary between the handling of different connections. The interval can be either ended by a packet with TX Request set, or by a timeout. In either case, forwarding of packets to the current connection stops and the connection is re-scheduled to a later point in time. |
||
---|---|---|
.. | ||
src | ||
test | ||
utils | ||
.gitignore | ||
CMakeLists.txt | ||
make.sh | ||
README.md | ||
setup_tundev.sh |
Hamnet70 Implementation
This directory contains an implementation of the Hamnet70 protocol.
Before you can compile and use this code, some additional steps are necessary:
- Copy
src/config.h.template
tosrc/config.h
and set the following variables:MY_CALL
: the station call sign (i.e. your amateur radio call sign). This will be encoded into the address fields of outgoing packets.
- Install dependencies:
- libliquid compiled with libfec support
- libfec
- fftw3
- libhackrf
After everything is prepared, compile the code using ./make.sh
.
Parameters to this script are forwarded to make
so you can speed things up a little with ./make.sh -j4
(on a CPU with 4 threads).
When compiled, you have two options for running Hamnet70:
- In digipeater (base station) mode:
build/hamnet70 -c
. This will broadcast beacons and wait for clients to connect. - In client mode:
build/hamnet70
. This will wait for a beacon to arrive and connect to it.