You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tarxvf 2d9281526c add .gitignore 9 months ago
build Fix app launching on OS X #4479 5 years ago
chirp i don't remember these changes, sorry 1 year ago
csvdump Move chirpui/ to chirp/ui/ (#2351) 7 years ago
locale add .gitignore 9 months ago
share Move drivers into chirp/drivers/ (#2351) 7 years ago
stock_configs Add 8 new PMR channels to LPD and PMR stock config. Fixes #4107. 5 years ago
tests Images for BTECH color display mobile radios 4 years ago
tools Remove from the cpep8 manifest 6 years ago
.gitignore add .gitignore 9 months ago
.hgignore merging updates from origin 4 years ago
.hgtags Added tag release_0_4_0 for changeset e91f09ca03d0 8 years ago
.pylintrc Fix up most of the real pylint errors 13 years ago
COPYING Add COPYING 13 years ago
INSTALL New INSTALL and README files 9 years ago Build support for stock configurations, and the following stock files: 10 years ago
README.chirpc README.chirpc: new file (#2343) 7 years ago
README.developers Allow specification of the hexdump address format 7 years ago README symlink for github 5 years ago
README.rpttool Add a README file for the rpttool 13 years ago
chirp.xsd Split chirp schema into multiple files. Add bank specification to radio 13 years ago
chirp_banks.xsd Split chirp schema into multiple files. Add bank specification to radio 13 years ago
chirp_memory.xsd Add digitalCode support to XML driver 11 years ago
chirpc [chirpc] Allow deleting an already empty memory 7 years ago
chirpw Try harder to find resources. #4487 5 years ago
csvdump.ico Add icon for csvdump 13 years ago Fix issue #2029 - Use env in all script interpreter lines 7 years ago
pylintrc Add a pylintrc file 10 years ago
rpttool Fix style issues (3/4) (#2355) 7 years ago
run_all_tests.bat Add a run_all_tests.bat for Windows devs 7 years ago Add wrapper script (#2355) 7 years ago
setup.cfg Parameters for RPM build 13 years ago Fix Win32 build after drivers split 7 years ago

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 recipies for accomplishing some tasks using the CLI.

List Radios

To see the list of supported 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 on , saving the image obtained from the radio into the specified .

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 on , loading the image in the specified 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>