Open prokrypt opened 5 years ago
I just thought about this again. If you do make those changes, writing to the radio will be problem-free, but reading back the data into a config file would obviously omit the missing channels. Perhaps we can have dmrconfig use an extra config file with overrides?
What about filling the channel with some default value (150MHz for example) and ignoring them like @prokrypt suggests? Perhaps adding a column to the channel named skipped
and a cli flag to omit skipped channels on read.
edit: #30 may work for you (@prokrypt) to at least reduce the time it takes to notice an error.
I like to group my channels together in blocks, and sometimes I delete channels by removing the entire line. It would be much easier if dmrconfig can ignore missing channels within defined ranges in zones and scanlists. Maybe just throw non-fatal warnings, or a list/count of missing channels? Maybe just ignore silently? Also, maybe throw a warning when a channel is not listed in any zone. I just found one :|
What current config has to be like to prevent errors:
What I would prefer it to be like: