Required Help for netwrok simulator

11 years ago
  •  vasim vohra

hello,

 

can you provide more detailed document for the ZBOSS network simulator. how to use?? how to install ??? and what are the minimum requirements to run Network Simulator with the help of example how to use the same.

 

thank you.

 

Replies (3)

RE: Required Help for netwrok simulator

Sorry, but we don't have any other manual, except distributed with ns packets one. But we can help you with your tests.

 

First of all your "etags error" says that you don't have Emacs installed. We use etags for code navigation, so they're built with the debug configuration of the stack. You can install Emacs or edit Makefile not to build etags. Hope now, you'll be able to build the stack successfully.

 

After having built, examine test which requires more than two devices (zdo_mgmt_joining_time_duration with zc, zr & zed for example).

 

Second, if working with ZBOSS_ns_bin packet, could you please provide us with the results of addind zed to script? (any errors, logs, etc.) In addition, it will be very helpful for both of us, if you could send the script itself (with zed included).

 

RE: Required Help for netwrok simulator

hello sir,

 

thank you for reply. i have tried to build the source code form the source ZBOSS_V1.0_src.

 

where i found i file README.build, and i am able to execute all the commands given in that file .

 

Short build instructions:

 

a) Linux

 

ln -s build-configurations/Platform-linux Platform

 

ln -s build-configurations/Options-linux-debug Options

 

make rebuild

 

make tags

 

b) 8051 using SDCC

 

ln -s build-configurations/Platform-8051 Platform

 

ln -s build-configurations/Options-8051-sim-debug Options

 

make rebuild

 

make tags

 

Call doxygen from the root to generate documentation.

 

c) Linux/ARM

 

ln -s build-configurations/Platform-linux-arm Platform

 

ln -s build-configurations/Options-linux-arm-debug Options

 

but when i execute make tags it give follwing massage

 

(find . -name \*.[ch] -print) | grep -v ".*~" | etags -

 

/bin/sh: 1: etags: not found

 

make: *** [tags] Error 127

 

from another source ZBOSS_ns_bin/examples. i am able to run run.sh file and it generates log files and dump file respectively. and it runs for ZC and ZR but i was not able to add ZE successfully to run.sh

 

it would be very useful to me if you can provide any detailed document with step by step installation as well as use of the same with list of dependencies.

 

thank you for your support.

 

regards

 

vasim vohra

 

RE: Required Help for netwrok simulator

Hello,

 

To start with download ZBOSS stack sources and compile with Options = Options-linux-debug and Platform = Platform-linux.

 

Network Simulator is included in the build and will be compiled too.

 

Now the example of how-to use it is located in every stack test (for example zdo_startup) in test launcher script (run.sh).

 

Please, try it and if you'll still have any questions let us know.