PCUIF_Types: Add enumerated PCUIF_BurstType
Change-Id: Ib2e2effb818da5d259032ee5b8b25788ebc646c0
diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index 3215c4b..83e32fc 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -108,6 +108,13 @@
uint8_t block_nr
} with { variant "" };
+type enumerated PCUIF_BurstType {
+ BURST_TYPE_NONE (0),
+ BURST_TYPE_0 (1),
+ BURST_TYPE_1 (2),
+ BURST_TYPE_2 (3)
+} with { variant "FIELDLENGTH(8)" };
+
type record PCUIF_rach_ind {
PCUIF_Sapi sapi,
uint16_t ra,
@@ -115,7 +122,7 @@
uint32_t fn,
uint16_t arfcn,
uint8_t is_11bit,
- uint8_t burst_type
+ PCUIF_BurstType burst_type
} with { variant "" };
type record PCUIF_InfoTrx {
@@ -531,7 +538,7 @@
template (value) PCUIF_Message ts_PCUIF_RACH_IND(template (value) uint8_t bts_nr,
template (value) uint16_t ra,
template (value) uint8_t is_11bit,
- template (value) uint8_t burst_type,
+ template (value) PCUIF_BurstType burst_type,
template (value) uint32_t fn,
template (value) uint16_t arfcn,
template (value) int16_t qta := 0
@@ -554,7 +561,7 @@
template PCUIF_Message tr_PCUIF_RACH_IND(template uint8_t bts_nr := ?,
template uint16_t ra := ?,
template uint8_t is_11bit := ?,
- template uint8_t burst_type := ?,
+ template PCUIF_BurstType burst_type := ?,
template uint32_t fn := ?) := {
msg_type := PCU_IF_MSG_RACH_IND,
bts_nr := bts_nr,