zones

Report any bugs or errors you find here.
Post Reply
GREGN
Posts: 4
Joined: Sat Dec 27, 2025 7:16 pm
Callsign: W8GAN

zones

Post by GREGN »

I keep trying to write the zones I've created to the radio but only the first 8 out of the fifteen created make it there. I did achieve nine one time. I did make each zone had a valid channel programmed into it this time. oem software transfers fine so I know it's not the radio.
Not sure what is going on.
Any ideas?
Thanks
Greg
W8GAN
User avatar
MM7DBT
Site Admin
200posts
Posts: 265
Joined: Wed Jun 02, 2021 6:59 pm
Location: Scotland
Callsign: MM7DBT

Re: zones

Post by MM7DBT »

HI Greg,

Send me your codeplug via PM or email etc.. and I'll have a look and see if I can replicate it.
My personal codeplug has 35 zones and just over 1600 channels between them and everything can be accessed from the radio after writing.

Sounds like it's hitting some error or exception that is being bypassed, allowing the codeplug to be generated and written but only containing 8 zones out of however many..

Cheers,
David MM7DBT
-73 de MM7DBT
DalexB2
Posts: 6
Joined: Fri Jan 02, 2026 10:30 pm
Callsign: K4GGL

Re: zones

Post by DalexB2 »

I am having the same issue myself. I have 12 zones created but only 5 make it to the radio.
User avatar
MM7DBT
Site Admin
200posts
Posts: 265
Joined: Wed Jun 02, 2021 6:59 pm
Location: Scotland
Callsign: MM7DBT

Re: zones

Post by MM7DBT »

Issue has been found.. and fixed :)
Just waiting to push an update out once I fix some other reported bugs.

--
MM7DBT wrote: Sat Jan 17, 2026 11:06 pm I see that the issue is that the ID's for each zone / channel are not unique.. duplicates exist.. which means the radio won't read past a certain point, from where the first duplicate is found..

As I had changed the underlying logic to ignore ID's and use names instead, the IDs were being allowed to exist more than once.
Also when re-ordering zones or channels, the ID's were no longer in chronological order, which again the radio refuses to read.

Using your JSON as an example.. opened in a text editor.. if you look at the Zone ID's.. they are;
1,2,3,4,5,12,12,7,9,16,13,15

After the 5th zone there is a duplicate.. and then in a random order with missing numbers in the sequence.. Hence why only the first 5 zones would appear on the radio.

-----

I have updated the code to re-generate the ID's for each zone and all channels within each zone when saving a codeplug or writing to the radio.
This means that all ID's are unique and chronological :)

I have a few other bug-fixes in progress so an update will be sent out soon.
-73 de MM7DBT
GREGN
Posts: 4
Joined: Sat Dec 27, 2025 7:16 pm
Callsign: W8GAN

Re: zones

Post by GREGN »

Thanks David. I'll try to keep and eye our for the update.
Greg
Post Reply