LibDMRConf  0.5.0
A library to program DMR radios.
Public Types | Public Attributes | List of all members
D878UVCodeplug::hotkey_t Struct Reference

Represents hot-key settings. More...

#include <d878uv_codeplug.hh>

Public Types

enum  Type { HOTKEY_CALL = 0, HOTKEY_MENU = 1 }
 Hot-key types. More...
 
enum  MenuItem {
  HOTKEY_MENU_SMS = 1, HOTKEY_MENU_NEW_SMS = 2, HOTKEY_MENU_HOT_TEXT = 3, HOTKEY_MENU_RX_SMS = 4,
  HOTKEY_MENU_TX_SMS = 5, HOTKEY_MENU_CONTACT = 6, HOTKEY_MENU_MANUAL_DIAL = 7, HOTKEY_MENU_CALL_LOG = 8
}
 Possible menu hot-key settings. More...
 
enum  CallType { HOTKEY_CALL_ANALOG = 0, HOTKEY_CALL_DIGITAL = 1 }
 Possible hot-key calls. More...
 
enum  DigiCallType {
  HOTKEY_DIGI_CALL_OFF = 0xff, HOTKEY_GROUP_CALL = 0, HOTKEY_PRIVATE_CALL = 1, HOTKEY_ALLCALL = 2,
  HOTKEY_HOT_TEXT = 3, HOTKEY_CALL_TIP = 4, HOTKEY_STATE = 5
}
 Possible digital call types. More...
 

Public Attributes

uint8_t type
 Type of the hot-key, see Type.
 
uint8_t meun_item
 The menu item if type=HOTKEY_MENU, see MenuItem.
 
uint8_t call_type
 The call type if type=HOTKEY_CALL, see CallType.
 
uint8_t digi_call_type
 The digital call variant if call_type=HOTKEY_CALL_ANALOG, see DigiCallType.
 
uint32_t call_obj
 32bit index of contact to call, little-endian. More...
 
uint8_t content
 Content index, 0xff=none. More...
 
uint8_t _unused9 [39]
 Unused, set to 0x00.
 

Detailed Description

Represents hot-key settings.

Member Enumeration Documentation

◆ CallType

Possible hot-key calls.

Enumerator
HOTKEY_CALL_ANALOG 

Perform an analog call.

HOTKEY_CALL_DIGITAL 

Perform a digital call.

◆ DigiCallType

Possible digital call types.

Enumerator
HOTKEY_DIGI_CALL_OFF 

Call disabled.

HOTKEY_GROUP_CALL 

Perform a group call.

HOTKEY_PRIVATE_CALL 

Perform private call.

HOTKEY_ALLCALL 

Perform all call.

HOTKEY_HOT_TEXT 

Send a text message.

HOTKEY_CALL_TIP 

Send a call tip (?).

HOTKEY_STATE 

Send a state message.

◆ MenuItem

Possible menu hot-key settings.

Enumerator
HOTKEY_MENU_SMS 

Show SMS menu.

HOTKEY_MENU_NEW_SMS 

Create new SMS.

HOTKEY_MENU_HOT_TEXT 

Send a hot-text.

HOTKEY_MENU_RX_SMS 

Show SMS inbox.

HOTKEY_MENU_TX_SMS 

Show SMS outbox.

HOTKEY_MENU_CONTACT 

Show contact list.

HOTKEY_MENU_MANUAL_DIAL 

Show manual dial.

HOTKEY_MENU_CALL_LOG 

Show call log.

◆ Type

Hot-key types.

Enumerator
HOTKEY_CALL 

Perform a call.

HOTKEY_MENU 

Show a menu item.

Member Data Documentation

◆ call_obj

uint32_t D878UVCodeplug::hotkey_t::call_obj

32bit index of contact to call, little-endian.

0xffffffff=off. If call_type=HOTKEY_CALL_ANALOG, index of analog quick call. If call_type=HOTKEY_CALL_DIGIAL, index of any contact (see contact_t).

◆ content

uint8_t D878UVCodeplug::hotkey_t::content

Content index, 0xff=none.

If digi_call_type=HOTKEY_HOT_TEXT, index of message. If digi_call_type=HOTKEY_STATE, index of state message.


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