The central base station gathers the values from the environmental sensors as well and then relays the data to the layer 2 as mentioned in the architecture in Section II. Hence, the Central Base Station acts as a gateway for the system between layer 1 and layer 2 of the architecture. The use of the central base station can be made cost effective and mobile if a smart device is used as the gateway being carried at all times by the patient. The metadata of sensors sent from the base station to the cloud storage is in the form of eXtensible Markup Language (XML) which facilitates sharing of SenML data. The smart device can be also used for local processing of data to analyze the health condition of the patient. The communications in this system is depicted in Fig. 2.