Skip to content
Snippets Groups Projects
Commit 3cd78760 authored by mir's avatar mir
Browse files

Need to debug xapp ric and agent as 3 processes

parent ff71e54a
No related branches found
No related tags found
1 merge request!29Dev to master before release 2
......@@ -141,7 +141,7 @@ kpm_act_def_format_4_t gen_act_def_frmt_4(const char* action)
assert(dst.matching_cond_lst[0].test_info_lst.test_cond != NULL && "Memory exhausted");
*dst.matching_cond_lst[0].test_info_lst.test_cond = GREATERTHAN_TEST_COND;
dst.matching_cond_lst[0].test_info_lst.test_cond_value = calloc(1, sizeof(test_cond_value_e));
dst.matching_cond_lst[0].test_info_lst.test_cond_value = calloc(1, sizeof(test_cond_value_t));
assert(dst.matching_cond_lst[0].test_info_lst.test_cond_value != NULL && "Memory exhausted");
dst.matching_cond_lst[0].test_info_lst.test_cond_value->type = INTEGER_TEST_COND_VALUE;
dst.matching_cond_lst[0].test_info_lst.test_cond_value->int_value = malloc(sizeof(int64_t));
......
......@@ -161,6 +161,10 @@ void sm_cb_kpm(sm_ag_if_rd_t const* rd)
break;
}
case ID_MEAS_TYPE:
printf(" ID_MEAS_TYPE \n");
assert(0!=0 && "Bug here?");
break;
default:
assert(false && "Measurement Type not yet implemented");
......@@ -249,7 +253,7 @@ kpm_act_def_format_4_t gen_act_def_frmt_4(const char** action)
assert(dst.matching_cond_lst[0].test_info_lst.test_cond != NULL && "Memory exhausted");
*dst.matching_cond_lst[0].test_info_lst.test_cond = EQUAL_TEST_COND;
dst.matching_cond_lst[0].test_info_lst.test_cond_value = calloc(1, sizeof(test_cond_value_e));
dst.matching_cond_lst[0].test_info_lst.test_cond_value = calloc(1, sizeof(test_cond_value_t));
assert(dst.matching_cond_lst[0].test_info_lst.test_cond_value != NULL && "Memory exhausted");
dst.matching_cond_lst[0].test_info_lst.test_cond_value->type = INTEGER_TEST_COND_VALUE;
dst.matching_cond_lst[0].test_info_lst.test_cond_value->int_value = malloc(sizeof(int64_t));
......
......@@ -854,7 +854,7 @@ void fwd_ric_subscription_request_delete(near_ric_t* ric, global_e2_node_id_t co
void* first = assoc_front(tree);
void* end = assoc_end(tree);
if(find_if(tree, first, end, &ev, eq_pending_event_ric ) != end){
printf("[NEAR-RIC]: SUBSCRIPTION REQUEST DELETE RAN FUNC ID %d RIC REQ ID %d MSG ALREADY PENDING\n", sdr->ric_id.ran_func_id, sdr->ric_id.ric_req_id);
printf("[NEAR-RIC]: SUBSCRIPTION REQUEST DELETE RAN FUNC ID %d RIC_REQ_ID %d MSG ALREADY PENDING\n", sdr->ric_id.ran_func_id, sdr->ric_id.ric_req_id);
return;
}
......@@ -868,7 +868,7 @@ void fwd_ric_subscription_request_delete(near_ric_t* ric, global_e2_node_id_t co
e2ap_send_bytes_ric(&ric->ep, id, ba_msg);
printf("[NEAR-RIC]: SUBSCRIPTION DELETE REQUEST tx RAN FUNC ID %d RIC REQ ID %d \n", sdr->ric_id.ran_func_id, sdr->ric_id.ric_req_id);
printf("[NEAR-RIC]: SUBSCRIPTION DELETE REQUEST tx RAN FUNC ID %d RIC_REQ_ID %d \n", sdr->ric_id.ran_func_id, sdr->ric_id.ric_req_id);
}
uint16_t fwd_ric_control_request(near_ric_t* ric, global_e2_node_id_t const* id, ric_control_request_t const* cr, void (*f)(e2ap_msg_t const* msg))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment