Skip to content

Commit 1fa1a58

Browse files
committed
Display DMR embedded data.
1 parent e34d83f commit 1fa1a58

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

DMRDefines.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,13 @@ const unsigned char FID_ETSI = 0U;
114114
const unsigned char FID_DMRA = 16U;
115115

116116
enum FLCO {
117-
FLCO_GROUP = 0,
118-
FLCO_USER_USER = 3
117+
FLCO_GROUP = 0,
118+
FLCO_USER_USER = 3,
119+
FLCO_TALKER_ALIAS_HEADER = 4,
120+
FLCO_TALKER_ALIAS_BLOCK1 = 5,
121+
FLCO_TALKER_ALIAS_BLOCK2 = 6,
122+
FLCO_TALKER_ALIAS_BLOCK3 = 7,
123+
FLCO_GPS_INFO = 8
119124
};
120125

121126
#endif

DMREmbeddedLC.cpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,28 @@ CDMRLC* CDMREmbeddedLC::processMultiBlockEmbeddedLC()
258258
case FLCO_GROUP:
259259
case FLCO_USER_USER:
260260
return lc;
261+
case FLCO_GPS_INFO:
262+
CUtils::dump(1U, "DMR, Embedded GPS Info", lcData, 72U);
263+
delete lc;
264+
return NULL;
265+
case FLCO_TALKER_ALIAS_HEADER:
266+
CUtils::dump(1U, "DMR, Embedded Talker Alias Header", lcData, 72U);
267+
delete lc;
268+
return NULL;
269+
case FLCO_TALKER_ALIAS_BLOCK1:
270+
CUtils::dump(1U, "DMR, Embedded Talker Alias Block 1", lcData, 72U);
271+
delete lc;
272+
return NULL;
273+
case FLCO_TALKER_ALIAS_BLOCK2:
274+
CUtils::dump(1U, "DMR, Embedded Talker Alias Block 2", lcData, 72U);
275+
delete lc;
276+
return NULL;
277+
case FLCO_TALKER_ALIAS_BLOCK3:
278+
CUtils::dump(1U, "DMR, Embedded Talker Alias Block 3", lcData, 72U);
279+
delete lc;
280+
return NULL;
261281
default:
282+
CUtils::dump(1U, "DMR, Unknown Embedded Data", lcData, 72U);
262283
delete lc;
263284
return NULL;
264285
}

0 commit comments

Comments
 (0)