From e71dde7311f99a69cd054a962fae0ff337673b3f Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Mon, 23 Apr 2018 15:38:31 +0100 Subject: [PATCH] Fix for RRC ReportConfigEUTRA pack function --- lib/src/asn1/liblte_rrc.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/asn1/liblte_rrc.cc b/lib/src/asn1/liblte_rrc.cc index 74beb46cf..60bf992b6 100644 --- a/lib/src/asn1/liblte_rrc.cc +++ b/lib/src/asn1/liblte_rrc.cc @@ -2715,8 +2715,10 @@ LIBLTE_ERROR_ENUM liblte_rrc_pack_report_config_eutra_ie(LIBLTE_RRC_REPORT_CONFI liblte_value_2_bits(rep_cnfg_eutra->trigger_type, ie_ptr, 1); if(LIBLTE_RRC_TRIGGER_TYPE_EUTRA_EVENT == rep_cnfg_eutra->trigger_type) { + // Event ID choice extension indicator + liblte_value_2_bits(0, ie_ptr, 1); // Choice with extension - unlikely to be >63 choices + // Event ID - // FIXME: Handle extension properly liblte_value_2_bits(rep_cnfg_eutra->event.event_id, ie_ptr, 3); if(LIBLTE_RRC_EVENT_ID_EUTRA_A1 == rep_cnfg_eutra->event.event_id) {