First cut of the D-Star repeater control.

This commit is contained in:
Jonathan Naylor
2016-01-27 20:01:50 +00:00
parent b34cd230c7
commit fc3a688196
12 changed files with 861 additions and 148 deletions

View File

@@ -72,6 +72,16 @@ void CDStarHeader::getRPTCall2(unsigned char* call2) const
::memcpy(call2, m_header + 3U, DSTAR_LONG_CALLSIGN_LENGTH);
}
void CDStarHeader::setRPTCall1(const unsigned char* call1)
{
::memcpy(m_header + 11U, call1, DSTAR_LONG_CALLSIGN_LENGTH);
}
void CDStarHeader::setRPTCall2(const unsigned char* call2)
{
::memcpy(m_header + 3U, call2, DSTAR_LONG_CALLSIGN_LENGTH);
}
void CDStarHeader::getYourCall(unsigned char* call) const
{
::memcpy(call, m_header + 19U, DSTAR_LONG_CALLSIGN_LENGTH);