mavproxy api module approximately works, now adding missing functions