| 1 |
# Extract configuration from codeplug |
| 2 |
|
| 3 |
To convert a binary codeplug into a configuration script, |
| 4 |
invoke dmrconfig without options, for example: |
| 5 |
|
| 6 |
``` |
| 7 |
$ dmrconfig md-uv380-empty.rdt |
| 8 |
Read codeplug from file 'md-uv380-empty.rdt'. |
| 9 |
Radio: TYT MD-UV380 |
| 10 |
|
| 11 |
Analog Name Receive Transmit Power Scan AS Sq TOT RO Admit RxTone TxTone Width |
| 12 |
1 Channel1 400.000 +0 High - - 1 60 - - - - 12.5 |
| 13 |
|
| 14 |
Zone Name Channels |
| 15 |
1a Zone1 1 |
| 16 |
1b - - |
| 17 |
|
| 18 |
Scanlist Name PCh1 PCh2 TxCh Channels |
| 19 |
1 ScanList1 - - Last 1 |
| 20 |
|
| 21 |
Contact Name Type ID RxTone |
| 22 |
1 Contact1 Group 1 - |
| 23 |
|
| 24 |
Grouplist Name Contacts |
| 25 |
1 GroupList1 1 |
| 26 |
|
| 27 |
Message Text |
| 28 |
1 Hello |
| 29 |
|
| 30 |
ID: 1234 |
| 31 |
Name: - |
| 32 |
Intro Line 1: - |
| 33 |
Intro Line 2: - |
| 34 |
``` |
| 35 |
|
| 36 |
Input binary file can have IMG format (compatible with md380tools) |
| 37 |
or RDT format (compatible with native CPS software). |
| 38 |
|
| 39 |
When redirected to a file, the script will contain comments, |
| 40 |
which describe the details of the configuration. |
| 41 |
For examples, see [dmrconfig/examples](https://github.com/sergev/dmrconfig/tree/master/examples). |