A LoRaWAN simulator for 2.4GHz LoRa transceivers (Work in progress!)
- Multiple half-duplex gateways (1 SF, 1 Channel)
- Two receive windows (RX1, RX2) for ACKs and commands
- Non-orthogonal SF transmissions
- Capture effect
- Path-loss signal attenuation model
- Multiple channels
- Collision handling for both uplink+downlink transmissions
- Proper header overhead
- Node energy consumption calculation (uplink+downlink)
- Downlink policies
- Adjustable packet size and rate
- https://metacpan.org/pod/Math::Random
- https://metacpan.org/pod/Term::ProgressBar
- https://metacpan.org/pod/GD::SVG
perl generate_terrain.pl 800 100 1 > terrain.txt
perl LoRaWAN.pl 12 10000 terrain.txt