Feature #11110
openAdd tone support
0%
Description
Currently there is no tone support (DTMF/2TONE/5TONE)
I have started to reverse engineer the file format for the 5 tones config :
13E0->15DF : 5 tone encore memories (16*32)
0->3 : 8 digits hexa
4 : digit numbers (uint8)
5 à 20 : unused ?? always 20 ?
21 : bit 5 ANI/OFF le reste à 0 inutilisé ?
22->27 : name (ascii)
28 : length of name (uint8)
29->31 : unused ?
15E0->15FF : config 5 tones
0->3 : OwnID (hexa)
4 : OwnID length
5 : ? always 0
6 : ?
7 : bits 0->3 First digit length *100ms
8 : ?
9 : bits 0->1 GROUP CODE (A/B/C/D)
10 : bits 0->3 5T TYPE (ZVEI1=1/PZVEI1/ZVEI2/.../CCITT=13)
11 : ?
12->15 : PTTID BEGIN (hexa)
16 : PTTID BEGIN length
17->20 : PTTID END (hexa)
21 : PTTID END length
25 : Tone length (uint8)
26->31 : unused (always 20) ?
1600->1660 : 5 tone decode memories (4*8)
0 : bits 0/1/2 : select/stun/kill/wake bit 3 : active bits 4->7 unused (always 0 ?)
1->6 : 12 digits hexa
7 : length (unint8)
8->13 : Name
14 : name length
15 : unused (always 20) ?
In the channel memories at offset 14 there is the PTT tones settings :
bit 3 : DTMF PTTID BEGIN
bit 4 : DTMF PTTID END
bit 5 : 5 TONE PTTID BEGIN
bit 6 : 5 TONE PTTID END
work still needed for DTMF and 2 tones support
I'm willing to work on a patch but I'm having trouble finding directions on how to setup a build environment.
Updated by Jim Unroe 10 months ago
I'm willing to work on a patch but I'm having trouble finding directions on how to setup a build environment.
Sounds great. Thank you for volunteering.
Developers Links: Developers
Developers Environment: DevelopersPython3Environment
I would recommend that you join the chirp_devel mailing list. It is a more appropriate place for development questions and more eyes will see them.
Updated by Cyril VELTER 10 months ago
Thanks for the tips. I now have a working dev environnement.
I just submitted a pull request with some small fixes about th_uv88 just to see that everything is ok. I will submit the changes for tones support in the next weeks.
I'm wondering if there is a way to display an array in the setting tree (instead of just a list of value) ? For exemple I have some DTMF code list where each code have a type and a name.