My original code for grabbing CGM data via an Android device... not pretty!