+TEST(RMR, SendReceiveWithMEID) {
+ XappSettings config;
+ int total_num_msgs = 2;
+ int num_attempts = 10;
+
+ std::unique_ptr<XappRmr> rmr;
+ rmr = std::make_unique<XappRmr>("4560",num_attempts);
+ rmr->xapp_rmr_init(true);
+
+ std::unique_ptr<Xapp> hw_xapp = std::make_unique<Xapp>(config,std::ref(*rmr));
+ std::unique_ptr<XappMsgHandler> mp_handler = std::make_unique<XappMsgHandler>("HW-Xapp_ID");
+ hw_xapp->start_xapp_receiver(std::ref(*mp_handler));
+
+ xapp_rmr_header hdr;
+ //can be any message type. using as an example
+ hdr.message_type = RIC_SUB_RESP;
+ memset(hdr.meid,0,32);
+ string meid = "NYC123";
+ strcpy(reinterpret_cast<char*>(hdr.meid), meid.c_str());