Skip to content

Commit

Permalink
pass VSELP1/2 frames;
Browse files Browse the repository at this point in the history
  • Loading branch information
gatekeep committed Apr 6, 2024
1 parent 6dbbd6a commit 07ec461
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions p25/P25Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ namespace p25
const uint8_t P25_DUID_HDU = 0x00U; // Header Data Unit
const uint8_t P25_DUID_TDU = 0x03U; // Simple Terminator Data Unit
const uint8_t P25_DUID_LDU1 = 0x05U; // Logical Link Data Unit 1
const uint8_t P25_DUID_VSELP1 = 0x06U; // Motorola VSELP 1
const uint8_t P25_DUID_TSDU = 0x07U; // Trunking System Data Unit
const uint8_t P25_DUID_VSELP2 = 0x09U; // Motorola VSELP 2
const uint8_t P25_DUID_LDU2 = 0x0AU; // Logical Link Data Unit 2
const uint8_t P25_DUID_PDU = 0x0CU; // Packet Data Unit
const uint8_t P25_DUID_TDULC = 0x0FU; // Terminator Data Unit with Link Control
Expand Down
2 changes: 2 additions & 0 deletions p25/P25RX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ void P25RX::processBit(bool bit)
}
break;
case P25_DUID_LDU1:
case P25_DUID_VSELP1:
m_state = P25RXS_VOICE;
m_endPtr = P25_LDU_FRAME_LENGTH_BITS;
return;
Expand All @@ -162,6 +163,7 @@ void P25RX::processBit(bool bit)
}
break;
case P25_DUID_LDU2:
case P25_DUID_VSELP2:
m_state = P25RXS_VOICE;
m_endPtr = P25_LDU_FRAME_LENGTH_BITS;
return;
Expand Down

0 comments on commit 07ec461

Please sign in to comment.