e2sm_kpm: add granul_period

master
Piotr Gawlowicz 2 years ago committed by Justin Tallon
parent 30e587403f
commit 87d624b333

@ -118,6 +118,12 @@ bool e2sm_kpm::generate_indication_message(E2SM_KPM_RIC_ind_message msg, srsran:
e2_sm_kpm_ind_msg.ind_msg_formats.set_ind_msg_format1();
e2_sm_kpm_ind_msg.ind_msg_formats.ind_msg_format1().meas_data = msg.meas_data;
e2_sm_kpm_ind_msg.ind_msg_formats.ind_msg_format1().meas_info_list = msg.meas_info_list;
if (msg.granul_period) {
e2_sm_kpm_ind_msg.ind_msg_formats.ind_msg_format1().granul_period_present = true;
e2_sm_kpm_ind_msg.ind_msg_formats.ind_msg_format1().granul_period = msg.granul_period;
}
break;
case asn1::e2sm_kpm::e2_sm_kpm_ind_msg_s::ind_msg_formats_c_::types::ind_msg_format2:
e2_sm_kpm_ind_msg.ind_msg_formats.set_ind_msg_format2();

@ -101,6 +101,8 @@ void ric_client::ric_subscription::send_ric_indication()
ric_ind_message.meas_info_list[0].label_info_list[0].meas_label.no_label =
asn1::e2sm_kpm::meas_label_s::no_label_opts::true_value;
// ric_ind_message.granul_period = 12345; // not implemented by flexric and crashes it
ric_indication.ri_cind_msg = srsran::make_byte_buffer();
sm_kpm_ptr->generate_indication_message(ric_ind_message, ric_indication.ri_cind_msg);

Loading…
Cancel
Save