rdio-scanner/docs/examples/rtlsdr-airband/README.md
Chrystian Huot e8c83ea08c Version 4.3
2020-07-11 12:17:21 -04:00

40 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# RTLSDR-Airband
Here's an example with RTLSDR-Airband:
## Requirements
At the time of this writting, this will work only with the *unstable* branch of RTLSDR-Airband where the [pr #163](https://github.com/szpajder/RTLSDR-Airband/pull/163) has been merged.
## RTLSDR-Airband's configuration
The trick here is to split audio by transmission and to leverage to `filename_template` to pass the `system_id` and `talkgroup_id`, which can then be utilized by [Rdio Scanner](https://github.com/chuot/rdio-scanner)'s `dirWatch.mask`. So generated files will look like `61_118900_20200711_111311_118900000.mp3`.
``` json
filename_template = "61_118900";
split_on_transmission = true;
```
## Rdio Scanner's configuration
``` json
"dirWatch": [
{
"deleteAfter": true,
"directory": "/home/radio/rtlsdr-airband/audio_files",
"extension": "mp3",
"mask": "#SYS_#TG_#DATE_#TIME_#HZ"
}
]
```
The `dirWatch` metatags will then translate to:
| Metatag | Value |
| ------- | --------- |
| #SYS | 61 |
| #TG | 118900 |
| #DATE | 20200711 |
| #TIME | 111311 |
| #FREQ | 118900000 |