Begin handling Icom format network frames. Work in progress.

This commit is contained in:
Jonathan Naylor
2018-02-15 20:20:07 +00:00
parent a5bcf8763b
commit d17ca9b4ba
9 changed files with 175 additions and 197 deletions

View File

@@ -107,6 +107,11 @@ unsigned char CNXDNLICH::getDirection() const
return (m_lich[0U] >> 1) & 0x01U;
}
unsigned char CNXDNLICH::getData() const
{
return m_lich[0U];
}
void CNXDNLICH::setRFCT(unsigned char rfct)
{
m_lich[0U] &= 0x3FU;
@@ -131,6 +136,11 @@ void CNXDNLICH::setDirection(unsigned char direction)
m_lich[0U] |= (direction << 1) & 0x02U;
}
void CNXDNLICH::setData(unsigned char lich)
{
m_lich[0U] = lich;
}
CNXDNLICH& CNXDNLICH::operator=(const CNXDNLICH& lich)
{
if (&lich != this)