LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   error runing TORA zigbee ns2.35 (https://www.linuxquestions.org/questions/linux-networking-3/error-runing-tora-zigbee-ns2-35-a-4175413205/)

dehaan21 06-24-2012 11:43 PM

error runing TORA zigbee ns2.35
 
I am patching TORA protocol module in NS-2.35 and i got :

dehaan@dehaan:~$ cd scrypt/
dehaan@dehaan:~/scrypt$ ns tora.tcl
num_nodes is set 10
INITIALIZE THE LIST xListHead
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
[wpan/p802_15_4phy.cc::PD_DATA_request][11.065676](node 1) Invalid PSDU/MPDU length: type = IMEP, src = 1, dst = -1, uid = 2090, mac_uid = 1965, size = 181
[wpan/p802_15_4phy.cc::PD_DATA_request][11.070518](node 2) Invalid PSDU/MPDU length: type = IMEP, src = 2, dst = -1, uid = 2095, mac_uid = 1966, size = 157

That is a failure to follow it when I run the simulation Zigbee , patch module for ns2.35 TORA routing protocols.

what should i do?

knudfl 06-25-2012 04:49 AM

Welcome to LQ.
Quote:

I am patching TORA protocol module in NS-2.35
Please show a link to the patch you are using.


Example "TORA" for ns-2.34 :
http://erl1.wordpress.com/2010/08/10...-ubuntu-10-04/

https://www.linuxquestions.org/quest...2-34-a-795189/

.

dehaan21 06-25-2012 10:51 AM

I used patch from this link:

http://khaledcse06.wordpress.com/201...-ubuntu-10-04/
http://wpage.unina.it/marcello.caleffi/ns2/tora.html


What should I do to solve this problem?

dehaan21 06-25-2012 10:58 AM

I used patch from this link:

http://wpage.unina.it/marcello.caleffi/ns2/tora.html

http://khaledcse06.wordpress.com/201...-ubuntu-10-04/


what should I do to solve this problem?

dehaan21 06-26-2012 05:07 AM

And I used same patch in your link, but it wasn't solve my TORA....

fralan123 07-10-2012 06:19 PM

Invalid PSDU/MPDU length
 
Hi, i dont think that your problem is the patch. I have the same error using DSR, i've been searching and it seem to be because the length of the packets is too long, de max is 127. You can see the definition at line 197 of file p802_15_4phy.cc.
But i still doesnt know how to fix the problem. Let me know if you found anything.


All times are GMT -5. The time now is 04:02 PM.