libdrmconf  0.12.0
A library to program DMR radios.
Static Public Member Functions | Protected Types | List of all members
RadioddityCodeplug::ButtonSettingsElement::KeyFunction Struct Reference

Encoding/decoding of function key actions. More...

#include <radioddity_codeplug.hh>

Static Public Member Functions

static uint8_t encode (RadioddityButtonSettingsExtension::Function func)
 Encodes the given function.
 
static RadioddityButtonSettingsExtension::Function decode (uint8_t action)
 Decodes the action.
 

Protected Types

enum  Action {
  None = 0x00 , ToggleAllAlertTones = 0x01 , EmergencyOn = 0x02 , EmergencyOff = 0x03 ,
  ToggleMonitor = 0x05 , NuiaceDelete = 0x06 , OneTouch1 = 0x07 , OneTouch2 = 0x08 ,
  OneTouch3 = 0x09 , OneTouch4 = 0x0a , OneTouch5 = 0x0b , OneTouch6 = 0x0c ,
  ToggleRepeatTalkaround = 0x0d , ToggleScan = 0x0e , TogglePrivacy = 0x10 , ToggleVox = 0x11 ,
  ZoneSelect = 0x12 , BatteryIndicator = 0x13 , ToggleLoneWorker = 0x14 , PhoneExit = 0x16 ,
  ToggleFlashLight = 0x1a , ToggleFMRadio = 0x1b
}
 Possible function key actions. More...
 

Detailed Description

Encoding/decoding of function key actions.

Member Enumeration Documentation

◆ Action

Possible function key actions.

Enumerator
None 

Disables button.

ToggleMonitor 

Toggle monitor on channel.

OneTouch1 

Performs the first of 6 user-programmable actions (call, message).

OneTouch2 

Performs the second of 6 user-programmable actions (call, message).

OneTouch3 

Performs the third of 6 user-programmable actions (call, message).

OneTouch4 

Performs the fourth of 6 user-programmable actions (call, message).

OneTouch5 

Performs the fifth of 6 user-programmable actions (call, message).

OneTouch6 

Performs the sixt of 6 user-programmable actions (call, message).


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