Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleResponse example on a query getgsm
<gps enable="1" timesync="1" state="normal" status="Data last time update: 2019.02.12 09:36:10 GMT" pos="34°19.52245'N 19°28.959625'E-24.65752792 19.64911652"/>


Description of the xml nodes:

  • gps - GPS service settings and status;
    • enable - enable the GPS service (0 / 1);
    • timesync - enable system time synchronization (0 / 1);
    • state - valid GPS data available (alarm / normal);
    • status - status string;
    • pos - GPS positioning string for latitude and longitude, in degrees.

If there is no modem in the system, or does not support GPS, or while the modem is not running in the system, the answer will be:

...