Applicable Versions | NetSim Standard | NetSim Pro |
For simulation purposes, a quick approach would be to abstract the PHY layer as providing a 'Data rate' for transmissions, coupled with an SNR/BER model at the receiver to decide on packet error.
Let us say we wish to modify the 802.15.4 PHY with OFDM PHY (say for implementing 802.15.4g) then the steps could be -
- Understand and work through the section on How to write your own code in the user manual. Co-relate the code flow with the event trace
- Understand the working of PHY_OUT event in the transmitter and modify the data rate calculation
- Understand the working of PHY_IN event in the receiver and modify the SNR/BER calculations
- 802.11_OFDMPhy.c file has the OFDM PHY codes
Related articles:
how-to-modify-the-zigbee-805-15-4-phy-chip-rate-frequency-and-modulation-in-netsim-