mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-04-06 06:43:52 +00:00
Use the header my callsign for the APRS callsign on a TH-D74.
This commit is contained in:
parent
ba7d848f78
commit
71f388197f
5 changed files with 58 additions and 35 deletions
|
|
@ -35,12 +35,14 @@ public:
|
|||
CAPRSCollector();
|
||||
~CAPRSCollector();
|
||||
|
||||
bool writeData(const wxString& callsign, const unsigned char* data);
|
||||
void writeHeader(const wxString& callsign);
|
||||
|
||||
void sync();
|
||||
bool writeData(const unsigned char* data);
|
||||
|
||||
void reset();
|
||||
|
||||
void sync();
|
||||
|
||||
unsigned int getData(unsigned char* data, unsigned int length);
|
||||
|
||||
private:
|
||||
|
|
@ -74,6 +76,8 @@ private:
|
|||
unsigned int convertNMEA1(unsigned char* data, unsigned int length);
|
||||
unsigned int convertNMEA2(unsigned char* data, unsigned int length);
|
||||
|
||||
void dstarCallsignToAPRS(const wxString& dstarCallsign, char* aprsCallsign) const;
|
||||
|
||||
char* mystrsep(char** sp, const char* sep) const;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue