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