libdrmconf  0.12.0
A library to program DMR radios.
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
D878UVCodeplug::ExtendedSettingsElement Class Reference

General settings extension element for the D878UV. More...

#include <d878uv_codeplug.hh>

Inheritance diagram for D878UVCodeplug::ExtendedSettingsElement:
Inheritance graph
[legend]
Collaboration diagram for D878UVCodeplug::ExtendedSettingsElement:
Collaboration graph
[legend]

Classes

struct  Limit
 Some limits for the settings. More...
 
struct  Offset
 Internal used offset within the element. More...
 

Public Member Functions

 ExtendedSettingsElement (uint8_t *ptr)
 Constructor.
 
void clear ()
 Resets the settings.
 
bool sendTalkerAlias () const
 Returns true if the talker alias is sent.
 
void enableSendTalkerAlias (bool enable)
 Enables/disables sending the talker alias.
 
AnytoneDMRSettingsExtension::TalkerAliasSource talkerAliasSource () const
 Returns the talker alias source.
 
void setTalkerAliasSource (AnytoneDMRSettingsExtension::TalkerAliasSource mode)
 Sets the talker alias source.
 
AnytoneDMRSettingsExtension::TalkerAliasEncoding talkerAliasEncoding () const
 Returns the talker alias encoding.
 
void setTalkerAliasEncoding (AnytoneDMRSettingsExtension::TalkerAliasEncoding encoding)
 Sets the talker alias encoding.
 
virtual bool bluetoothPTTLatch () const
 Returns true if the BT PTT latch is enabled.
 
virtual void enableBluetoothPTTLatch (bool enable)
 Enables/disables bluetooth PTT latch.
 
virtual bool infiniteBluetoothPTTSleepDelay () const
 Returns true if the bluetooth PTT sleep delay is disabled (infinite).
 
virtual Interval bluetoothPTTSleepDelay () const
 Returns the bluetooth PTT sleep delay in minutes, 0=off.
 
virtual void setBluetoothPTTSleepDelay (Interval delay)
 Sets the bluetooth PTT sleep delay in minutes.
 
virtual void setInfiniteBluetoothPTTSleepDelay ()
 Sets the bluetooth PTT sleep delay to infinite/disabled.
 
virtual bool hasAutoRepeaterUHF2OffsetIndex () const
 Returns true if the auto repeater UHF 2 offset index is set.
 
virtual unsigned autoRepeaterUHF2OffsetIndex () const
 Returns the index of the UHF 2 offset frequency.
 
virtual void setAutoRepeaterUHF2OffsetIndex (unsigned idx)
 Sets the index of the UHF 2 offset frequency.
 
virtual void clearAutoRepeaterUHF2OffsetIndex ()
 Clears the auto repeater UHF 2 offset frequency index.
 
virtual bool hasAutoRepeaterVHF2OffsetIndex () const
 Returns true if the auto repeater VHF 2 offset index is set.
 
virtual unsigned autoRepeaterVHF2OffsetIndex () const
 Returns the index of the VHF 2 offset frequency.
 
virtual void setAutoRepeaterVHF2OffsetIndex (unsigned idx)
 Sets the index of the VHF 2 offset frequency.
 
virtual void clearAutoRepeaterVHF2OffsetIndex ()
 Clears the auto repeater VHF 2 offset frequency index.
 
virtual Frequency autoRepeaterVHF2MinFrequency () const
 Returns the minimum frequency in Hz for the auto-repeater VHF 2 band.
 
virtual void setAutoRepeaterVHF2MinFrequency (Frequency hz)
 Sets the minimum frequency in Hz for the auto-repeater VHF 2 band.
 
virtual Frequency autoRepeaterVHF2MaxFrequency () const
 Returns the maximum frequency in Hz for the auto-repeater VHF 2 band.
 
virtual void setAutoRepeaterVHF2MaxFrequency (Frequency hz)
 Sets the maximum frequency in Hz for the auto-repeater VHF 2 band.
 
virtual Frequency autoRepeaterUHF2MinFrequency () const
 Returns the minimum frequency in Hz for the auto-repeater UHF 2 band.
 
virtual void setAutoRepeaterUHF2MinFrequency (Frequency hz)
 Sets the minimum frequency in Hz for the auto-repeater UHF 2 band.
 
virtual Frequency autoRepeaterUHF2MaxFrequency () const
 Returns the maximum frequency in Hz for the auto-repeater UHF 2 band.
 
