EMB correlation, work in progress.

This commit is contained in:
Jonathan Naylor 2016-08-31 08:15:06 +01:00
parent cf5f960dd1
commit 2e2acd30fa
3 changed files with 107 additions and 29 deletions

View file

@ -30,6 +30,11 @@ enum DMORX_STATE {
DMORXS_DATA
};
struct EMBList {
uint8_t part1;
uint8_t part2;
};
class CDMRDMORX {
public:
CDMRDMORX();
@ -60,6 +65,7 @@ private:
uint8_t m_type;
uint16_t m_rssiCount;
uint16_t m_rssi;
EMBList m_embs[5U];
bool processSample(q15_t sample);
void correlateSync(bool first);