+ if (gnb->gNB_CU_UP_ID != NULL && gnb->gNB_DU_ID != NULL){
+ printf("\ngNB_CU_UP_ID and gNB_DU_ID is not null\n");
+ asn_INTEGER2long(gnb->gNB_CU_UP_ID,&cuupid);
+ asn_INTEGER2long(gnb->gNB_DU_ID,&duid);
+ translatePlmnId(ranName, (const unsigned char *)gnb->global_gNB_ID.plmn_id.buf, (const char *)"gnb_");
+ }else if (gnb->gNB_DU_ID == NULL && gnb->gNB_CU_UP_ID == NULL ){
+ printf("\ngNB_CU_UP_ID and gNB_DU_ID is null\n");
+ translatePlmnId(ranName, (const unsigned char *)gnb->global_gNB_ID.plmn_id.buf, (const char *)"gnb_");
+ }else if (gnb->gNB_CU_UP_ID != NULL ){
+ printf("\ngNB_CU_UP_ID is not null\n");
+ asn_INTEGER2long(gnb->gNB_CU_UP_ID,&cuupid);
+ translatePlmnId(ranName, (const unsigned char *)gnb->global_gNB_ID.plmn_id.buf, (const char *)"gnbc_");
+ }else if (gnb->gNB_DU_ID != NULL ){
+ printf("\ngNB_DU_ID is not null\n");
+ asn_INTEGER2long(gnb->gNB_DU_ID,&duid);
+ translatePlmnId(ranName, (const unsigned char *)gnb->global_gNB_ID.plmn_id.buf, (const char *)"gnbd_");
+ }
+ translateBitStringToChar(ranName, gnb->global_gNB_ID.gnb_id.choice.gnb_ID,cuupid,duid);
+ }else{
+ translatePlmnId(ranName, (const unsigned char *)gnb->global_gNB_ID.plmn_id.buf, (const char *)"gnb_");