mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Clean up the DMR Talker Alias code and logging.
This commit is contained in:
21
DMRTA.h
21
DMRTA.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2015,2016,2017,2018 Jonathan Naylor, G4KLX
|
||||
* Copyright (C) 2015,2016,2017,2018,2023 Jonathan Naylor, G4KLX
|
||||
* Copyright (C) 2018 by Shawn Chain, BG5HHP
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -17,19 +17,22 @@
|
||||
|
||||
class CDMRTA {
|
||||
public:
|
||||
CDMRTA();
|
||||
~CDMRTA();
|
||||
CDMRTA(unsigned int slotNo);
|
||||
~CDMRTA();
|
||||
|
||||
bool add(unsigned int blockId, const unsigned char* data, unsigned int len);
|
||||
const unsigned char* get();
|
||||
void reset();
|
||||
bool add(unsigned int blockId, const unsigned char* data, unsigned int len);
|
||||
|
||||
const unsigned char* get();
|
||||
|
||||
void reset();
|
||||
|
||||
protected:
|
||||
bool decodeTA();
|
||||
bool decodeTA();
|
||||
|
||||
private:
|
||||
char m_TA[32];
|
||||
unsigned char m_buf[32];
|
||||
unsigned int m_slotNo;
|
||||
char m_ta[32];
|
||||
unsigned char m_buf[32];
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user