Description
Documents the codeplug format for the BTECH DMR-6X2 UV device.
1004 Channel banks
Between 1 and 32 repetitions of Channel bank.
Description
A series of channel banks.
1005 Channel bank
Between 1 and 128 repetitions of Channel.
Description
A series of channels.
1006 Channel
Element of size 40h.
Description
Encodes a FM or DMR channel.
RX frequency
At address 0h: 32-bit bcd big-endian integer value (bcd8be).
Encodes the RX frequency in 10Hz.
TX frequency offset
At address 4h: 32-bit bcd big-endian integer value (bcd8be).
Encodes the RX frequency in 10Hz.
Repeater mode
At address 8h:7: Enumeration of size 0h:2, with 3 options.
| Value | Name | Description |
|---|---|---|
| 0 | simplex | Transmit frequency offset is ignored. Transmit and receive frequencies are the same. |
| 1 | positive | Transmit frequency offset is positive. Transmit frequency lays above the receive frequency. |
| 2 | positive | Transmit frequency offset is negative. Transmit frequency lays below the receive frequency. |
Unused data
At address 8h:5: Unused data of size 0h:1:
Bandwidth
At address 8h:4: Enumeration of size 0h:1, with 2 options. Specifies the FM bandwidth to use.
| Value | Name | Description |
|---|---|---|
| 0 | narrow | The FM bandwidth is set to 12.5kHz. |
| 1 | wide | The FM bandwidth is set to 25kHz. |
Power
At address 8h:3: Enumeration of size 0h:2, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | low | |
| 1 | mid | |
| 2 | high | |
| 3 | max |
Channel mode
At address 8h:1: Enumeration of size 0h:2, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | FM | |
| 1 | DMR | |
| 2 | FM + DMR RX | |
| 3 | DMR + FM RX |
Enable talk around
At address 9h:7: boolean value.
Enable call confirm
At address 9h:6: boolean value.
Enable RX only
At address 9h:5: boolean value.
Swap RX/TX
At address 9h:4: boolean value.
Swaps RX and TX frequencies.
Enable TX DCS tone
At address 9h:3: boolean value.
Enable TX CTCSS tone
At address 9h:2: boolean value.
Enable RX DCS tone
At address 9h:1: boolean value.
Enable RX CTCSS tone
At address 9h:0: boolean value.
TX CTCSS frequency
At address ah: Enumeration of size 1h, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | 62.5 Hz | |
| 1 | 67.9 Hz | |
| 2 | 69.3 Hz | |
| 3 | 71.9 Hz |
RX CTCSS frequency
At address bh: Enumeration of size 1h, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | 62.5 Hz | |
| 1 | 67.9 Hz | |
| 2 | 69.3 Hz | |
| 3 | 71.9 Hz |
TX DCS code
At address ch: 16-bit unsigned little-endian integer value (uint16le).
RX DCS code
At address eh: 16-bit unsigned little-endian integer value (uint16le).
Custom CTCSS frequency
At address 10h: 16-bit unsigned little-endian integer value (uint16le).
2-tone decode index
At address 12h: 16-bit unsigned little-endian integer value (uint16le).
Contact index
At address 14h: 32-bit unsigned little-endian integer value (uint32le).
Radio ID index
At address 18h: 8-bit unsigned integer value (uint8).
Unused data
At address 19h:7: Unused data of size 0h:1:
Squelch mode
At address 19h:6: Enumeration of size 0h:3, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | Carrier | |
| 1 | CTCSS/DCS | |
| 2 | Optional signaling | |
| 3 | CTCSS/DCS + optional signaling |
Unused data
At address 19h:3: Unused data of size 0h:4:
Unused data
At address 1ah:7: Unused data of size 0h:2:
Optional signaling
At address 1ah:5: Enumeration of size 0h:2, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | Off | |
| 1 | DTMF | |
| 2 | 2-tone | |
| 3 | 5-tone |
Unused data
At address 1ah:3: Unused data of size 0h:2:
Transmit permit criterion
At address 1ah:1: Enumeration of size 0h:2, with 3 options.
| Value | Name | Description |
|---|---|---|
| 0 | always | |
| 1 | colorcode | |
| 2 | channel free |
Unused data
At address 1bh:7: Unused data of size 0h:5:
Exclude channel from roaming
At address 1bh:2: boolean value.
Unused data
At address 1bh:1: Unused data of size 0h:1:
Ranging
At address 1bh:0: boolean value.
Group list index
At address 1ch: 8-bit unsigned integer value (uint8).
2-tone ID
At address 1dh: 8-bit unsigned integer value (uint8).
5-tone ID
At address 1eh: 8-bit unsigned integer value (uint8).
DTMF ID
At address 1fh: 8-bit unsigned integer value (uint8).
Color code
At address 20h: 8-bit unsigned integer value (uint8).
Enable lone worker
At address 21h:7: boolean value.
Enable enhanced encryption
At address 21h:6: boolean value.
Enable RX DMR-APRS
At address 21h:5: boolean value.
Enable adaptive TDMA
At address 21h:4: boolean value.
Unused bit
At address 21h:3: Unused data of size 0h:1: 00
Enable simplex TDMA
At address 21h:2: boolean value.
Enable SMS confirm
At address 21h:1: boolean value.
Time slot
At address 21h:0: Enumeration of size 0h:1, with 2 options.
| Value | Name | Description |
|---|---|---|
| 0 | Time slot 1 | |
| 1 | Time slot 2 |
AES encryption key index
At address 22h: 8-bit unsigned integer value (uint8).
Channe name
At address 23h: ASCII string of length (up to) 16 chars, 00h-padded.
Pad byte
At address 33h: Unused data of size 1h: 00
Unused bits
At address 34h:7: Unused data of size 0h:5: 00
Data ACK disable
At address 34h:2: boolean value.
Enable through mode
At address 34h:1: boolean value.
Unused bit
At address 34h:0: Unused data of size 0h:1: 00
Unused byte
At address 35h: Unused data of size 1h: 00
1006.1 New fixed repeat
Exactly 8 repetitions of Scan list index.
Scan list index
8-bit unsigned integer value (uint8).
ffh if not set/used.
APRS report channel index
At address 3eh: 8-bit unsigned integer value (uint8).
Unused bits
At address 3fh:7: Unused data of size 0h:6: 00
Enable ranging
At address 3fh:1: boolean value.
APRS report type
At address 3fh:0: Enumeration of size 0h:1, with 2 options.
| Value | Name | Description |
|---|---|---|
| 0 | DMR APRS | |
| 1 | FM APRS |
1007 VFO channels
Exactly 2 repetitions of VFO Channel.
1008 VFO Channel v2.10
Element of size 40h.
Description
Encodes a FM or DMR VFO channel.
RX frequency
At address 0h: 32-bit bcd big-endian integer value (bcd8be).
Encodes the RX frequency in 10Hz.
TX frequency offset
At address 4h: 32-bit bcd big-endian integer value (bcd8be).
Encodes the RX frequency in 10Hz.
Repeater mode
At address 8h:7: Enumeration of size 0h:2, with 3 options.
| Value | Name | Description |
|---|---|---|
| 0 | simplex | Transmit frequency offset is ignored. Transmit and receive frequencies are the same. |
| 1 | positive | Transmit frequency offset is positive. Transmit frequency lays above the receive frequency. |
| 2 | positive | Transmit frequency offset is negative. Transmit frequency lays below the receive frequency. |
Unused data
At address 8h:5: Unused data of size 0h:1:
Bandwidth
At address 8h:4: Enumeration of size 0h:1, with 2 options. Specifies the FM bandwidth to use.
| Value | Name | Description |
|---|---|---|
| 0 | narrow | The FM bandwidth is set to 12.5kHz. |
| 1 | wide | The FM bandwidth is set to 25kHz. |
Power
At address 8h:3: Enumeration of size 0h:2, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | low | |
| 1 | mid | |
| 2 | high | |
| 3 | max |
Channel mode
At address 8h:1: Enumeration of size 0h:2, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | FM | |
| 1 | DMR | |
| 2 | FM + DMR RX | |
| 3 | DMR + FM RX |
Enable talk around
At address 9h:7: boolean value.
Enable call confirm
At address 9h:6: boolean value.
Enable RX only
At address 9h:5: boolean value.
Enable CTCSS phase reversal
At address 9h:4: boolean value.
Enable TX DCS tone
At address 9h:3: boolean value.
Enable TX CTCSS tone
At address 9h:2: boolean value.
Enable RX DCS tone
At address 9h:1: boolean value.
Enable RX CTCSS tone
At address 9h:0: boolean value.
TX CTCSS frequency
At address ah: Enumeration of size 1h, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | 62.5 Hz | |
| 1 | 67.9 Hz | |
| 2 | 69.3 Hz | |
| 3 | 71.9 Hz |
RX CTCSS frequency
At address bh: Enumeration of size 1h, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | 62.5 Hz | |
| 1 | 67.9 Hz | |
| 2 | 69.3 Hz | |
| 3 | 71.9 Hz |
TX DCS code
At address ch: 16-bit unsigned little-endian integer value (uint16le).
RX DCS code
At address eh: 16-bit unsigned little-endian integer value (uint16le).
Custom CTCSS frequency
At address 10h: 16-bit unsigned little-endian integer value (uint16le).
2-tone decode index
At address 12h: 16-bit unsigned little-endian integer value (uint16le).
Contact index
At address 14h: 32-bit unsigned little-endian integer value (uint32le).
Radio ID index
At address 18h: 8-bit unsigned integer value (uint8).
Unused data
At address 19h:7: Unused data of size 0h:1:
Squelch mode
At address 19h:6: Enumeration of size 0h:3, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | Carrier | |
| 1 | CTCSS/DCS | |
| 2 | Optional signaling | |
| 3 | CTCSS/DCS + optional signaling |
Unused data
At address 19h:3: Unused data of size 0h:4:
Unused data
At address 1ah:7: Unused data of size 0h:2:
Optional signaling
At address 1ah:5: Enumeration of size 0h:2, with 4 options.
| Value | Name | Description |
|---|---|---|
| 0 | Off | |
| 1 | DTMF | |
| 2 | 2-tone | |
| 3 | 5-tone |
Unused data
At address 1ah:3: Unused data of size 0h:2:
Transmit permit criterion
At address 1ah:1: Enumeration of size 0h:2, with 3 options.
| Value | Name | Description |
|---|---|---|
| 0 | always | |
| 1 | colorcode | |
| 2 | channel free |
Unused data
At address 1bh:7: Unused data of size 0h:5:
Exclude channel from roaming
At address 1bh:2: boolean value.
Unused data
At address 1bh:1: Unused data of size 0h:1:
Ranging
At address 1bh:0: boolean value.
Group list index
At address 1ch: 8-bit unsigned integer value (uint8).
2-tone ID
At address 1dh: 8-bit unsigned integer value (uint8).
5-tone ID
At address 1eh: 8-bit unsigned integer value (uint8).
DTMF ID
At address 1fh: 8-bit unsigned integer value (uint8).
Color code
At address 20h: 8-bit unsigned integer value (uint8).
Enable lone worker
At address 21h:7: boolean value.
Enable enhanced encryption
At address 21h:6: boolean value.
Enable RX DMR-APRS
At address 21h:5: boolean value.
Enable adaptive TDMA
At address 21h:4: boolean value.
Unused bit
At address 21h:3: Unused data of size 0h:1: 00
Enable simplex TDMA
At address 21h:2: boolean value.
Enable SMS confirm
At address 21h:1: boolean value.
Time slot
At address 21h:0: Enumeration of size 0h:1, with 2 options.
| Value | Name | Description |
|---|---|---|
| 0 | Time slot 1 | |
| 1 | Time slot 2 |
AES encryption key index
At address 22h: 8-bit unsigned integer value (uint8).
Unused data
At address 23h: Unknown data of size 10h.
Pad byte
At address 33h: Unused data of size 1h: 00
Unused bits
At address 34h:7: Unused data of size 0h:5: 00
Data ACK disable
At address 34h:2: boolean value.
Enable through mode
At address 34h:1: boolean value.
Unused bit
At address 34h:0: Unused data of size 0h:1: 00
Unused byte
At address 35h: Unused data of size 1h: 00
1008.1 New fixed repeat
Exactly 8 repetitions of Scan list index.
Scan list index
8-bit unsigned integer value (uint8).
ffh if not set/used.
APRS report channel index
At address 3eh: 8-bit unsigned integer value (uint8).
Unused bits
At address 3fh:7: Unused data of size 0h:6: 00
Enable ranging
At address 3fh:1: boolean value.
APRS report type
At address 3fh:0: Enumeration of size 0h:1, with 2 options.
| Value | Name | Description |
|---|---|---|
| 0 | DMR APRS | |
| 1 | FM APRS |
1009 Zone channel lists
Up to 250 repetitions of Zone channel index list.
1010 Zone channel index list
Between 1 and 250 repetitions of Channel index.
Channel index
16-bit unsigned little-endian integer value (uint16le). Default value 0h.
1011 Roming channels
Up to 250 repetitions of Roming channel.
1012 Roming channel
Element of size 20h.
Unknown data
At address 0h: Unknown data of size 20h.
1013 Roming channel bitmap block
Element at address 1042000h of size 20h.
1013.1 Roaming channel bitmap
Exactly 250 repetitions of Roaming channel enable bit.
Roaming channel enable bit
boolean value.
Unused data
At address 1fh:5: Unused data of size 0h:6:
1014 Roming zones bitmap block
Element at address 1042080h of size 10h.
1014.1 Roaming zones bitmap
Exactly 64 repetitions of Roaming zone enable bit.
Roaming zone enable bit
boolean value.
Unused data
At address 8h: Unused data of size 8h:
1015 Roming zones
Up to 64 repetitions of Roaming zone.
1016 Roaming zone
Element of size 80h.
Unknown data
At address 0h: Unknown data of size 80h.
1017 Scan list banks
Up to 16 repetitions of Scan list bank.
1018 Scan list bank
Between 1 and 16 repetitions of Scan list.
1019 Scan list
Element of size 90h.
Unknown data
At address 0h: Unknown data of size 90h.
1020 Message index list
Between 1 and 100 repetitions of Unknown data.
Unknown data
Unknown data of size 10h.
1021 Message bytemap block
Element at address 1640800h of size 92h.
1021.1 Unnamed section
Exactly 100 repetitions of Message enable byte.
Message enable byte
8-bit unsigned integer value (uint8).
Unused data
At address 64h: Unused data of size 2eh:
1022 Message banks
Up to 12 repetitions of Message bank.
1023 Message bank
Between 1 and 8 repetitions of Unknown data.
Unknown data
Unknown data of size 100h.
1024 FM broadcast channel block
Element at address 2480000h of size 200h.
1024.1 FM broadcast channels
Exactly 100 repetitions of FM broadcast frequency in 100Hz.
FM broadcast frequency in 100Hz
32-bit bcd little-endian integer value (bcd8le).
Unused data
At address 190h: Unused data of size 70h:
1025 FM VFO frequency block
Element at address 2480200h of size 10h.
FM VFO frequency in 100Hz
At address 0h: 32-bit bcd little-endian integer value (bcd8le).
Unused data
At address 4h: Unused data of size ch:
1026 FM broadcast channel bitmap block
Element at address 2480210h of size 20h.
1026.1 Unnamed section
Exactly 100 repetitions of FM Channel enable bit.
FM Channel enable bit
boolean value.
Unused data
At address ch:3: Unused data of size 13h:4:
1027 5-tone encoding
Element at address 24c0000h of size 20h.
Unknown data
At address 0h: Unknown data of size 20h.
1028 5-tone encoding bitmap block
Element at address 24c0c80h of size 10h.
Unknown data
At address 0h: Unknown data of size 10h.
1029 5-tone ID list
Element at address 24c0d00h of size 200h.
Unknown data
At address 0h: Unknown data of size 200h.
1030 5-tone settings
Element at address 24c1000h of size 80h.
Unknown data
At address 0h: Unknown data of size 80h.
1031 DTMF settings
Element at address 24c1080h of size 50h.
Unknown data
At address 0h: Unknown data of size 50h.
1032 2-tone encoding
Element at address 24c1100h of size 10h.
Unknown data
At address 0h: Unknown data of size 10h.
1033 2-tone settings
Element at address 24c1280h of size 10h.
Unknown data
At address 0h: Unknown data of size 10h.
1034 2-tone encoding bitmap block
Element at address 24c1280h of size 10h.
Unknown data
At address 0h: Unknown data of size 10h.
1035 Zone bitmap block
Element at address 24c1300h of size 20h.
1035.1 Zone bitmap
Exactly 250 repetitions of Zone enable bit.
Zone enable bit
boolean value.
Unused data
At address 1fh:5: Unused data of size 0h:6:
1036 Radio ID bitmap block
Element at address 24c1320h of size 20h.
1036.1 Radio ID bitmap
Exactly 250 repetitions of Radio ID enable bit.
Radio ID enable bit
boolean value.
Unused data
At address 1fh:5: Unused data of size 0h:6:
1037 Scan list bitmap block
Element at address 24c1340h of size 20h.
1037.1 Scan list bitmap
Exactly 250 repetitions of Scan list enable bit.
Scan list enable bit
boolean value.
Unused bits
At address 1fh:5: Unused data of size 0h:6: 00
1038 Alarm settings
Element at address 24c1400h of size 20h.
Unknown data
At address 0h: Unknown data of size 20h.
1039 Digital alarm settings extension
Element at address 24c1440h of size 30h.
Unknown data
At address 0h: Unknown data of size 30h.
1040 Channel bitmap block
Element at address 24c1500h of size 200h.
1040.1 Unnamed section
Exactly 4000 repetitions of Channel bit.
Channel bit
boolean value.
Unused data
At address 1f4h: Unused data of size ch:
1041 DMR encryption key IDs
Exactly 32 repetitions of DMR encryption key ID.
DMR encryption key ID
32-bit unsigned big-endian integer value (uint32be).
1042 DMR encryption key IDs
Exactly 32 repetitions of Unknown data.
Unknown data
Unknown data of size 28h.
1043 Auto-repeater offset frequency block
Element at address 24c2000h of size 3f0h.
1043.1 Auto-repeater offset frequencies
Exactly 250 repetitions of Offset frequency in 10Hz.
Offset frequency in 10Hz
32-bit unsigned little-endian integer value (uint32le). Default value 0h.
Unused data
At address 3e8h: Unused data of size 8h:
1044 2-tone decoding
Element at address 24c2400h of size 10h.
Unknown data
At address 0h: Unknown data of size 10h.
1045 2-tone decoding bitmap block
Element at address 24c2600h of size 10h.
Unknown data
At address 0h: Unknown data of size 10h.
Unknown data
At address 24c2610h: Unknown data of size 20h.
Unknown data
At address 24c2630h: Unknown data of size 20h.
Unknown data
At address 24c3000h: Unknown data of size 20h.
Unknown data
At address 24c5000h: Unknown data of size 20h.
1046 General settings element
Element at address 2500000h of size e0h.
Unknown data
At address 0h: Unknown data of size e0h.
1047 Zone A/B index list block
Element at address 2500100h of size 400h.
1047.1 Zone A/B index list
Exactly 250 repetitions of Zone A/B index pair.
1047.2 Zone A/B index pair
Element of size 4h.
Channel A index
At address 0h: 16-bit unsigned little-endian integer value (uint16le).
Channel B index
At address 2h: 16-bit unsigned little-endian integer value (uint16le).
Unused data
At address 3e8h: Unused data of size 18h:
1048 DTMF List
Element at address 2500500h of size 100h.
Unknown data
At address 0h: Unknown data of size 100h.
1049 Boot settings
Element at address 2500600h of size 30h.
Unknown data
At address 0h: Unknown data of size 30h.
1050 APRS Settings
Element at address 2501000h of size a0h.
Unknown data
At address 0h: Unknown data of size a0h.
1051 APRS text block
Element at address 2501200h of size 40h.
At address 0h: ASCII string of length (up to) 60 chars, 00h-padded.
Unused data
At address 3ch: Unused data of size 4h:
1052 DMR APRS message block
Element at address 2501280h of size 30h.
At address 0h: ASCII string of length (up to) 40 chars, 00h-padded.
Unused data
At address 28h: Unused data of size 8h:
1053 Extended settings
Element at address 2501400h of size 30h.
Unknown data
At address 0h: Unknown data of size 30h.
1054 Zone names
Up to 250 repetitions of Zone name.
Zone name
ASCII string of length (up to) 32 chars, 00h-padded.
1055 Radio IDs
Between 1 and 250 repetitions of Radio ID.
1056 Radio ID
Element of size 20h.
Unknown data
At address 0h: Unknown data of size 20h.
1057 Analog quick call block
Element at address 25c0000h of size 10h.
1057.1 Analog quick calls
Exactly 4 repetitions of Unknown data.
Unknown data
Unknown data of size 4h.
1058 Status messages
Exactly 32 repetitions of Unknown data.
Unknown data
Unknown data of size 20h.
1059 Hotkey settings
Exactly 18 repetitions of Unknown data.
Unknown data
Unknown data of size 30h.
1060 Status message bitmap
Element at address 25c0b00h of size 10h.
Unknown data
At address 0h: Unknown data of size 10h.
1061 Group list bitmap block
Element at address 25c0b10h of size 20h.
1061.1 Group list bitmap
Exactly 250 repetitions of Group list enable bit.
Group list enable bit
boolean value.
Unused data
At address 1fh:5: Unused data of size 0h:6: 00
1062 AES encryption keys
Exactly 256 repetitions of Unknown data.
Unknown data
Unknown data of size 40h.
1063 Contact index list
Up to 10000 repetitions of Contact index.
Contact index
32-bit unsigned little-endian integer value (uint32le).
1064 Contact bitmap block
Element at address 2640000h of size 4e2h.
1064.1 Contact bitmap
Exactly 10000 repetitions of Contact disable bit.
Contact disable bit
boolean value.
1065 Contact bank
Up to 10000 repetitions of Contact.
1066 Contact
Element of size 1h.
Type
At address 0h: 8-bit unsigned integer value (uint8).
1067 DTMF Contact index list
Exactly 128 repetitions of DTMF contact index.
DTMF contact index
8-bit unsigned integer value (uint8).
1068 DTMF Contact bytemap
Exactly 128 repetitions of DTMF contact enable byte.
DTMF contact enable byte
8-bit unsigned integer value (uint8).
1069 DTMF Contacts
Up to 128 repetitions of DTMF Contact.
1070 DTMF Contact
Element of size 18h.
Unknown data
At address 0h: Unknown data of size 18h.
1071 Group lists
Up to 250 repetitions of Group list.
1072 Group list
Element of size 120h.
Unknown data
At address 0h: Unknown data of size 120h.
1073 Contact-DMR ID index
Up to 10000 repetitions of None.
1074 Unnamed section
Element of size 8h.
At address 0h: 32-bit unsigned little-endian integer value (uint32le).
At address 4h: 32-bit unsigned little-endian integer value (uint32le).