inet icon indicating copy to clipboard operation
inet copied to clipboard

Ieee802154UWBIRMode seems not working properly

Open mridolfi opened this issue 8 years ago • 1 comments

I'm using the UWB PHY implememantion to transmit packets. The problem is that, changing settings such as from cfg_mandatory_16M to cfg_mandatory_64M, nothing changes in terms of transmission, e.g. same frame duration. Indeed, if you check the results of the transmission, it seems that regardless the PHY settings, the transmitted frame is always the same. More precisely is the following

Transmission started: (inet::physicallayer::RadioFrame)node[16] WHOLE as DimensionalTransmission, powerDimensionSet = (time(0)), powerMax = 1, powerMin = 0, power = 0xb495a10, bitrate = 850000 bps, headerBitLength = -1, payloadBitLength = 224, carrierFrequency = 4.4928e+09 Hz, bandwidth = 4.992e+08 Hz, modulation = nullptr, id = 4, transmitterId = 16, startTime = 0.001781719155, endTime = 0.002139838355, startPosition = (23.4045, 20.4121, 0), preambleDuration = -1, headerPosition = -1, dataPosition = -1, endPosition = (23.4045, 20.4121, 0), startOrientation = (-1.146, 0, 0), endOrientation = (-1.146, 0, 0)

For example, why is header length = -1 (it is always like that)?

mridolfi avatar Jun 22 '17 07:06 mridolfi

void Ieee802154UWBIRTransmitter::generatePhyHeader(Mapping* mapping, Argument* arg, const simtime_t startTime) const
{
    // not implemented
}

in Ieee802154UWBIRTransmitter.cc

mridolfi avatar Jul 04 '17 07:07 mridolfi