|
| APRSSettingsElement (uint8_t *ptr) |
| Constructor.
|
|
void | clear () |
| Resets the settings.
|
|
bool | isValid () const |
| Returns true if the pointer is not null.
|
|
virtual Interval | fmTXDelay () const |
| Returns the TX delay in ms.
|
|
virtual void | setFMTXDelay (Interval ms) |
| Sets the TX delay in ms.
|
|
virtual Signaling::Code | txTone () const |
| Returns the sub tone settings.
|
|
virtual void | setTXTone (Signaling::Code code) |
| Sets the sub tone settings.
|
|
virtual Interval | manualTXInterval () const |
| Returns the manual TX interval in seconds.
|
|
virtual void | setManualTXInterval (Interval sec) |
| Sets the manual TX interval in seconds.
|
|
virtual bool | autoTX () const |
| Returns true if the auto transmit is enabled.
|
|
virtual Interval | autoTXInterval () const |
| Returns the auto TX interval in seconds.
|
|
virtual void | setAutoTXInterval (Interval sec) |
| Sets the auto TX interval in seconds.
|
|
virtual void | disableAutoTX () |
| Disables auto tx.
|
|
virtual bool | fixedLocationEnabled () const |
| Returns true if a fixed location is sent.
|
|
virtual QGeoCoordinate | fixedLocation () const |
| Returns the fixed location send.
|
|
virtual void | setFixedLocation (QGeoCoordinate &loc) |
| Sets the fixed location to send.
|
|
virtual void | disableFixedLocation () |
| Disables sending a fixed location.
|
|
virtual QString | destination () const |
| Returns the destination call.
|
|
virtual unsigned | destinationSSID () const |
| Returns the destination SSID.
|
|
virtual void | setDestination (const QString &call, unsigned ssid) |
| Sets the destination call & SSID.
|
|
virtual QString | source () const |
| Returns the source call.
|
|
virtual unsigned | sourceSSID () const |
| Returns the source SSID.
|
|
virtual void | setSource (const QString &call, unsigned ssid) |
| Sets the source call & SSID.
|
|
virtual QString | path () const |
| Returns the path string.
|
|
virtual void | setPath (const QString &path) |
| Sets the path string.
|
|
virtual APRSSystem::Icon | icon () const |
| Returns the APRS icon.
|
|
virtual void | setIcon (APRSSystem::Icon icon) |
| Sets the APRS icon.
|
|
virtual Channel::Power | power () const |
| Returns the transmit power.
|
|
virtual void | setPower (Channel::Power power) |
| Sets the transmit power.
|
|
virtual Interval | fmPreWaveDelay () const |
| Returns the pre-wave delay in ms.
|
|
virtual void | setFMPreWaveDelay (Interval ms) |
| Sets the pre-wave delay in ms.
|
|
virtual bool | dmrChannelIsSelected (unsigned n) const |
| Returns true if the channel points to the current/selected channel.
|
|
virtual unsigned | dmrChannelIndex (unsigned n) const |
| Returns the digital channel index for the n-th system.
|
|
virtual void | setDMRChannelIndex (unsigned n, unsigned idx) |
| Sets the digital channel index for the n-th system.
|
|
virtual void | setDMRChannelSelected (unsigned n) |
| Sets the channel to the current/selected channel.
|
|
virtual unsigned | dmrDestination (unsigned n) const |
| Returns the destination contact for the n-th system.
|
|
virtual void | setDMRDestination (unsigned n, unsigned idx) |
| Sets the destination contact for the n-th system.
|
|
virtual DMRContact::Type | dmrCallType (unsigned n) const |
| Returns the call type for the n-th system.
|
|
virtual void | setDMRCallType (unsigned n, DMRContact::Type type) |
| Sets the call type for the n-th system.
|
|
virtual bool | dmrTimeSlotOverride (unsigned n) |
| Returns true if the n-th system overrides the channel time-slot.
|
|
virtual DMRChannel::TimeSlot | dmrTimeSlot (unsigned n) const |
| Returns the time slot if overridden (only valid if timeSlot returns true).
|
|
virtual void | setDMRTimeSlot (unsigned n, DMRChannel::TimeSlot ts) |
| Overrides the time slot of the n-th selected channel.
|
|
virtual void | clearDMRTimeSlotOverride (unsigned n) |
| Clears the time-slot override.
|
|
virtual bool | dmrRoaming () const |
| Returns true if the roaming is enabled.
|
|
virtual void | enableDMRRoaming (bool enable) |
| Enables/disables roaming.
|
|
virtual Interval | dmrPreWaveDelay () const |
| Returns the the repeater activation delay in ms.
|
|
virtual void | setDMRPreWaveDelay (Interval ms) |
| Sets the repeater activation delay in ms.
|
|
virtual bool | infiniteDisplayTime () const |
| Returns true if a received APRS message is shown indefinitely.
|
|
virtual Interval | displayTime () const |
| Returns the time, a received APRS message is shown.
|
|
virtual void | setDisplayTime (Interval dur) |
| Sets the time, a received APRS is shown.
|
|
virtual void | setDisplayTimeInifinite () |
| Sets the APRS display time to infinite.
|
|
virtual AnytoneFMAPRSSettingsExtension::Bandwidth | fmChannelWidth () const |
| Returns the FM APRS channel width.
|
|
virtual void | setFMChannelWidth (AnytoneFMAPRSSettingsExtension::Bandwidth width) |
| Sets the FM APRS channel width.
|
|
virtual bool | fmPassAll () const |
| Retruns true if the CRC check on received FM APRS messages is disabled.
|
|
virtual void | enableFMPassAll (bool enable) |
| Enables/disables "pass all", that is the CRC check on FM APRS messages is disabled.
|
|
virtual bool | fmFrequencySet (unsigned int n) const |
| Retruns true if the n-th of 8 FM APRS frequencies is set.
|
|
virtual Frequency | fmFrequency (unsigned int n) const |
| Returns the n-th of 8 FM APRS frequencies.
|
|
virtual void | setFMFrequency (unsigned int n, Frequency f) |
| Sets the n-th of 8 FM APRS frequencies.
|
|
virtual void | clearFMFrequency (unsigned int n) |
| Clears the n-th of 8 FM APRS frequencies.
|
|
virtual bool | reportPosition () const |
| Returns true if the report position flag is set.
|
|
virtual void | enableReportPosition (bool enable) |
| Enables/disables report position flag.
|
|
virtual bool | reportMicE () const |
| Returns true if the report Mic-E flag is set.
|
|
virtual void | enableReportMicE (bool enable) |
| Enables/disables report Mic-E flag.
|
|
virtual bool | reportObject () const |
| Returns true if the report object flag is set.
|
|
virtual void | enableReportObject (bool enable) |
| Enables/disables report object flag.
|
|
virtual bool | reportItem () const |
| Returns true if the report item flag is set.
|
|
virtual void | enableReportItem (bool enable) |
| Enables/disables report item flag.
|
|
virtual bool | reportMessage () const |
| Returns true if the report message flag is set.
|
|
virtual void | enableReportMessage (bool enable) |
| Enables/disables report message flag.
|
|
virtual bool | reportWeather () const |
| Returns true if the report weather flag is set.
|
|
virtual void | enableReportWeather (bool enable) |
| Enables/disables report weather flag.
|
|
virtual bool | reportNMEA () const |
| Returns true if the report NMEA flag is set.
|
|
virtual void | enableReportNMEA (bool enable) |
| Enables/disables report NMEA flag.
|
|
virtual bool | reportStatus () const |
| Returns true if the report status flag is set.
|
|
virtual void | enableReportStatus (bool enable) |
| Enables/disables report status flag.
|
|
virtual bool | reportOther () const |
| Returns true if the report other flag is set.
|
|
virtual void | enableReportOther (bool enable) |
| Enables/disables report other flag.
|
|
virtual bool | fromFMAPRSSystem (const APRSSystem *sys, Context &ctx, FMAPRSFrequencyNamesElement &names, const ErrorStack &err=ErrorStack()) |
| Configures this APRS system from the given generic config.
|
|
virtual APRSSystem * | toFMAPRSSystem (Context &ctx, const FMAPRSFrequencyNamesElement &names, const ErrorStack &err=ErrorStack()) |
| Constructs a generic APRS system configuration from this APRS system.
|
|
virtual bool | linkFMAPRSSystem (APRSSystem *sys, Context &ctx) |
| Links the transmit channel within the generic APRS system based on the transmit frequency defined within this APRS system.
|
|
virtual bool | fromDMRAPRSSystems (Context &ctx) |
| Constructs all GPS system from the generic configuration.
|
|
virtual bool | fromDMRAPRSSystemObj (unsigned int idx, GPSSystem *sys, Context &ctx) |
| Encodes the given GPS system.
|
|
virtual GPSSystem * | toDMRAPRSSystemObj (int idx) const |
| Constructs a generic GPS system from the idx-th encoded GPS system.
|
|
virtual bool | linkDMRAPRSSystem (int idx, GPSSystem *sys, Context &ctx) const |
| Links the specified generic GPS system.
|
|
| Element (const Element &other) |
| Copy constructor.
|
|
virtual | ~Element () |
| Destructor.
|
|
Element & | operator= (const Element &other) |
| Copy assignment.
|
|
bool | fill (uint8_t value, unsigned offset=0, int size=-1) |
| Fills the memsets the entire element to the given value.
|
|
bool | getBit (const Offset::BitOffset &offset) const |
| Reads a specific bit at the given byte-offset.
|
|
bool | getBit (unsigned offset, unsigned bit) const |
| Reads a specific bit at the given byte-offset.
|
|
void | setBit (const Offset::BitOffset &offset, bool value=true) |
| Sets a specific bit at the given byte-offset.
|
|
void | setBit (unsigned offset, unsigned bit, bool value=true) |
| Sets a specific bit at the given byte-offset.
|
|
void | clearBit (unsigned offset, unsigned bit) |
| Clears a specific bit at the given byte-offset.
|
|
uint8_t | getUInt2 (unsigned offset, unsigned bit) const |
| Reads a 2bit unsigned integer at the given byte- and bit-offset.
|
|
void | setUInt2 (unsigned offset, unsigned bit, uint8_t value) |
| Stores a 2bit unsigned integer at the given byte- and bit-offset.
|
|
uint8_t | getUInt3 (unsigned offset, unsigned bit) const |
| Reads a 3bit unsigned integer at the given byte- and bit-offset.
|
|
void | setUInt3 (unsigned offset, unsigned bit, uint8_t value) |
| Stores a 3bit unsigned integer at the given byte- and bit-offset.
|
|
uint8_t | getUInt4 (unsigned offset, unsigned bit) const |
| Reads a 4bit unsigned integer at the given byte- and bit-offset.
|
|
void | setUInt4 (unsigned offset, unsigned bit, uint8_t value) |
| Stores a 4bit unsigned integer at the given byte- and bit-offset.
|
|
uint8_t | getUInt5 (unsigned offset, unsigned bit) const |
| Reads a 5bit unsigned integer at the given byte- and bit-offset.
|
|
void | setUInt5 (unsigned offset, unsigned bit, uint8_t value) |
| Stores a 5bit iunsinged nteger at the given byte- and bit-offset.
|
|
uint8_t | getUInt6 (unsigned offset, unsigned bit) const |
| Reads a 6bit unsigned integer at the given byte- and bit-offset.
|
|
void | setUInt6 (unsigned offset, unsigned bit, uint8_t value) |
| Stores a 6bit unsigned integer at the given byte- and bit-offset.
|
|
uint8_t | getUInt8 (unsigned offset) const |
| Reads a 8bit unsigned integer at the given byte- and bit-offset.
|
|
void | setUInt8 (unsigned offset, uint8_t value) |
| Reads a 8bit unsigned integer at the given byte- and bit-offset.
|
|
int8_t | getInt8 (unsigned offset) const |
| Reads a 8bit signed integer at the given byte- and bit-offset.
|
|
void | setInt8 (unsigned offset, int8_t value) |
| Reads a 8bit signed integer at the given byte- and bit-offset.
|
|
uint16_t | getUInt16_be (unsigned offset) const |
| Reads a 16bit big-endian unsigned integer at the given byte-offset.
|
|
uint16_t | getUInt16_le (unsigned offset) const |
| Reads a 16bit little-endian unsigned integer at the given byte-offset.
|
|
void | setUInt16_be (unsigned offset, uint16_t value) |
| Stores a 16bit big-endian unsigned integer at the given byte-offset.
|
|
void | setUInt16_le (unsigned offset, uint16_t value) |
| Stores a 16bit little-endian unsigned integer at the given byte-offset.
|
|
uint32_t | getUInt24_be (unsigned offset) const |
| Reads a 24bit big-endian unsigned integer at the given byte-offset.
|
|
uint32_t | getUInt24_le (unsigned offset) const |
| Reads a 24bit little-endian unsigned integer at the given byte-offset.
|
|
void | setUInt24_be (unsigned offset, uint32_t value) |
| Stores a 24bit big-endian unsigned integer at the given byte-offset.
|
|
void | setUInt24_le (unsigned offset, uint32_t value) |
| Stores a 24bit little-endian unsigned integer at the given byte-offset.
|
|
uint32_t | getUInt32_be (unsigned offset) const |
| Reads a 32bit big-endian unsigned integer at the given byte-offset.
|
|
uint32_t | getUInt32_le (unsigned offset) const |
| Reads a 32bit little-endian unsigned integer at the given byte-offset.
|
|
void | setUInt32_be (unsigned offset, uint32_t value) |
| Stores a 32bit big-endian unsigned integer at the given byte-offset.
|
|
void | setUInt32_le (unsigned offset, uint32_t value) |
| Stores a 32bit little-endian unsigned integer at the given byte-offset.
|
|
uint64_t | getUInt64_be (unsigned offset) const |
| Reads a 64bit big-endian unsigned integer at the given byte-offset.
|
|
uint64_t | getUInt64_le (unsigned offset) const |
| Reads a 64bit little-endian unsigned integer at the given byte-offset.
|
|
void | setUInt64_be (unsigned offset, uint64_t value) |
| Stores a 64bit big-endian unsigned integer at the given byte-offset.
|
|
void | setUInt64_le (unsigned offset, uint64_t value) |
| Stores a 64bit little-endian unsigned integer at the given byte-offset.
|
|
uint8_t | getBCD2 (unsigned offset) const |
| Reads a 2-digit (1-byte/8bit) BDC value in big-endian at the given byte-offset.
|
|
void | setBCD2 (unsigned offset, uint8_t value) |
| Stores a 2-digit (1-byte/8bit) BDC value in big-endian at the given byte-offset.
|
|
uint16_t | getBCD4_be (unsigned offset) const |
| Reads a 4-digit (2-byte/16bit) BDC value in big-endian at the given byte-offset.
|
|
void | setBCD4_be (unsigned offset, uint16_t value) |
| Stores a 4-digit (2-byte/16bit) BDC value in big-endian at the given byte-offset.
|
|
uint16_t | getBCD4_le (unsigned offset) const |
| Reads a 4-digit (2-byte/16bit) BDC value in little-endian at the given byte-offset.
|
|
void | setBCD4_le (unsigned offset, uint16_t value) |
| Stores a 4-digit (1-byte/16bit) BDC value in little-endian at the given byte-offset.
|
|
uint32_t | getBCD8_be (unsigned offset) const |
| Reads a 8-digit (4-byte/32bit) BDC value in big-endian at the given byte-offset.
|
|
void | setBCD8_be (unsigned offset, uint32_t value) |
| Stores a 8-digit (4-byte/32bit) BDC value in big-endian at the given byte-offset.
|
|
uint32_t | getBCD8_le (unsigned offset) const |
| Reads a 8-digit (4-byte/32bit) BDC value in little-endian at the given byte-offset.
|
|
void | setBCD8_le (unsigned offset, uint32_t value) |
| Stores a 8-digit (4-byte/32bit) BDC value in little-endian at the given byte-offset.
|
|
QString | readASCII (unsigned offset, unsigned maxlen, uint8_t eos=0x00) const |
| Reads up to maxlen ASCII chars at the given byte-offset using eos as the string termination char.
|
|
void | writeASCII (unsigned offset, const QString &txt, unsigned maxlen, uint8_t eos=0x00) |
| Stores up to maxlen ASCII chars at the given byte-offset using eos as the string termination char. More...
|
|
QString | readUnicode (unsigned offset, unsigned maxlen, uint16_t eos=0x0000) const |
| Reads up to maxlen unicode chars at the given byte-offset using eos as the string termination char.
|
|
void | writeUnicode (unsigned offset, const QString &txt, unsigned maxlen, uint16_t eos=0x0000) |
| Stores up to maxlen unicode chars at the given byte-offset using eos as the string termination char. More...
|
|