Hi,
I want to set the packet size, is it true to put it in the "headerlength"parameter of "TrafficGen" application? if yes, why it is nommed "headerlength" instead of "packetLength"?
In "TrafficGen.cc":
ApplPkt *pkt = new ApplPkt("BROADCAST_MESSAGE", TRAFFIC_GEN_PACKET);
pkt->setDestAddr(LAddress::L3BROADCAST);
// we use the host modules getIndex() as a appl address
pkt->setSrcAddr( myApplAddr() );
pkt->setBitLength(headerLength);
The packetLength is the size of only the data or data with header?
What is the maximum packet size of ieee802.15.4?
Any help please to set the packet size.