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 %...
Mon, 18 Jan, 2021 at 1:03 PM
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 v11 v12 DEVICE_DISTANCE(d1,d2) is the API to get the distance bet...
Sat, 13 Feb, 2021 at 5:50 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...
Mon, 18 Jan, 2021 at 12:59 PM
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 handle_ap...
Mon, 18 Jan, 2021 at 12:55 PM
How to read the payload from a file in the application layer?
Applicable Versions NetSim Standard NetSim Pro The payload of the packet is added in the application layer while generating the packet. NetSim adds its ...
Fri, 4 Feb, 2022 at 10:59 AM
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...
Mon, 18 Jan, 2021 at 12:46 PM
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...
Mon, 18 Jan, 2021 at 12:39 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