
Figure 1:
IoT and Gateway System Model Used in the Proposed research

Figure 2
Proposed Block framework for the Fog - IoT Health care Devices
Table 1:
Hardware Specifications used in the IoT layers
| Sl.No | Hardware Details | Description |
|---|---|---|
| 1 | Number of Sensors in each sensors | 05 |
| 2 | Number of IoT test beds used | 05 |
| 3 | Temperature sensors | 05 |
| 4 | Blood pressure sensor | 05 |
| 5 | Communication used | WIFI |
| 6 | Analog-to-Digital Convertor | 10-bit MCP3008 ADC |
Table 2:
Different RSSI parameters obtained Experimentally in the IoT devices
| Sl.no | RSSI (dbm) | Distance between the IoT devices and Gateways (meters) |
|---|---|---|
| 1 | -95 to -83 | 5 |
| 2 | -87 to -77 | 4 |
| 3 | -78 to -71 | 2.5 |
| Steps | Algorithm-1 // Pseudo-Code for the DAPA in Fog layers |
|---|---|
| 1 | Input : RSSI, Distance Measurements |
| 2 | Output : Distributed Fogs |
| 3 | Start : |
| 3 | Measure the RSSI and Distance using Equation(1) and (2) |
| 4 | If (RSSI > Threshold (By thumb Rule) && Distance< Thersold) |
| 5 | Shortest Distance detected |
| 6 | Distribute the Fogs near the IoT Nodes |
| 7 | End |

Figure 3:
a) Hardware Test Bed with NodeMCU as IoT board with the Raspberry Pi Model B+ as Fog Gateways b) & c) Cloud data stored in the ThingSpeak from Fog gateways

Figure 4:
a) Mobile Application developed for monitoring the IoT sensor values b) Mobile App developed for RSSI Measurement to deploy the DAPA model.

Figure 5:
Latency Analysis for the Different models deployed for the experimentation process(For N=number of IoT nodes interfaced with the medical sensors)

Figure 6:
Latency Analysis for the Different models deployed for Different size of data transmission

Figure 7:
Latency Analysis for the Different models deployed for Different size of data transmission

Figure 8:
Latency Analysis for the Different models deployed for Different size of data transmission

Figure 9:
Latency Analysis for the Different models deployed for Different size of data transmission

Figure 10:
Throughput Assessment of the Distinct methods in transmitting the medical data sensors