Applicable Versions
NetSim Academic
NetSim Standard
NetSim Pro


Note: In Netsim v12.1 and higher versions, Transmit Power and all other parameters associated with the Physical layer are local in nature, hence, different transmit power can be set to different sensors directly through Netsim GUI.


Applicable Releases
v11v12.0


The transmit power parameter that is part of the sensor's physical layer settings is a global parameter. This means that modification done in one sensor will automatically be applied to all the sensors in the network.
However, if you want to set a different transmit power for specific sensor nodes, you can edit the configuration file.


Follow the steps given below to access and edit the Configuration file:


1. Right click on the saved experiment in the Open Simulation list and select open folder.
2. Right click on the file Configuration.netsim that is present in the saved folder and select Open with-> Visual Studio to load the configuration file in Visual Studio
4. Transmit power parameter can be modified for individual devices as highlighted below for one of the nodes (node 4):


<DEVICE DEFAULT_DEVICE_NAME="Sensor" DEVICE_ID="4" DEVICE_IMAGE="malicious_sensor.png" DEVICE_NAME="Wireless_Sensor_4" DEVICE_TYPE="IOT_Sensors" INTERFACE_COUNT="1" TYPE="SENSOR" WIRESHARK_OPTION="Disable">
<POS_3D X_OR_LON="258.04" Y_OR_LAT="139.2" Z="0">
<MOBILITY MODEL="NO_MOBILITY"/>
</POS_3D>
<INTERFACE ID="1" INTERFACE_TYPE="ZIGBEE">
<LAYER TYPE="NETWORK_LAYER">
<NETWORK_PROTOCOL NAME="IPV6" SETPROPERTY="TRUE">
<PROTOCOL_PROPERTY DEFAULT_GATEWAY="fdec:3017:e256:9bb8:1fe7:ae0d:ab9b:b5b5" IP_ADDRESS="fdec:3017:e256:9bb8:1fe7:bdd2:e897:a70d" PREFIX_LENGTH="48"/>
</NETWORK_PROTOCOL>
</LAYER>
<LAYER TYPE="DATALINK_LAYER">
<PROTOCOL NAME="IEEE802.15.4" SETPROPERTY="TRUE">
<PROTOCOL_PROPERTY ACK_REQUEST="Disable" MAC_ADDRESS="AF1D00000401" MAX_BE="5" MAX_CSMA_BACKOFF="4" MAX_FRAME_RETRIES="3" MIN_BE="3" MIN_CAP_LENGTH_SYMBOLS="440" UNIT_BACKOFF_PERIOD_SYMBOLS="20"/>
</PROTOCOL>
</LAYER>
<LAYER TYPE="PHYSICAL_LAYER">
<PROTOCOL NAME="IEEE802.15.4" SETPROPERTY="TRUE">
<PROTOCOL_PROPERTY ANTENNA_GAIN="0" ANTENNA_HEIGHT="1" CCA_MODE="CARRIER_SENSE_ONLY" CHIPRATE_MCPS="2000" CONNECTION_MEDIUM="WIRELESS" D0="8" DATARATE_KBPS="250" EDTHRESHOLD_DBM="-95" FREQUENCYBAND_MHZ="2400" MIN_LIFS_PERIOD_SYMBOLS="40" MIN_SIFS_PERIOD_SYMBOLS="12" MODULATION_TECHNIQUE="O-QPSK" PHY_SHRDURATION="3" PHY_SYMBOLPEROCTET="0.4" RECEIVER_SENSITIVITY_DBM="-85" SYMBOLRATE_KSYMBOLSPS="62.5" TURNAROUNDTIME_SYMBOLS="12" TX_POWER="10" UNIT_BACKOFFTIME_SYMBOLS="20">
<POWER ENERGY_HARVESTING="On" IDLEMODE_CURRENT_MA="3.3" INITIAL_ENERGY="0.5" RECEIVING_CURRENT_MA="9.6" RECHARGING_CURRENT_MA="0.4" SLEEPMODE_CURRENT_MA="0.237" SOURCE="Battery" TRANSMITTING_CURRENT_MA="8.8" VOLTAGE_V="3.6"/>
</PROTOCOL_PROPERTY>
</PROTOCOL>
</LAYER>
</INTERFACE>

5. After making changes save and close the configuration file.
6. Reopen the network scenario in NetSim and go to the device properties to confirm the modification done.