The java side of MicLoc Teensy