0

I would like to know how to increase the beacon size using the OMNET++ simulator. I saw that it is possible to perform this configuration through the cpacket constructor.

cPacket::cPacket    (   const char *    name = NULL,
short   kind = 0,
int64   bitLength = 0    
)   

My goal is to analyze how beacon size can influence message delivery latency between two nodes

Ken White
  • 123,280
  • 14
  • 225
  • 444
Cleber
  • 23
  • 3

1 Answers1

1

Use setBitLength() or setByteLength(). If one want to increase the current size of cPacket instance, use addBitLength() or addByteLength().

Jerzy D.
  • 6,707
  • 2
  • 16
  • 22