mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Add JSON RSSI and BER messages to YSF.
This commit is contained in:
parent
74376d3b8c
commit
fb5e5b5fa1
3 changed files with 97 additions and 10 deletions
|
|
@ -86,7 +86,11 @@ private:
|
|||
unsigned char m_maxRSSI;
|
||||
unsigned char m_minRSSI;
|
||||
unsigned int m_aveRSSI;
|
||||
unsigned int m_rssiCountTotal;
|
||||
unsigned int m_rssiAccum;
|
||||
unsigned int m_rssiCount;
|
||||
unsigned int m_bitsCount;
|
||||
unsigned int m_bitErrsAccum;
|
||||
bool m_enabled;
|
||||
FILE* m_fp;
|
||||
|
||||
|
|
@ -102,6 +106,9 @@ private:
|
|||
void writeEndRF();
|
||||
void writeEndNet();
|
||||
|
||||
void writeJSONRSSI();
|
||||
void writeJSONBER(unsigned int bits, unsigned int errs);
|
||||
|
||||
void writeJSONRF(const char* action, const char* mode, const unsigned char* source, unsigned char dgid);
|
||||
void writeJSONRF(const char* action, float duration, float ber);
|
||||
void writeJSONRF(const char* action, float duration, float ber, unsigned char minRSSI, unsigned char maxRSSI, unsigned int aveRSSI);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue