Add bits accessor for decodedtext
This commit is contained in:
parent
4e66e92671
commit
705244786e
@ -50,6 +50,8 @@ public:
|
|||||||
bool isLowConfidence () const;
|
bool isLowConfidence () const;
|
||||||
int frequencyOffset() const; // hertz offset from the tuned dial or rx frequency, aka audio frequency
|
int frequencyOffset() const; // hertz offset from the tuned dial or rx frequency, aka audio frequency
|
||||||
int snr() const;
|
int snr() const;
|
||||||
|
bool hasBits() const { return !string_.right(5).trimmed().isEmpty(); }
|
||||||
|
int bits() const { return string_.right(5).trimmed().toShort(); }
|
||||||
float dt() const;
|
float dt() const;
|
||||||
|
|
||||||
// find and extract any report. Returns true if this is a standard message
|
// find and extract any report. Returns true if this is a standard message
|
||||||
|
Loading…
Reference in New Issue
Block a user