Hello ns- users:
I'm making a new protocol. In order to know how I can do it, I make the same 
ping protocol but  with other name. I create a new folder in ns folder. 
Inside I create two files (zigbee.h and zigbee.cc) with the content of the 
ping files. Then I modify the follow files: packet.h , ns-packet.tcl , 
ns-default.tcl , ns-lib.tcl and Makefile. Later I do 'make'. The problem is 
that when I run anyone tcl example that not use this new protocol, I obtain 
the error  :

/ns-allinone-2.29/ns-2.29/tcl/ex/wpan $ ns demo1.tcl
ns:
[code omitted because of length]
: invalid command name "Agent/zigbee"
    while executing
"Agent/zigbee set packetSize_ 64"

I don't understand it.
Please, help me. Thank very much.

_________________________________________________________________
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/

Reply via email to