NetPP is a simulation of a wireless sensor network which makes use of the IEEE stack recommended for IoT, from bottom to top: wireless IEEE 802.15.4, 6LowPAN, IPv6 with RPL routing, UDP and CoAP.
This project:
* was developed for the Advanced Networks and Wireless Systems exam (Networking++ for friends)
NetPP is a company which organizes public events and exhibitions, which installs a sensor (_oracle_) for each stand in order to keep track of people's flow.
* Formal requirements:
* network must be fully operational in less than 70 minutes, which is an estimation of the time needed to mount all the stands for small daily exhibition
* nodes run on battery and must use as less energy as possible, in order to make it possible to reuse them for multiple events
* Other requirements:
* RPL must use objective function 0, ie find the nearest grounded root
* Sensor messages must be RFC8428 (SenML) compliant
* a CoAP proxy must be developed in Java using the Eclipse Californium CoAP library (_proxy_)
In order to satisfy the formal requirements, studies from [this paper](#tricklef) have been taken in account, thus smallest possible value for _k_ and highest possible value for _I<sub>min</sub>_ have been chosen, and in particular these have been exploited:
* k = 1
* I<sub>min</sub> = 2<sup>11</sup> (ms)
30 independent [simulations](#simulation) have been run, and all of them let the first network DODAG form in less than 20 minutes.