so, you can download speedicts app for free which does already what you want to do. now, i assume the output from their adapter is very different being that speedict uses a different device to measure this information. however, should be very helpful at getting your info and possibly gui build...