sergev / baoclone

A command-line utility for saving, restoring and modifying the configuration of Baofeng handheld radios.
67 stars 12 forks source link

Baoclone is a utility for programming handheld radios via a serial or USB programming cable. Supported radios:

Web site of the project: https://github.com/sergev/baoclone/wiki

=== Usage ===

Save device binary image to file 'device.img', and text configuration to 'device.conf':

baoclone [-v] port

Write image to device.

baoclone -w [-v] port file.img

Configure device from text file. Previous device image saved to 'backup.img':

baoclone -c [-v] port file.conf

Show configuration from image file:

baoclone file.img

Option -v enables tracing of a serial protocol to the radio:

=== Example ===

For example: C:> baoclone.exe COM5 Connect to COM5. Detected Baofeng UV-5R. Read device: ################################################## done. Radio: Baofeng UV-5R Firmware: Ver BFB291 Serial: 120801NB5R0001 Close device. Write image to file 'device.img'. Print configuration to file 'device.conf'.

=== Configurations ===

You can use these files as examples or templates:

=== Sources ===

Sources are distributed freely under the terms of MIT license. You can download sources like this:

git clone https://github.com/sergev/baoclone

To build and install on Linux or Mac OS X, use:

make
make install

To build on Windows using MINGW compiler, use:

gmake -f make-mingw

To run unit tests:

make test

Regards, Serge Vakulenko KK6ABQ