forked from kk7ds/chirp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.chirpc
104 lines (60 loc) · 2.46 KB
/
README.chirpc
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
93
94
95
96
97
98
99
100
101
102
103
104
chirpc: CHIRP Command-line interface
====================================
CHIRP provides a CLI tool (chirpc) to interact with your radio and
memory image files. It has been designed to be used from programs or
scripts written in other languages, providing facilities for automating
queries and transformations.
WARNING: All modifications are made in-place, overwriting the original
file with new contents. Be sure to make a backup copy of any files
that you want unchanged.
========
Cookbook
========
This section provides copy-and-paste recipes for accomplishing some
tasks using the CLI.
List Radios
-----------
To see the list of supported <radio> names that can be passed to the
-r/--radio option:
chirpc --list-radios
Download from Radio
-------------------
To download a new image from your radio:
chirpc -r <radio> --serial=<port> --mmap=<file> --download-mmap
This will connect to the specified <radio> on <port>, saving the image
obtained from the radio into the specified <file>.
Upload to Radio
---------------
To upload an existing image to your radio:
chirpc -r <radio> --serial=<port> --mmap=<file> --upload-mmap
This will connect to the specified <radio> on <port>, loading the image
in the specified <file> onto the radio.
List Settings
-------------
For radios that support settings, you can list the current settings
in a saved image:
chirpc --mmap=<file> --list-settings
Show Memory Channels
--------------------
You can list all current memory channels in a saved image:
chirpc --mmap=<file> --list-mem
That command only lists the currently programmed channels. To see the
complete list (including empty channels), add '--verbose'.
To view only a single channel, use the --get-mem option:
chirpc --mmap=<file> --get-mem <channel>
Set a Memory Channel
--------------------
chirpc --mmap=<file> --set-mem-name=<name> ... <channel>
See the --help text for a complete list of options that can be used
to configure the channel. Any settings that are not configured using
a command option will be left unchanged.
Clearing a Memory Channel
-------------------------
You can clear a memory channel, discarding all settings:
chirpc --mmap=<file> --clear-mem <channel>
Copying a Memory Channel
------------------------
You can copy a memory channel:
chirpc --mmap=<file> --copy-mem <source_channel> <destination_channel>
Note: The contents of <destination_channel> will be overwritten with
the contents from <source_channel>