|
libdrmconf 0.13.3
A library to program DMR radios.
|
Certain flags passed to CodePlug::encode to control the transfer and encoding of the codeplug. More...
#include <codeplug.hh>


Public Member Functions | |
| Flags () | |
| Default constructor, enables code-plug update and disables automatic GPS/APRS and roaming. | |
| bool | updateCodeplug () const |
If true, the codeplug will first be downloaded from the device, updated from the abstract config and then written back to the device. | |
| void | setUpdateCodeplug (bool enable) |
| Sets if the codeplug gets updated. | |
| bool | autoEnableGPS () const |
If true enables GPS when there is a GPS or APRS system defined that is used by any channel. | |
| void | setAutoEnableGPS (bool enable) |
| Sets if the GPS gets enabled automatically. | |
| bool | autoEnableRoaming () const |
If true enables automatic roaming when there is a roaming zone defined that is used by any channel. | |
| void | setAutoEnableRoaming (bool enable) |
| Sets if roaming gets enabled automatically. | |
Public Member Functions inherited from TransferFlags | |
| TransferFlags () | |
| Default constructor. | |
| TransferFlags (bool blocking, bool updateDeviceClock) | |
| Constructor. | |
| bool | blocking () const |
Returns true if the transfer is blocking. | |
| void | setBlocking (bool enable) |
| Set if transfer is blocking. | |
| bool | updateDeviceClock () const |
Returns true if the device clock gets updated during transfer. | |
| void | setUpdateDeviceClock (bool enable) |
| Sets if the device clock gets updated during the transfer. | |
Protected Attributes | |
| bool | _updateCodeplug |
| bool | _autoEnableGPS |
| bool | _autoEnableRoaming |
Protected Attributes inherited from TransferFlags | |
| bool | _blocking |
If true, the transfer is blocking. | |
| bool | _updateDeviceClock |
If true, the device clock gets updated during the transfer. | |
Certain flags passed to CodePlug::encode to control the transfer and encoding of the codeplug.
| bool Codeplug::Flags::autoEnableGPS | ( | ) | const |
If true enables GPS when there is a GPS or APRS system defined that is used by any channel.
This may cause automatic transmissions, hence the default is false.
| bool Codeplug::Flags::autoEnableRoaming | ( | ) | const |
If true enables automatic roaming when there is a roaming zone defined that is used by any channel.
This may cause automatic transmissions, hence the default is false.
| bool Codeplug::Flags::updateCodeplug | ( | ) | const |
If true, the codeplug will first be downloaded from the device, updated from the abstract config and then written back to the device.
This maintains the user-settings made within the device or manufacturer CPS. If false, the code-plug gets overridden entirely using some default settings. Default true.