NetSim Internals

Where in the code are the values of GUI parameters initialized in NetSim?
The parameters that are configured in NetSim GUI are written to a Configuration.netsim file when you run the simulation. You will find this file in folder %...
Tue, 3 Apr, 2018 at 9:53 AM
What is the NetSim API to calculate received power between two wireless nodes in WLAN?
Applicable Versions NetSim StandardNetSim Pro Applicable Releases v10.2 GET_RX_POWER_mw(tx, txi, rx, rxi, time) is the API to get the received power(mW)...
Tue, 16 Oct, 2018 at 7:06 PM
What is the API to calculate distance between two wireless nodes?
Applicable Versions NetSim Standard  NetSim Pro Applicable Releases v10.2 DEVICE_DISTANCE(d1,d2) is the API to get the distance between any 2 devices...
Wed, 17 Oct, 2018 at 12:42 PM
What are the different PHY rates in 802.11b?
The PHY Data rate is the number of bits that are processed per unit of time. This rate is different for control and data packets.  For example:     802...
Fri, 29 Sep, 2017 at 2:27 PM
How do I start doing research using NetSim?
To start off on NetSim please see - a. User manual & experiment manual is available under NetSim Help. You can look at the introductory sections fol...
Sat, 18 Aug, 2018 at 9:27 AM
Where exactly in the code is packet encryption done?
The Application project contains an Application.c file where, fn_NetSim_Application_Run() - In case APPLICATION_OUT_EVENT a call to the function fn_NetSim...
Fri, 13 Jul, 2018 at 6:02 PM
How to read the payload from a file in the application layer?
Follow the steps below to read the payload from a file in app layer: STEP 1: Open copy_payload() function present in Application.c file inside Applicati...
Fri, 20 Apr, 2018 at 4:58 PM
How do I trace the flow of function calls in NetSim source codes?
NetSim source codes come along with a solution file (NetSim.sln) using which the codes can be quickly loaded in Visual Studio IDE.  The flow of function...
Sat, 16 Dec, 2017 at 10:49 AM
How do I enable the TCP log file which print everything related to working of TCP?
The TCP Log file is usually a very large file and hence is disabled by default in NetSim. To enable logging, go to TCP.c inside the TCP project and chan...
Thu, 28 Dec, 2017 at 5:09 PM
How to let my protocol changes affect certain devices only?
Whenever user makes modifications to the underlying protocol source codes in NetSim and links it with the tool, it may affect: All simulations involving t...
Thu, 5 Jul, 2018 at 9:55 PM