X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fric_stub%2Fric_stub.c;h=9cf96442757bba4177fb32236628a26a20136bf7;hb=343a3526778bc2caf5409f097578a7c4da473b67;hp=60e5c01e95d9551e9abc37b2e388abbdb4196f58;hpb=105199ef642ffe9736ea24a01d4546578fa25e60;p=o-du%2Fl2.git diff --git a/src/ric_stub/ric_stub.c b/src/ric_stub/ric_stub.c index 60e5c01e9..9cf964427 100644 --- a/src/ric_stub/ric_stub.c +++ b/src/ric_stub/ric_stub.c @@ -18,19 +18,18 @@ /* This functions contains main() for ric_app */ #include "common_def.h" -#include "odu_common_codec.h" #include "ric_stub.h" #include "ric_stub_sctp.h" #include "du_log.h" #define RIC_ID 1 #define RIC_NAME "ORAN_OAM_RIC" -#define DU_IP_V4_ADDR "10.0.2.20" -#define RIC_IP_V4_ADDR "10.0.2.30" +#define DU_IP_V4_ADDR "192.168.130.81" +#define RIC_IP_V4_ADDR "192.168.130.80" #define DU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0001" #define RIC_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0011" -#define DU_PORT 38482 -#define RIC_PORT 38482 +#define DU_PORT 36422 +#define RIC_PORT 36422 #define RRC_VER 0 #define EXT_RRC_VER 5 #define PLMN_MCC0 3 @@ -83,11 +82,11 @@ void init_log() * * ****************************************************************/ -S16 tst() +uint8_t tst() { init_log(); - DU_LOG("\nStarting RIC_STUB"); + DU_LOG("\nINFO --> RIC : Starting RIC_STUB"); /* Read RIC configurations */ readRicCfg(); @@ -116,9 +115,9 @@ S16 tst() void readRicCfg() { - U32 ipv4_du, ipv4_ric; + uint32_t ipv4_du, ipv4_ric; - DU_LOG("\nReading RIC configurations"); + DU_LOG("\nINFO --> RIC : Reading RIC configurations"); cmInetAddr((S8*)DU_IP_V4_ADDR, &ipv4_du); cmInetAddr((S8*)RIC_IP_V4_ADDR, &ipv4_ric);