python icon indicating copy to clipboard operation
python copied to clipboard

Enhance get_channels_with_hash()

Open SpudGunMan opened this issue 1 month ago • 1 comments

To set the index 0 name to the preset name from localConfig.lora.modem_preset when empty

and compute hash so the output will not have bad index0 name or hash, also removes all disabled for clarity.

This outputs Device1 Channel Hash Table: [{'index': 0, 'role': 'PRIMARY', 'name': 'LongFast', 'hash': 8} for a LongFast

SpudGunMan avatar Nov 12 '25 00:11 SpudGunMan

A couple of issues here -- the generated names won't always be right as-is and this needs to be done for secondary channels too. But a good change in general/otherwise

refactored to handle issues I hope?

SpudGunMan avatar Nov 23 '25 19:11 SpudGunMan