LibDMRConf
0.5.0
A library to program DMR radios.
|
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. | |
Represents hot-key settings.
Possible menu hot-key settings.
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
).
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.