The investigators designed the system in type 2 diabetic patients treated with long acting insulin to produce an automatic adjustment of insulin dose based on real time glucose level data and to provide to the patients the needed insulin dose by using a short message service (SMS) and apply to the clinical practice.