LibDMRConf
0.5.0
A library to program DMR radios.
|
Represents a single emergency system within the radio. More...
#include <uv390_codeplug.hh>
Public Types | |
enum | AlarmType { DISABLED = 0, REGULAR = 1, SILENT = 2, SILENT_W_VOICE = 3 } |
Possible alarm type for the system. More... | |
enum | AlarmMode { ALARM = 0, ALARM_W_CALL = 1, ALARM_W_VOICE = 2 } |
Possible alarm modes for the system. More... | |
Public Member Functions | |
system_t () | |
Default constructor. | |
void | clear () |
Resets and invalidates emergency system. | |
bool | isValid () const |
Retruns true, if the emergency system is valid (enabled). | |
Public Attributes | |
uint16_t | name [16] |
System name 16 x 16bit unicode 0x0000 terminated. | |
uint8_t | alarm_type: 2 |
Alarm type. | |
uint8_t | _unknown_32_2: 2 |
Unknown set to 0b11. | |
uint8_t | alarm_mode: 2 |
Alarm mode. | |
uint8_t | _unknown_32_6: 2 |
Unknown set to 0b01. | |
uint8_t | impolite_retires |
Number of impolite retries [1-15], default=15. | |
uint8_t | polite_retries |
Number of polite retires [0-14], default=5, 0x0f=infinite. | |
uint8_t | hot_mic_dur |
Hot microphone duration in seconds in 10s steps, [10-120], default=10. | |
uint16_t | revert_channel |
Revert channel index+1, 0xfffe Selected, 0x0000 System disabled. | |
uint16_t | _unused_37 |
Unused, set to 0xffff. | |
Represents a single emergency system within the radio.