Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Oct 16, 2021
2 parents 5eae5e8 + b3d1776 commit ce7b7a0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions docs/INSTALL-PI.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ The first step is to put the Raspberry Pi OS onto a MicroSD card. You will need

- Download the [Raspbery OS Desktop](https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit)
- Use [Etcher](https://www.balena.io/etcher/) to burn it to a MicroSD card

OR

- get the [Pi Imager](https://www.raspberrypi.org/software/) which can download and burn an image.


#### Setup for headless boot

After the OS has been written to MicroSD card, we need to change a few files so that the Pi can get on Wifi and also allow for SSH connections. See the [guide](https://desertbot.io/blog/headless-raspberry-pi-4-ssh-wifi-setup) for how to do it using Windows.
Expand Down Expand Up @@ -73,11 +76,17 @@ sudo apt upgrade
```
- Add all of the libraries needed:
```bash
sudo apt -y install libssl-dev openssl curl fdkaac sox libcurl3-gnutls libcurl4 libcurl4-openssl-dev gnuradio gnuradio-dev gr-osmosdr libhackrf-dev libuhd-dev
sudo apt -y install git cmake make build-essential libboost-all-dev libusb-1.0-0.dev
sudo apt -y install libssl-dev openssl curl fdkaac sox libcurl3-gnutls libcurl4 libcurl4-openssl-dev gnuradio gnuradio-dev gr-osmosdr libhackrf-dev libuhd-dev cmake make build-essential libboost-all-dev libusb-1.0-0.dev
```

Configure RTL-SDRs to load correctly:

```bash
sudo wget https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules /etc/udev/rules.d/20.rtlsdr.rules
```



Now go [Build](#build-trunk-recorder) Trunk Recorder!


Expand Down
2 changes: 1 addition & 1 deletion trunk-recorder/call_concluder/call_concluder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int create_call_json(Call_Data_t call_info) {

if (json_file.is_open()) {
json_file << "{\n";
json_file << "\"freq\": " << format_freq(call_info.freq) << ",\n";
json_file << "\"freq\": " << call_info.freq << ",\n";
json_file << "\"start_time\": " << call_info.start_time << ",\n";
json_file << "\"stop_time\": " << call_info.stop_time << ",\n";
json_file << "\"emergency\": " << call_info.emergency << ",\n";
Expand Down

0 comments on commit ce7b7a0

Please sign in to comment.