Skip to content

Commit

Permalink
e2: fix asn1 printable strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Gawlowicz committed Nov 21, 2024
1 parent 3a68118 commit b6ff4eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/e2/common/e2ap_asn1_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ inline void fill_asn1_e2ap_setup_request(asn1::e2ap::e2setup_request_s& setup,
list[0].load_info_obj(ASN1_E2AP_ID_E2NODE_COMPONENT_CFG_ADDITION_ITEM);
e2node_component_cfg_addition_item_s& e2node_cfg_item = list[0].value().e2node_component_cfg_addition_item();
e2node_cfg_item.e2node_component_interface_type = e2node_component_interface_type_opts::ng;
e2node_cfg_item.e2node_component_id.set_e2node_component_interface_type_ng().amf_name.from_string("test_amf_name");
e2node_cfg_item.e2node_component_id.set_e2node_component_interface_type_ng().amf_name.from_string("test-amf-name");

uint8_t ngap_request[] = {0x00, 0x15, 0x00, 0x33, 0x00, 0x00, 0x04, 0x00, 0x1b, 0x00, 0x08, 0x00, 0x00, 0xf1,
0x10, 0x00, 0x00, 0x06, 0x6c, 0x00, 0x52, 0x40, 0x0a, 0x03, 0x80, 0x63, 0x75, 0x5f,
Expand Down
2 changes: 1 addition & 1 deletion lib/e2/e2sm/e2sm_rc/e2sm_rc_control_service_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ bool e2sm_rc_control_service_base::fill_ran_function_description(
// TODO: fill outcome properly
ctrl_outcome_ran_param_item_s ctrl_outcome_ran_param_item;
ctrl_outcome_ran_param_item.ran_param_id = 1;
ctrl_outcome_ran_param_item.ran_param_name.from_string("test_outcome_ran_param");
ctrl_outcome_ran_param_item.ran_param_name.from_string("test-outcome-ran-param");
ctrl_item.ran_ctrl_outcome_params_list.push_back(ctrl_outcome_ran_param_item);
}

Expand Down

0 comments on commit b6ff4eb

Please sign in to comment.