Project

General

Profile

Actions

Feature #11110

open

Add tone support

Added by Cyril VELTER 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/29/2024
Due date:
% Done:

0%

Estimated time:
Chirp Version:
next
Model affected:
TYT TH-UV88
I read the instructions above:
Yes

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.

Actions

Also available in: Atom PDF