A quick and inefficient implementation of the bisection method in TS.
Capacitor plugin for metawear's swift sdk.