## 4 Performance Analysis of QoS Metrics
### Evaluation of PDR for the Transmission Power Level (\(P_{\text{Trans}}\)) and Energy Consumption
#### 4.1.2 Energy Consumption and Network Life at Different P\({}_{\text{Trans}}\) Levels
Thus, the duration of the first idle time (before receiving the beacon broadcast) as depicted by annotation 1 (first one before annotation 2) of Figure 6b may vary randomly. To normalize this effect for each of the instances, a mean of 20 readings is taken into consideration. Figure 7 shows that the current consumption during transmitting, and reception of a packet is highest for \(\mathrm{P_{Trans}}\) level of 5 dBm, which is followed by 3 dBm, and the current consumption with a transmission power of 1 dBm is the lowest. Moreover, it is evident from Figure 7 that the difference of the current consumption with different transmission power levels mostly differs in transmit and reception mode. The current consumption during radio standby time, idle time, and sleep time is almost the same for all the \(\mathrm{P_{Trans}}\) levels. Moreover, with AES encryption the current consumption during transmits and reception is slightly higher than that of unencrypted data due to the higher time and resource requirement of the encryption procedure. The exact current and energy consumption during each stage of the data reception for all the \(\mathrm{P_{trans}}\) levels and both encrypted and unencrypted communication are depicted in Tables 5 and 6, respectively. The mean of the 20 readings is taken into consideration for the data collection. \begin{table}
\begin{tabular}{c c c} \hline \hline
**Annotation of** & **Stages of Data** & **Brief Explanation** \\
**Figure 6b** & **Transmission/Reception** & **Brief Explanation** \\ \hline \hline
1 & Idle time (\(\mathrm{T_{idle}}\)) & Node is active, but the radio is not active. The nodes tend to stay in idle mode to save energy. \\ \hline
2 & Data reception time (\(\mathrm{T_{rx}}\)) & Reception of the beacon message broadcasted from a coordinator. \\ \hline
3 & Radio standby time (\(\mathrm{T_{sb}}\)) & Radio stays in standby mode before sending a data request to a coordinator or any sender as it waits for backoff time and performs CCA. \\ \hline
4 & Data transmit time (\(\mathrm{T_{tx}}\)) & End node sends the data request to the coordinator/sender \\ \hline
5 & Data reception time (\(\mathrm{T_{rx}}\)) & End node receives the ACK of the data request and goes to receiving mode and waits until data transmission is over \\ \hline
6 & Data transmit time (\(\mathrm{T_{rx}}\)) & ACK is sent upon successful reception of the packet. \\ \hline
7 & Sleep Time (\(\mathrm{T_{sleep}}\)) & End node remains in the sleep mode before and after the reception of the data packet as defined by the experiment configuration \\ \hline \hline \end{tabular}
\end{table} 
Table 4: Data reception stages of an end device. \begin{table}
\begin{tabular}{c c c c c c c c c c c c} \hline \hline \multirow{3}{*}{**Annotation of Figure 6b**} & \multirow{3}{*}{ \begin{tabular}{c} **Sages of** \\ **data Transil** \\ **transitional** \\ \end{tabular}  } & \multicolumn{3}{c}{**1 dBm**} & \multicolumn{3}{c}{**3 dBm**} & \multicolumn{3}{c}{**5 dBm**} \\ \cline{2-10}  & & **Acvage Current** & **Energy Consumption** & **sumption** & **Duration** & **Average Current** & **Energy Consumption** & **sumption** & **Duration** & **Average Current** & **Energy Consumption** \\ \cline{2-10}  & **Location** & **(ms)** & **(mÅ)** & **(μ)** & **(ms)** & **(mÅ)** & **(μ)** & **(mÅ)** & **(μ)** & **(μ)** & **(μ)** & **(μ)** & **(μ)** \\ \hline \hline \multirow{2}{*}{1} & \multirow{2}{*}{ \begin{tabular}{c} **Lide time** \\ **(T\({}_{\text{side}}\)) \\ **(T\({}_{\text{side}}\))** \\ \end{tabular}  } & \multirow{2}{*}{ \begin{tabular}{c} **Duration** \\ **(ms)** \\ \end{tabular}  } & \multirow{2}{*}{ \begin{tabular}{c} **Avage Current** \\ **sumption** \\ **(μ)** \\ \end{tabular}  } & \multirow{2}{*}{ \begin{tabular}{c} **Duration** \\ **(ms)** \\ \end{tabular}  } & \multirow{2}{*}{ \begin{tabular}{c} **Average Current** \\ **sumption** \\ **(μ)** \\ \end{tabular}  } & \multirow{2}{*}{ \begin{tabular}{c} **Energy Consumption** \\ **(μ)** \\ \end{tabular}  } & \multirow{2}{*}{ \begin{tabular}{c} **Duration** \\ **(μ)** \\ \end{tabular}