Figure 2: Fog architecture of a smart IoT gateway.