OpenRTX / dmrconfig

Configuration utility for DMR radios
BSD 3-Clause "New" or "Revised" License
237 stars 55 forks source link

Config file in YAML or XML #4

Open sonyccd opened 6 years ago

sonyccd commented 6 years ago

Could the config file be in a more standard format that is easier to work with and keep formatted correctly?

sergev commented 6 years ago

That's a good idea. My original approach was to keep the format easier to read for a human, and make the software smart enough to parse it. But sometimes it would make sense to generate the configuration from some external data source. I'm going to add support for YAML.

OH1KH commented 6 years ago

HI! Output format could be selectable with parameter. When using current text format could it be possible to add label line (with #) maybe every 20 lines or so? Would be easier to fix long lists without scrolling up and down to see label names.

13) Contact for transmit: - or index in Contacts table

# Digital Name Receive Transmit Power Scan TOT RO Admit Color Slot RxGL TxContact 123 2_25TG99 145.425 +0 High - 120 - - 1 1 2 18 # SIMPLEX 124 2_50TG99 145.450 +0 High - 120 - - 1 1 2 18 # SIMPLEX 125 7_25TG99 434.425 +0 High - 120 - - 1 1 2 18 # SIMPLEX ... ...

Digital Name Receive Transmit Power Scan TOT RO Admit Color Slot RxGL TxContact

... ...