Project

General

Profile

Bug #10915 » offsets.txt

Marcos Vives, 10/30/2023 04:22 PM

 
1
0x8000-0x8007: VFO A frequency in BCD (446.00625MHz = 0x04 0x04 0x05 0x00 0x00 0x06 0x02 0x05)
2
0x8008-0x8009: VFO A R-CTCSS/DCS
3
0x800A-0x800B: VFO A T-CTCSS/DCS
4
0x800E[bits 3-0]: VFO A S-Code (0 to 14, so S-CODE 1 is stored as 0, S-CODE 2 as 1, and so on)
5
0x800E[bits 5-4]: VFO A SFT (0 = off, 1 = +, 2 = -)
6
0x8010[bits 1-0]: VFO A transmit power (0 = high, 1 = low, 2 = mid)
7
0x8010[bits 3-2]: VFO A scramble (0 = off, 1 = scramble 1, 2 = scramble 2)
8
0x8011[bits 5-4]: VFO A voice privacy (0 = off, 1 = ENCRY1, 2 = ENCRY2, 3 = ENCRY3)
9
0x8011[bit 6]: VFO A bandwidth (0 = 25KHz, 1 = 12.5KHz)
10
0x8013: VFO A step
11

    
12
0x8020-0x803F: VFO B settings (same layout as VFO A)
13

    
14
0x9000: squelch
15
0x9001: battery save mode
16
0x9002: VOX level (off + 1 to 9)
17
0x9003: ABR
18
0x9004: TDR
19
0x9005: transmit time out
20
0x9006: keyboard beep (0 = off, 1 = on)
21
0x9007: voice prompt (0 = off, 1 = on)
22
0x9008: language (0 = en, 1 = cn)
23
0x9009: DTMF-ST (0 = off, 1 = dt-st, 2 = ani-st, 3 = dt+ani)
24
0x900A: SC-REV
25
0x900B: DTMF CODE (0 = off, 1 = beggining of transmission, 2 = end of transmission, 3 = both)
26
0x900C: PTT-LT
27
0x900D: MDF-A
28
0x900E: MDF-B
29
0x900F: BCL (0 = off, 1 = on)
30
0x9010: auto lock
31
0x9011: alarm mode
32
0x9013: dual tx
33
0x9014: STE
34
0x9015: RP-STE
35
0x9016: RPT-RL
36
0x9017: roger beep
37
0x9018: current main (0 = A, 1 = B)
38
0x901A: workmode A + B
39
0x901C: power on message (0 = logo, 1 = voltage)
40
0x901E: pilot tone
41
0x9020: VOX delay
42
0x9021: menu auto exit
43
0x9022: tail code (0 = 55hz, 1 = 62.5hz)
44
0x9029: CTCSS/DCS save mode (0 = both, 1 = rx, 2 = tx)
45
0x902A: ANI
46
0x902B: PF2 short (off/radio/tx power/scan/search/light/noaa/moni/ptt b, same values as current one)
47
0x902C: PF2 long (off/radio/tx power/scan/search/light/noaa/moni)
48
0x902D: PF3 short (off/radio/tx power/scan/search/light/noaa/moni)
49
0x902E: top button (off/radio/tx power/scan/search/light/noaa/moni)
50
0x902F: rx end tail
51
0x9030: PF3 long (off/radio/tx power/scan/search/light/noaa/moni)
52

    
53
Notes
54
=====
55

    
56
CTCSS/DCS encoding
57
--------------
58

    
59
CTCSS/DCS is a two-byte value encoded in little endian. DCS and CTCSS cannot be both enabled.
60

    
61
  - 0x0000 is CTCSS off
62
  - CTCSS is stored as the frequency in Hz * 10, so 69.3Hz is stored as 693 in decimal, or
63
    0xB5 0x02 in hex.
64
  - DCS is stored as an index between 1 (D023N) to 210 (D754I).
65

    
66

    
(9-9/17)