Draft out a simple and reliable network protocol for the IoT hub and IoT devices to connect and communicate.
Ideas:
- Using default UDP ports and broadcasting for LAN IP Address discovery
- Look at simple discovery LAN protocols online. Don't over-engineer.
E.g. a sensor node has 2 states:
- Not connected. Broadcasts until a IoT "claims" it.
- Connected. Sends stream of sensor data to IoT hub.