virtual void setAutoRepeaterUHF2MaxFrequency (Frequency hz)
 Sets the maximum frequency in Hz for the auto-repeater UHF 2 band.
 
virtual AnytoneGPSSettingsExtension::GPSMode gpsMode () const
 Returns the GPS mode.
 
virtual void setGPSMode (AnytoneGPSSettingsExtension::GPSMode mode)
 Sets the GPS mode.
 
virtual Interval steDuration () const
 Returns the STE (squelch tail elimination) duration.
 
virtual void setSTEDuration (Interval dur)
 Sets the STE (squelch tail elimination) duration.
 
virtual bool infiniteManDialGroupCallHangTime () const
 Returns true if the manual dialed group call hang time is infinite.
 
virtual Interval manDialGroupCallHangTime () const
 Returns the manual dial group call hang time.
 
virtual void setManDialGroupCallHangTime (Interval dur)
 Sets the manual dial group call hang time.
 
virtual void setManDialGroupCallHangTimeInfinite ()
 Sets the manual dial group call hang time to infinite.
 
virtual bool infiniteManDialPrivateCallHangTime () const
 Returns true if the manual dialed private call hang time is infinite.
 
virtual Interval manDialPrivateCallHangTime () const
 Returns the manual dial private call hang time.
 
virtual void setManDialPrivateCallHangTime (Interval dur)
 Sets the manual dial private call hang time.
 
virtual void setManDialPrivateCallHangTimeInfinite ()
 Sets the manual dial private call hang time to infinite.
 
AnytoneDisplaySettingsExtension::Color channelBNameColor () const
 Returns the color of the channel name for VFO B.
 
void setChannelBNameColor (AnytoneDisplaySettingsExtension::Color color)
 Sets the channel name color for the VFO B.
 
virtual AnytoneDMRSettingsExtension::EncryptionType encryption () const
 Returns the encryption mode.
 
virtual void setEncryption (AnytoneDMRSettingsExtension::EncryptionType mode)
 Sets the encryption mode.
 
virtual bool totNotification () const
 Returns true if the transmit timeout notification is enabled.
 
virtual void enableTOTNotification (bool enable)
 Enables/disables transmit timeout notification.
 
virtual bool atpc () const
 Returns true if the ATPC (Adaptiv Transmission Power Control) is enabled.
 
virtual void enableATPC (bool enable)
 Enables/disables the ATPC (Adaptiv Transmission Power Control).
 
AnytoneDisplaySettingsExtension::Color zoneANameColor () const
 Returns the color of the zone name for VFO A.
 
void setZoneANameColor (AnytoneDisplaySettingsExtension::Color color)
 Sets the zone name color for the VFO A.
 
AnytoneDisplaySettingsExtension::Color zoneBNameColor () const
 Returns the color of the zone name for VFO B.
 
void setZoneBNameColor (AnytoneDisplaySettingsExtension::Color color)
 Sets the zone name color for the VFO B.
 
virtual bool resetAutoShutdownOnCall () const
 Returns true if the auto-shutdown timer is reset on a call.
 
virtual void enableResetAutoShutdownOnCall (bool enable)
 Enables/disables reset on call of the auto-shutdown timer.
 
virtual bool showColorCode () const
 Returns true if the color code is shown.
 
virtual void enableShowColorCode (bool enable)
 Enables/disables display of color code.
 
virtual bool showTimeSlot () const
 Returns true if the time slot is shown.
 
virtual void enableShowTimeSlot (bool enable)
 Enables/disables display of time slot.
 
virtual bool showChannelType () const
 Returns true if the channel type is shown.
 
virtual void enableShowChannelType (bool enable)
 Enables/disables display of channel type.
 
virtual bool fmIdleTone () const
 Returns true if the FM idle channel tone is enabled.
 
virtual void enableFMIdleTone (bool enable)
 Enables/disables FM idle channel tone.
 
virtual AnytoneDisplaySettingsExtension::DateFormat dateFormat () const
 Returns the date format.
 
virtual void setDateFormat (AnytoneDisplaySettingsExtension::DateFormat format)
 Sets the date format.
 
virtual unsigned int fmMicGain () const
 Returns the FM Mic gain [1,10].
 
virtual void setFMMicGain (unsigned int gain)
 Sets the analog mic gain [1,10].
 
virtual bool gpsRoaming () const
 Returns true if the GPS roaming is enabled.
 
virtual void enableGPSRoaming (bool enable)
 Enables/disables GPS roaming.
 
virtual void callEndToneMelody (Melody &melody) const
 Returns the call-end tone melody.
 
