Add a general API call for  and  modes.
Add a general API call for  and  modes.

Greennav/greennav,jrios6/GreenNav,tom3012/GreenNav,hnrqer/GreenNav,hnrqer/GreenNav,tom3012/GreenNav,Greennav/greennav,jrios6/GreenNav,Greennav/greennav