Re: [ns] Problem setting BO,SO pair in 802.15.4

2007-03-23 Thread Stefano Busanelli
Thanks for your quick reply, I've tried to patch CsmaCA802_15_4::canProceed method, but the problem isn't disappeared. I've noticed that the problem is present only on SCS802_15_4::startDevice method and not in SSCS802_15_4::startPANCoord method. In addition there are little different between

Re: [ns] Problem setting BO,SO pair in 802.15.4

2007-03-22 Thread Ahmad Khayyat
This reminds me about a bug in the original wpan implementation. Not sure if it is fixed in Iyappan patch as I am using ns-2.29. In the method: bool CsmaCA802_15_4::canProceed(double wtime, bool afterCCA) The following declaration exists: UINT_16 t_bPeriods,t_CAP; For large BO/SO values, UINT_

[ns] Problem setting BO,SO pair in 802.15.4

2007-03-22 Thread Stefano Busanelli
Hi all, I'm using ns-allinone-2.31 package, that includes 802.15.4 implementation made by Zheng subsequently patched by Iyappan. If I set to 14 both Beacon Order (BO) and Superframe Order (SO) values of a generic device (not coordinator), ns returns this error message: [0.30](node 1) unable