virtual void setCallEndToneMelody (const Melody &melody)
 Sets the call-end tone melody.
 
virtual void allCallToneMelody (Melody &melody) const
 Returns the all-call tone melody.
 
virtual void setAllCallToneMelody (const Melody &melody)
 Sets the all-call tone melody.
 
virtual bool fromConfig (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
 Encodes the settings from the config.
 
virtual bool updateConfig (Context &ctx, const ErrorStack &err=ErrorStack())
 Update config from settings.
 
virtual bool linkConfig (Context &ctx, const ErrorStack &err=ErrorStack())
 Link config from settings extension.
 
- Public Member Functions inherited from Codeplug::Element
 Element (const Element &other)
 Copy constructor.
 
virtual ~Element ()
 Destructor.
 
Elementoperator= (const Element &other)
 Copy assignment.
 
virtual bool isValid () const
 Returns true if the pointer is not null.
 
bool fill (uint8_t value, unsigned offset=0, int size=-1)
 Fills the memsets the entire element to the given value.
 
bool getBit (const Offset::BitOffset &offset) const
 Reads a specific bit at the given byte-offset.
 
bool getBit (unsigned offset, unsigned bit) const
 Reads a specific bit at the given byte-offset.
 
void setBit (const Offset::BitOffset &offset, bool value=true)
 Sets a specific bit at the given byte-offset.
 
void setBit (unsigned offset, unsigned bit, bool value=true)
 Sets a specific bit at the given byte-offset.
 
void clearBit (unsigned offset, unsigned bit)
 Clears a specific bit at the given byte-offset.
 
uint8_t getUInt2 (unsigned offset, unsigned bit) const
 Reads a 2bit unsigned integer at the given byte- and bit-offset.
 
void setUInt2 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 2bit unsigned integer at the given byte- and bit-offset.
 
uint8_t getUInt3 (unsigned offset, unsigned bit) const
 Reads a 3bit unsigned integer at the given byte- and bit-offset.
 
void setUInt3 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 3bit unsigned integer at the given byte- and bit-offset.
 
uint8_t getUInt4 (unsigned offset, unsigned bit) const
 Reads a 4bit unsigned integer at the given byte- and bit-offset.
 
void setUInt4 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 4bit unsigned integer at the given byte- and bit-offset.
 
uint8_t getUInt5 (unsigned offset, unsigned bit) const
 Reads a 5bit unsigned integer at the given byte- and bit-offset.
 
void setUInt5 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 5bit iunsinged nteger at the given byte- and bit-offset.
 
uint8_t getUInt6 (unsigned offset, unsigned bit) const
 Reads a 6bit unsigned integer at the given byte- and bit-offset.
 
void setUInt6 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 6bit unsigned integer at the given byte- and bit-offset.
 
uint8_t getUInt8 (unsigned offset) const
 Reads a 8bit unsigned integer at the given byte- and bit-offset.
 
void setUInt8 (unsigned offset, uint8_t value)
 Reads a 8bit unsigned integer at the given byte- and bit-offset.
 
int8_t getInt8 (unsigned offset) const
 Reads a 8bit signed integer at the given byte- and bit-offset.
 
void setInt8 (unsigned offset, int8_t value)
 Reads a 8bit signed integer at the given byte- and bit-offset.
 
uint16_t getUInt16_be (unsigned offset) const
 Reads a 16bit big-endian unsigned integer at the given byte-offset.
 
uint16_t getUInt16_le (unsigned offset) const
 Reads a 16bit little-endian unsigned integer at the given byte-offset.
 
void setUInt16_be (unsigned offset, uint16_t value)
 Stores a 16bit big-endian unsigned integer at the given byte-offset.
 
void setUInt16_le (unsigned offset, uint16_t value)
 Stores a 16bit little-endian unsigned integer at the given byte-offset.
 
uint32_t getUInt24_be (unsigned offset) const
 Reads a 24bit big-endian unsigned integer at the given byte-offset.
 
uint32_t getUInt24_le (unsigned offset) const
 Reads a 24bit little-endian unsigned integer at the given byte-offset.
 
void setUInt24_be (unsigned offset, uint32_t value)
 Stores a 24bit big-endian unsigned integer at the given byte-offset.
 
void setUInt24_le (unsigned offset, uint32_t value)
 Stores a 24bit little-endian unsigned integer at the given byte-offset.
 
uint32_t getUInt32_be (unsigned offset) const
 Reads a 32bit big-endian unsigned integer at the given byte-offset.
 
uint32_t getUInt32_le (unsigned offset) const
 Reads a 32bit little-endian unsigned integer at the given byte-offset.
 
void setUInt32_be (unsigned offset, uint32_t value)
 Stores a 32bit big-endian unsigned integer at the given byte-offset.
 
void setUInt32_le (unsigned offset, uint32_t value)
 Stores a 32bit little-endian unsigned integer at the given byte-offset.
 
uint64_t getUInt64_be (unsigned offset) const
 Reads a 64bit big-endian unsigned integer at the given byte-offset.
 
uint64_t getUInt64_le (unsigned offset) const
 Reads a 64bit little-endian unsigned integer at the given byte-offset.
 
void setUInt64_be (unsigned offset, uint64_t value)
 Stores a 64bit big-endian unsigned integer at the given byte-offset.
 
void setUInt64_le (unsigned offset, uint64_t value)
 Stores a 64bit little-endian unsigned integer at the given byte-offset.
 
uint8_t getBCD2 (unsigned offset) const
 Reads a 2-digit (1-byte/8bit) BDC value in big-endian at the given byte-offset.
 
void setBCD2 (unsigned offset, uint8_t value)
 Stores a 2-digit (1-byte/8bit) BDC value in big-endian at the given byte-offset.
 
uint16_t getBCD4_be (unsigned offset) const
 Reads a 4-digit (2-byte/16bit) BDC value in big-endian at the given byte-offset.
 
void setBCD4_be (unsigned offset, uint16_t value)
 Stores a 4-digit (2-byte/16bit) BDC value in big-endian at the given byte-offset.
 
uint16_t getBCD4_le (unsigned offset) const
 Reads a 4-digit (2-byte/16bit) BDC value in little-endian at the given byte-offset.
 
void setBCD4_le (unsigned offset, uint16_t value)
 Stores a 4-digit (1-byte/16bit) BDC value in little-endian at the given byte-offset.
 
uint32_t getBCD8_be (unsigned offset) const
 Reads a 8-digit (4-byte/32bit) BDC value in big-endian at the given byte-offset.
 
void setBCD8_be (unsigned offset, uint32_t value)
 Stores a 8-digit (4-byte/32bit) BDC value in big-endian at the given byte-offset.
 
uint32_t getBCD8_le (unsigned offset) const
 Reads a 8-digit (4-byte/32bit) BDC value in little-endian at the given byte-offset.
 
void setBCD8_le (unsigned offset, uint32_t value)
 Stores a 8-digit (4-byte/32bit) BDC value in little-endian at the given byte-offset.
 
QString readASCII (unsigned offset, unsigned maxlen, uint8_t eos=0x00) const
 Reads up to maxlen ASCII chars at the given byte-offset using eos as the string termination char.
 
void writeASCII (unsigned offset, const QString &txt, unsigned maxlen, uint8_t eos=0x00)
 Stores up to maxlen ASCII chars at the given byte-offset using eos as the string termination char. More...
 
QString readUnicode (unsigned offset, unsigned maxlen, uint16_t eos=0x0000) const
 Reads up to maxlen unicode chars at the given byte-offset using eos as the string termination char.
 
void writeUnicode (unsigned offset, const QString &txt, unsigned maxlen, uint16_t eos=0x0000)
 Stores up to maxlen unicode chars at the given byte-offset using eos as the string termination char. More...
 

Static Public Member Functions

static constexpr unsigned int size ()
 Returns the size of the element.
 

Protected Member Functions

 ExtendedSettingsElement (uint8_t *ptr, unsigned size)
 Hidden Constructor.
 
- Protected Member Functions inherited from AnytoneCodeplug::ExtendedSettingsElement
 ExtendedSettingsElement (uint8_t *ptr, unsigned size)
 Hidden constructor.
 
- Protected Member Functions inherited from Codeplug::Element
 Element (uint8_t *ptr, size_t size)
 Hidden constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from Codeplug::Element
uint8_t * _data
 Holds the pointer to the element.
 
size_t _size
 Holds the size of the element.
 

Detailed Description

General settings extension element for the D878UV.

Memory representation of the encoded settings element (size 0x200 bytes):

        7   6   5   4   3   2   1   0   7   6   5   4   3   2   1   0   7   6   5   4   3   2   1   0   7   6   5   4   3   2   1   0
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0000  | Enable send alias             | Unused set to 0x00                                                                            |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0004  | Unknown settings                                                                                                              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0008  | Unknown settings                                                                                                              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
000c  | Unknown settings                                                                                                              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0010  | Unknown settings                                                                                                              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0014  | Unknown settings                                                                                                              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0018  | Unknown settings                                                                                                              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
001c  | Unknown settings                                              | Talker alias priority         | Talker alias encoding         |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0020  | Enable BT PTT latch           | Unknown                       | AutoRep UHF 2 offset index    | AutoRep VHF 2 offset index    |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0024  | AutoRep VHF 2 minimum frequency in 10Hz, 32 bit uint, little-endian.                                                          |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0028  | AutoRep VHF 2 maximum frequency in 10Hz, 32 bit uint, little-endian.                                                          |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
002c  | AutoRep UHF 2 minimum frequency in 10Hz, 32 bit uint, little-endian.                                                          |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0030  | AutoRep UHF 2 maximum frequency in 10Hz, 32 bit uint, little-endian.                                                          |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0034  | BT PTT sleep interval         | GPS mode                      | STE duration                  | Man dial group call hangtime  |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0038  | Man dial priv call hangtime   | Channel name B color          | Encryption type               | Enable TOT prediction         |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
003c  | Enable TX power AGC           | Zone name A color             | Zone name B color             | Auto shutdown mode            |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0040  |                   |DCC|DSl|DCT| FM idle channel tone enable   | Date format                   | FM mic gain [0,4]             |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0044  | GPS roaming enable            | Unknown setting               | Call end tone 1 in Hz, 16bit uint, little endian              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0048  | Call end tone 2 in Hz, 16bit uint, little endian              | Call end tone 3 in Hz, 16bit uint, little endian              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
004c  | Call end tone 4 in Hz, 16bit uint, little endian              | Call end tone 5 in Hz, 16bit uint, little endian              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0050  | Call end tone 1 duration in 10ms, 16bit uint, little endian   | Call end tone 2 duration in 10ms, 16bit uint, little endian   |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0054  | Call end tone 3 duration in 10ms, 16bit uint, little endian   | Call end tone 4 duration in 10ms, 16bit uint, little endian   |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0058  | Call end tone 5 duration in 10ms, 16bit uint, little endian   | All call tone 1 in Hz, 16bit uint, little endian              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
005c  | All call tone 2 in Hz, 16bit uint, little endian              | All call tone 3 in Hz, 16bit uint, little endian              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0060  | All call tone 4 in Hz, 16bit uint, little endian              | All call tone 5 in Hz, 16bit uint, little endian              |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0064  | All call tone 1 duration in 10ms, 16bit uint, little endian   | All call tone 2 duration in 10ms, 16bit uint, little endian   |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0068  | All call tone 3 duration in 10ms, 16bit uint, little endian   | All call tone 4 duration in 10ms, 16bit uint, little endian   |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
006c  | All call tone 5 duration in 10ms, 16bit uint, little endian   | Unknown settings                                           ...
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
01fc   ...                                                                                                                            |
      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

Field description:
  - Bluetooth settings:
    - BT PTT sleep interval: 0=Infinite, 1=1min, ..., 4=4min.
  - STE settings:
    - STE duration in multiples of 10ms. 0=10ms, ..., 24=250ms (default), ..., 99=1000ms.
  - Power save settings:
    - Auto shutdown mode: 0=Auto shutdown timer is reset on call, 1=timer is not reset on call.
  - Other settings:
    - Encryption type: 0=AES, 1=DMR standard
  - DMR settings:
    - Man dial group/private call hangtime: 0=1s, ..., 29=30s, 30=30min, 31=infinite.
  - Display settings:
    - Channel name B; zone name A/B color: 0=Orange, 1=Red, 2=Yellow, 3=Green, 4=Turquoise, 5=Blue, 6=White
    - DCT: Display channel type
    - DSl: Display slot
    - DCC: Display color code
    - Date format: 0=yyyy/mm/dd, 1=dd/mm/yyyy
  - GPS settings:
    - GPS mode: 0=GPS, 1=Beidou, 2=GPS+Beidou, 3=GLONASS, 4=GPS+GLONASS, 5=Beidou+GLONASS, 6=All 3
  - Auto repeater settings:
    - AutoRep VHF/UHF 2 offset index: 0-based, 0xff = off.
  - Audio settings:
    - FM mic gain 0=1 (default), ..., 4=5
  - Talker alias:
    - Talker alias priority 0=Off, 1=Contacts, 2=over-the-air
    - Talker alias encoding: 0=ISO-8, 1=ISO-7, 2=Unicode

The documentation for this class was generated from the following files: