The Diabetes Assistant (DiAs), which became the first portable artificial pancreas (AP). This configuration has been used in several closed-loop control studies: a smartphone using a modified Android operating system, locked to meet medical device requirements, runs the control algorithm, the graphical user interface, and the wireless communications with a continuous glucose monitor (Dexcom G4), an insulin pump (Roche Accu-Chek), and with a remote server (through WiFi or cellular network) that provides real-time monitoring capabilities, analytics, and database support.