This repository has been archived by the owner on Apr 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepeater.cfg.dist
78 lines (63 loc) · 2.31 KB
/
repeater.cfg.dist
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
repeater: {
// How should we identify?
identifier: "From Akron Ohio, you're on the W 8 U P D simplex repeater.";
// What should our first identification be, after we're idle for at least
// (identification_timer * 2) minutes?
initial_identifier: "Welcome to the W 8 U P D simplex repeater from Akron Ohio.";
// Speech synthesis configuration.
voice_synthesis: {
// Should we use it at all?
enabled: true;
// Which espeak voice should we use?
voice: "default";
};
// Rig control via hamlib. This part is a bit technical.
rig_control: {
// Enable rig control at all...
enabled: true;
// The hamlib id of the rig we're controlling (check `rigctl --list`).
rig_id: 124;
// The path to the serial port.
serial_port: "/dev/ttyS0";
// Your rig's baud rate (see your rig's user manual or Google).
baud_rate: 4800;
// Your rig's data bits (see your rig's user manual or Google).
data_bits: 8;
// Your rig's stop bits (see your rig's user manual or Google).
stop_bits: 2;
// What frequency should we tune to? (Hertz)
// NOTE: THIS IS A STRING. THIS MUST BE A STRING. KEEP IT A STRING.
// SERIOUSLY. DO IT. OR ELSE. No, really. It's a string.
frequency: "14070000";
};
// Time in minutes, before each identification occurs.
identification_timer: 9;
// PL Tone, if any?
// Set to false for none.
pl_tone: 123.0;
// Used for weather fetching and other functionality.
zipcode: 44325;
// Should we allow network access at all?
network_access: true;
// Configure various functionality of the repeater.
// Each element contains:
// summary - a short description of the functionality.
// enabled - a boolean describing whether or not the command can be
// used at all.
// prefix - the dtmf prefix to use to activate the command.
// argument - any data we should look for after the prefix. (optional)
// vocal_prefix - how espeak should say the prefix code. (optional,
// defaults to prefix)
commands: (
{ summary: "Report the weather for eh given zipcode";
prefix: "eh";
vocal_prefix: "eh";
argument: "zipcode";
enabled: true;
},
{ summary: "List all enabled commands and their prefixes";
prefix: "*";
enabled: true;
}
);
};