-
Notifications
You must be signed in to change notification settings - Fork 8
/
README
92 lines (58 loc) · 2.8 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
This repo is being left up for archival purposes. The latest version of the Dreamcatcher chat application can be found here:
https://github.com/Othernet-Project/dreamcatcher-chat
What is Dreamcatcher Chat?
------------------------------------------------------------------------
Dreamcatcher Chat is an application developed for the Dreamcatcher 3
board enabling users to exchange text messages over a wide range
of radio frequencies.
The application achieves this by controlling both the mixer and radio
peripherals present on the device.
The software uses the libsoc library to control the GPIO from
userspace. The driver controlling the radio is ported from the SX1280
example provided by Semtech for the mbed platform. The driver
which controls the mixer is ported from the HackRF library.
This software was developed to explore the possibilities offered by
the Dreamcatcher hardware as well as providing a quick way to
experiment with the device.
How is Dreamcatcher Chat licenced?
------------------------------------------------------------------------
Dreamcatcher Chat is licenced under the GPLv2, please see the COPYING file for
futher details.
The libraries used (SX1280 code from semtech and RFFC driver from HackRF) and
any local modifications to those continue to be licensed under their respective original licenses.
How do I build Dreamcatcher Chat?
------------------------------------------------------------------------
(requires debian stretch or later, kernel 4.14 or later,
will not work on kernel 4.10, or debian jessie or older)
1) Install libsoc and libsoc-dev: sudo apt install libsoc2 libsoc-dev
sudo apt update
sudo apt install libsoc-dev libsoc2
2) get the code
git clone https://github.com/Outernet-Project/Dreamcatcher-Packet-Tester
cd Dreamcatcher-Packet-Tester
3) make
or to build a static binary:
make static
4) run "chat" with superuser privileges
sudo ./chat
How do I run chat without building it everytime?
------------------------------------------------------------------------
You have two alternatives:
1) compile a regular exeuctable as above (using make) and then copy the compiled
binary to another Dreamcatcher+Armbian system, install the required library:
sudo apt update; sudo apt install libsoc2
and then run the chat binary:
sudo ./chat
Alternatively,
2) you can build a _static_ binary (using make static), then just copy this static binary
to another Dreamcatcher+Armbian system. No library installation is required. So just run
the chat binary:
sudo ./chat
Dependencies
------------------------------------------------------------------------
- pthreads
- libsoc
Authors
------------------------------------------------------------------------
Fausto Annicchiarico Petruzzelli < petruzzelli_dot_fausto_at_gmail_dot_com>
Luigi Zevola < luigi_dot_zevola_at_gmail_dot_com>