Add sync dumping and improve YSF and P25.

This commit is contained in:
Jonathan Naylor
2017-01-31 20:36:31 +00:00
parent 4bc0f36b49
commit f3a3132a6c
10 changed files with 311 additions and 125 deletions
+3 -1
View File
@@ -47,6 +47,7 @@ private:
uint16_t m_syncPtr;
q31_t m_maxCorr;
uint16_t m_lostCount;
uint8_t m_countdown;
q15_t m_centre[16U];
q15_t m_centreVal;
q15_t m_centreBest;
@@ -59,9 +60,10 @@ private:
void processNone(q15_t sample);
void processData(q15_t sample);
bool correlateSync(bool none);
bool correlateSync();
void samplesToBits(uint16_t start, uint16_t count, uint8_t* buffer, uint16_t offset, q15_t centre, q15_t threshold);
void writeRSSIData(uint8_t* data);
void writeSync(uint16_t start);
};
#endif