### Telemedicine  
In the scientific literature, some approaches that ease the management of some illnesses by taking advantage of the possibilities of ICT can be found, especially those that need permanent monitoring, as is the case in DM1. A body area network (BAN) is a wireless network of wearable computing devices that are widely used in remote monitoring in telemedicine. A BAN represents all of the applications and communications on, in and near the body, so it is a necessary approach to be taken into account in telemedicine. One of the most attractive applications to use BANs is the monitoring of physiological signals from patients in the medical environment. On the other hand, a wireless body-area network (WBAN) is a special purpose wireless-sensor network that incorporates different networks and wireless devices to enable remote monitoring for various environments. The idea of a BAN is introduced in [13], focusing on epilepsy sufferers. Via a 24-h monitoring method, the system aims to notify the person of the possibility of an epileptic attack. In this way, such paper could suggest, in a DM1 context, the need to predict glucose evolution and alert not only the patient but also health professionals via the Internet or mobile phone in case of emergency. However, this proposal could be completed with a proper information-exchange platform, as also occurs in [14]. When using a BAN, we need a device that is able to play the role of a Body Gateway and a Network Hub. This device is easily identified with a smartphone. The possibilities of this device in diabetes management have already been pointed out initially in [15]. In this work, some data on food and insulin--along with location and activity--are registered in the phone so that glucose patterns can be identified and advice about insulin doses can be offered by the smartphone. However, nowadays, technology makes it easy to wear more precise biometric sensors to successfully connect all of them and to obtain a good comprehension. However, a smartphone can help not only being a simple gateway but also it can further be considered a tool to manage information. A review of how new applications designed for smartphones can help in diabetes management is presented in [16]. In this work, we can see that so far, applications are limited and focus on some specific part of the management (tracking physical activity, glycemia control, etc. ), but there is no complete perspective of the problem. On the other hand, currently, it is not possible to think about an approach to an artificial pancreas without considering a CGM device. This mechanism has led to a revolution in diabetes care [17], since it can provide the magnitude, tendency, frequency, and duration of the fluctuations of the glucose levels in diabetic patients. When compared with conventional glucose monitoring (fingerstick, capillary blood glucose monitoring), which can provide between three and ten measures of glucose per day, CGM can deliver up to one measure per minute (1440 data per day). Therefore, this is a sample frequency which is sufficient to be the input of a control system, although [PERSON] et al. [18] indicate that CGM still bears some limitations, such as transient loss of sensitivity and random noise. The novelties in this area are continuously arising. In 2014 the release of the flash glucose monitoring system Freestyle Libre, Abbott Laboratories, involved somehow a revolution due to its accuracy and affordability [19]. The possibilities of these devices, with regard to connectivity, are still growing. Regarding the problem of the management of information, a promising work related to diabetes management is reported in [20], where a healthcare platform for type 2 diabetes is presented, also using smartphones. In this proposal, different information is collected, such as physical activity, heart rate, or amount of food. It is able to show activity goals, activity states, and dietary records.