Hi,
sorry for the delay. You have many ways to change this value.
The most "standard" way is to use this function:
LrWpanPhy::PlmeSetAttributeRequest (LrWpanPibAttributeIdentifier id,
LrWpanPhyPibAttributes* attribute)
The LrWpanPibAttributeIdentifier phyTransmitPower is the... PHY Tx power (in dBm).
Mind that if you need to change the channel as well, you have to do it before changing the Tx power (there's a bug right now).
Another way is to use the same technique outlined in , as is:
LrWpanSpectrumValueHelper svh;
Ptr<SpectrumValue> psd = svh.CreateTxPowerSpectralDensity (txPower, channelNumber);
dev0->GetPhy ()->SetTxPowerSpectralDensity (psd);
where the Tx power is (again) in dBm.
Hope this helps,
T.