simuLTE-Handover

155 views
Skip to first unread message

BohuBrihi

unread,
Aug 6, 2017, 10:51:43 PM8/6/17
to OMNeT++ Users

Hi,


I am trying to run the "test-handover" in simuLTE v1.0.1 and I get this error.

(X2HandoverControlMsg): setBitLength(): Negative length -16 -- in module (LteHandoverManager) MultiCell.eNodeB2.nic.handoverManager (id=210), at t=2.0000100972s, event #21655

But this works fine in one older version. I checked the X2AppServer::generateAndSend(cPacket* pkt). It seems like the numBytes variable becomes -2 somehow. But I don't get it how it's happening. 


Regards

BohiBrihi

Giovanni Nardini

unread,
Aug 25, 2017, 6:45:33 AM8/25/17
to OMNeT++ Users
Hi BohiBrihi,

try to open the file src/x2/packet/LteX2Message.h and remove the following lines: 

109: cPacket::setByteLength(cPacket::getByteLength()+ie->getLength());
123: cPacket::setByteLength(cPacket::getByteLength()-ie->getLength());

Please let me know if this solves your problem.

Best regards.
Giovanni

Ana Lopes

unread,
May 29, 2019, 11:15:25 AM5/29/19
to OMNeT++ Users
Hi,

In fact that worked. Thank you.
This is just for error detection and not essencial for the global handover procedure right?
Reply all
Reply to author
Forward
0 new messages