what are the maximums?

OpenGD77CPS
AF6MQ
Posts: 31
Joined: Thu Jan 09, 2020 4:04 am
Location: CM88DV
Contact:

what are the maximums?

Post by AF6MQ » Mon Aug 26, 2024 3:51 am

i've searched thru the manual, and the forums, all i found was max-channels-per-zone = 80.

is there a list of maximums for the codeplug?
how many channels max?
how many zones max?
how many characters for channel name, zone name, etc?
forbidden characters in the names of things?
any other restrictions? (like "None" and not "NONE" saw that recently)

or is there a .h in the source that might list all these things?
how about which source file deals with the codeplug read/write etc?

reason: been dinking around with the repeaterbook export/convert stuff that posted lately and would save a lot of trouble to do pre-checks while in .csv etc.

thanks,
--gaspo.

G4EML
Posts: 1056
Joined: Sat Nov 16, 2019 10:01 am

Re: what are the maximums?

Post by G4EML » Mon Aug 26, 2024 9:14 am

Number of Contacts = 1024
Number of Channels = 1024
Number of Zones = 68
Number of Channels in a Zone = 80
Number of TG lists = 76
Number of TGs in a TG List = 32

Channel name characters = 16
Zone name characters = 16

VK3KYY
Posts: 8682
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: what are the maximums?

Post by VK3KYY » Mon Aug 26, 2024 10:14 am

In addition to what Colin has written

The firmware display font is 8 bit, so only a limited subset of characters are allowed.

The font / character set is based on ASCII with special mapping to allow some accented and non-latin characters to be supported, but in general you should avoid any characters apart from A-Z a-z 0-9 and space
The full character set mapping is complicated and if you really need the full data on this, you would need to download the last source code release for any supported radio and look For Example in the UV380 code, at /application/include/HX9535E_charset.h

KB0PCH
Posts: 61
Joined: Wed Apr 12, 2023 6:25 am

Re: what are the maximums?

Post by KB0PCH » Tue Aug 27, 2024 12:13 am

VK3KYY wrote: ↑
Mon Aug 26, 2024 10:14 am
The font / character set is based on ASCII with special mapping to allow some accented and non-latin characters to be supported, but in general you should avoid any characters apart from A-Z a-z 0-9 and space
I noticed a comma and period look the same. Just an observation for those thinking of contact names and how their home QTH might be displayed (if you include that).

AF6MQ
Posts: 31
Joined: Thu Jan 09, 2020 4:04 am
Location: CM88DV
Contact:

Re: what are the maximums?

Post by AF6MQ » Sat Sep 07, 2024 10:34 pm

thank you both, exactly what i needed.

repeaterbook does have a export to opengd option but it seems its an older version of the codeplug. is there any place the complete codeplug layout is listed? is the codeplug layout the same for the different radios? ( i assume not from what i've seen so far, ie, QDMR will read from my ogd gd77 ok but from my ogd uv390 about half the codeplug is ascii garbage when read).

i'm really keen to get bigger fonts on my uv390 and having a go at raking the source to understand these things. is there any "guide to the source" type docs or notes anywhere? i'd be willing to write such as i go along. ref: i'm an oldschool unix hack, used to build kernels from source back in the sunos days, but not really up to speed on the rtos details and best practices. i'd like to do my additions so that it fits into the tree as seamless as possible.

thanks again to the dev team, you've made my ham radio experience so much better!

--gaspo.

VK3KYY
Posts: 8682
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: what are the maximums?

Post by VK3KYY » Sat Sep 07, 2024 11:15 pm

AF6MQ wrote: ↑
Sat Sep 07, 2024 10:34 pm
is there any "guide to the source" type docs or notes anywhere?

No.

This would be impossible / impractical / hugely time consuming and a maintenance nightmare.

AF6MQ
Posts: 31
Joined: Thu Jan 09, 2020 4:04 am
Location: CM88DV
Contact:

Re: what are the maximums?

Post by AF6MQ » Sun Sep 08, 2024 2:23 am

VK3KYY wrote: ↑
Sat Sep 07, 2024 11:15 pm
AF6MQ wrote: ↑
Sat Sep 07, 2024 10:34 pm
is there any "guide to the source" type docs or notes anywhere?

No.

This would be impossible / impractical / hugely time consuming and a maintenance nightmare.
ok, do you have any suggestions on how to go about mucking with the source that respects your awesome work and keeps the tree intact? is there a git-submit type approach? or just do patch-diff? i'm all ears here so any suggestions or directions would be super appreciated. i can just dive in and make the mods i want but that's not likely the best way to stay compatible etc.

VK3KYY
Posts: 8682
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: what are the maximums?

Post by VK3KYY » Sun Sep 08, 2024 3:40 am

AF6MQ wrote: ↑
Sun Sep 08, 2024 2:23 am
...
is there a git-submit type approach?
or just do patch-diff?

i'm all ears here so any suggestions or directions would be super appreciated. i can just dive in and make the mods i want but that's not likely the best way to stay compatible etc.
(1) No.
(2) No.
(3) It is entirely dependant upon what you change and what may possible change in the master souce code. We don't have a crystal ball about what will change in the codebase in the future.

AF6MQ
Posts: 31
Joined: Thu Jan 09, 2020 4:04 am
Location: CM88DV
Contact:

Re: what are the maximums?

Post by AF6MQ » Sun Sep 08, 2024 3:46 am

ok then, what do you suggest? fork my own branch? submit mods to you? keep everything as #defines? i'm sorry if this is a bother to you, i want to contribute without breaking anything or making any problems for you.

User avatar
PU2UMK
Posts: 17
Joined: Sat Mar 15, 2025 2:41 am
Location: Mogi Mirim, Brazil

Re: what are the maximums?

Post by PU2UMK » Tue Mar 18, 2025 3:44 pm

G4EML wrote: ↑
Mon Aug 26, 2024 9:14 am
Number of Contacts = 1024
Number of Channels = 1024
Number of Zones = 68
Number of Channels in a Zone = 80
Number of TG lists = 76
Number of TGs in a TG List = 32

Channel name characters = 16
Zone name characters = 16
Are these still the limits for the Retevis RT3S?