ioPAC RTU Controllers
C/C++ Sample Code Programming Guide
|
Retrieve GPS information Sample More...
Functions | |
int | main (int argc, char **const argv) |
Retrieve GPS information Sample
Introduction: This sample code shows how to retrieve GPS information by MOXA GPS API. Example: 1. Execute the sample code with default settings: ./gps_info 2. Execute the sample code with GPS active antenna: ./gps_info -a Default: Use passive antenna, if you are using an active antenna, please use -a parameter. Help:
root@Moxa:/home#./gps_info -h GPS information Usage: ./gps_info [OPTIONS] Options: -a Use active antenna.
Library:
GPS APIs
int main | ( | int | argc, |
char **const | argv | ||
) |